[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] 42d00fcf7d638d018593aa60456129bb51aea53a [INFO] checking compiler-errors/adelaide against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compiler-errors/adelaide on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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-4/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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] Downloading crates ... [INFO] [stderr] Downloaded salsa-macros v0.15.2 [INFO] [stderr] Downloaded salsa v0.15.2 [INFO] [stderr] Downloaded calm_io v0.1.1 [INFO] [stderr] Downloaded calmio_filters v0.1.0 [INFO] [stderr] Downloaded proc v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff7aa87bbeac926fb316bc23fdd0aa494b2a20f7df4e8e80e7f2b4cef22f8692 [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" "ff7aa87bbeac926fb316bc23fdd0aa494b2a20f7df4e8e80e7f2b4cef22f8692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff7aa87bbeac926fb316bc23fdd0aa494b2a20f7df4e8e80e7f2b4cef22f8692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7aa87bbeac926fb316bc23fdd0aa494b2a20f7df4e8e80e7f2b4cef22f8692", kill_on_drop: false }` [INFO] [stdout] ff7aa87bbeac926fb316bc23fdd0aa494b2a20f7df4e8e80e7f2b4cef22f8692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d80279c2410df39ec01aa164624c6745c567e0ae040b786c5446c0c831ffad8 [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" "8d80279c2410df39ec01aa164624c6745c567e0ae040b786c5446c0c831ffad8", 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 syn v1.0.57 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking proc v0.1.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking ena v0.13.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling salsa-macros v0.15.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling calmio_filters v0.1.0 [INFO] [stderr] Checking calm_io v0.1.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking salsa v0.15.2 [INFO] [stderr] Compiling serde v1.0.118 [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:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | #[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:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | #[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:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/expr.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | #[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/expr.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | #[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:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | #[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:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | #[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:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[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:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[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:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | #[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:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, 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:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, 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:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Clone, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | #[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:412:51 [INFO] [stdout] | [INFO] [stdout] 412 | #[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:420:51 [INFO] [stdout] | [INFO] [stdout] 420 | #[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:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | #[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:427:46 [INFO] [stdout] | [INFO] [stdout] 427 | #[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:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:455:38 [INFO] [stdout] | [INFO] [stdout] 455 | #[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:455:46 [INFO] [stdout] | [INFO] [stdout] 455 | #[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/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 attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/mod.rs:480:38 [INFO] [stdout] | [INFO] [stdout] 480 | #[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:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | #[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:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | #[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:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/expr.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | #[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:508:38 [INFO] [stdout] | [INFO] [stdout] 508 | #[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:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | #[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:508:46 [INFO] [stdout] | [INFO] [stdout] 508 | #[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:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | #[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:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:510:7 [INFO] [stdout] | [INFO] [stdout] 510 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:534:38 [INFO] [stdout] | [INFO] [stdout] 534 | #[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:534:46 [INFO] [stdout] | [INFO] [stdout] 534 | #[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:536:7 [INFO] [stdout] | [INFO] [stdout] 536 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | #[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:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[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:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[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/mod.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | #[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:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:559:46 [INFO] [stdout] | [INFO] [stdout] 559 | #[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:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, 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:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, 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:573:38 [INFO] [stdout] | [INFO] [stdout] 573 | #[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:599:38 [INFO] [stdout] | [INFO] [stdout] 599 | #[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:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Clone, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:599:46 [INFO] [stdout] | [INFO] [stdout] 599 | #[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:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:601:7 [INFO] [stdout] | [INFO] [stdout] 601 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/mod.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | #[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/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:640:51 [INFO] [stdout] | [INFO] [stdout] 640 | #[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:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | #[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:412:51 [INFO] [stdout] | [INFO] [stdout] 412 | #[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:420:51 [INFO] [stdout] | [INFO] [stdout] 420 | #[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:745:38 [INFO] [stdout] | [INFO] [stdout] 745 | #[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:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | #[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:427:46 [INFO] [stdout] | [INFO] [stdout] 427 | #[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:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:989:68 [INFO] [stdout] | [INFO] [stdout] 989 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:998:68 [INFO] [stdout] | [INFO] [stdout] 998 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:455:38 [INFO] [stdout] | [INFO] [stdout] 455 | #[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:455:46 [INFO] [stdout] | [INFO] [stdout] 455 | #[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:1007:68 [INFO] [stdout] | [INFO] [stdout] 1007 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1016:68 [INFO] [stdout] | [INFO] [stdout] 1016 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:480:38 [INFO] [stdout] | [INFO] [stdout] 480 | #[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:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | #[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:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:508:38 [INFO] [stdout] | [INFO] [stdout] 508 | #[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:508:46 [INFO] [stdout] | [INFO] [stdout] 508 | #[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:510:7 [INFO] [stdout] | [INFO] [stdout] 510 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:534:38 [INFO] [stdout] | [INFO] [stdout] 534 | #[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:534:46 [INFO] [stdout] | [INFO] [stdout] 534 | #[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:536:7 [INFO] [stdout] | [INFO] [stdout] 536 | #[plain] [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/lowering/mod.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | #[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:559:46 [INFO] [stdout] | [INFO] [stdout] 559 | #[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:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:573:38 [INFO] [stdout] | [INFO] [stdout] 573 | #[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: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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:599:38 [INFO] [stdout] | [INFO] [stdout] 599 | #[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:599:46 [INFO] [stdout] | [INFO] [stdout] 599 | #[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/lowering/mod.rs:601:7 [INFO] [stdout] | [INFO] [stdout] 601 | #[plain] [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 `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | #[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:640:51 [INFO] [stdout] | [INFO] [stdout] 640 | #[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:745:38 [INFO] [stdout] | [INFO] [stdout] 745 | #[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:989:68 [INFO] [stdout] | [INFO] [stdout] 989 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:998:68 [INFO] [stdout] | [INFO] [stdout] 998 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1007:68 [INFO] [stdout] | [INFO] [stdout] 1007 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [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/lowering/mod.rs:1016:68 [INFO] [stdout] | [INFO] [stdout] 1016 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, 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: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 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 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: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 `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: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 `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 `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: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: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 `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 `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: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 `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: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 `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: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: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 `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:568:38 [INFO] [stdout] | [INFO] [stdout] 568 | #[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: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:568:46 [INFO] [stdout] | [INFO] [stdout] 568 | #[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:585:38 [INFO] [stdout] | [INFO] [stdout] 585 | #[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:585:46 [INFO] [stdout] | [INFO] [stdout] 585 | #[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 `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:630:38 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:630:46 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:639:38 [INFO] [stdout] | [INFO] [stdout] 639 | #[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 `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:639:46 [INFO] [stdout] | [INFO] [stdout] 639 | #[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:568:38 [INFO] [stdout] | [INFO] [stdout] 568 | #[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:645:38 [INFO] [stdout] | [INFO] [stdout] 645 | #[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:568:46 [INFO] [stdout] | [INFO] [stdout] 568 | #[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:1120:38 [INFO] [stdout] | [INFO] [stdout] 1120 | #[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:585:38 [INFO] [stdout] | [INFO] [stdout] 585 | #[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:1166:38 [INFO] [stdout] | [INFO] [stdout] 1166 | #[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:585:46 [INFO] [stdout] | [INFO] [stdout] 585 | #[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:1183:51 [INFO] [stdout] | [INFO] [stdout] 1183 | #[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:1193:38 [INFO] [stdout] | [INFO] [stdout] 1193 | #[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:630:38 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:1193:46 [INFO] [stdout] | [INFO] [stdout] 1193 | #[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:630:46 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:1199:38 [INFO] [stdout] | [INFO] [stdout] 1199 | #[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:1221:38 [INFO] [stdout] | [INFO] [stdout] 1221 | #[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:639:38 [INFO] [stdout] | [INFO] [stdout] 639 | #[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:639:46 [INFO] [stdout] | [INFO] [stdout] 639 | #[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:1221:46 [INFO] [stdout] | [INFO] [stdout] 1221 | #[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:1228:38 [INFO] [stdout] | [INFO] [stdout] 1228 | #[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:645:38 [INFO] [stdout] | [INFO] [stdout] 645 | #[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:1310:38 [INFO] [stdout] | [INFO] [stdout] 1310 | #[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:1120:38 [INFO] [stdout] | [INFO] [stdout] 1120 | #[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/typechecker/facts.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1166:38 [INFO] [stdout] | [INFO] [stdout] 1166 | #[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/typechecker/item.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1183:51 [INFO] [stdout] | [INFO] [stdout] 1183 | #[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/typechecker/ty.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1193:38 [INFO] [stdout] | [INFO] [stdout] 1193 | #[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/typechecker/ty.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1193:46 [INFO] [stdout] | [INFO] [stdout] 1193 | #[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/typechecker/ty.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/mod.rs:362:51 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Debug, Copy, Clone, 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:1199:38 [INFO] [stdout] | [INFO] [stdout] 1199 | #[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:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/util/error.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1221:38 [INFO] [stdout] | [INFO] [stdout] 1221 | #[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:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[message = "This should never happen"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1221:46 [INFO] [stdout] | [INFO] [stdout] 1221 | #[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:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[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:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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 = "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:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[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:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1228:38 [INFO] [stdout] | [INFO] [stdout] 1228 | #[derive(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:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[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:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1310:38 [INFO] [stdout] | [INFO] [stdout] 1310 | #[derive(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:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[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:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/facts.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[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:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/item.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[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:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[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:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[message = "Duplicated definition of {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, PrettyPrint)] [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] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/mod.rs:362:51 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Debug, Copy, Clone, 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:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[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:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[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:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/util/error.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[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/util/error.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Hash, Eq, PartialEq, Diagnostic, PrettyPrint)] [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 = "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: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:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[message = "This should never happen"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[message = "IO Error while reading {child_path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [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 = "IO error while reading children from {path}"] [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 = "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:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[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:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[message = "IO error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[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:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[message = "IO error"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[message = "No such item `{name}` in `{mod_path}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[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:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[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:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[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:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[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:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | #[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 = "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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[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:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[message = "Illegal associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[message = "Illegal `Self` type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[message = "Duplicated item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | #[message = "Cannot implement trait `Concrete`."] [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 = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 212 | #[note = "Trait is automatically implemented for types that are not `Dyn`."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[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:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[message = "No such method `{name}` in trait `{trait_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | #[span = "Trait `{trait_name}` defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[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:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | #[span = "Method called 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] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 229 | #[message = "Impl is an orphan, must be declared in either the trait's module or the type's \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | #[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:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[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:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[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: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 = "The {kind} `{name}` is not a type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | #[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:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[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:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[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:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | #[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:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[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:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[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:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | #[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:275:7 [INFO] [stdout] | [INFO] [stdout] 275 | #[message = "Duplicated trait bound `{name}`"] [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:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | #[span] [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:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | #[message = "Attempted to `allocate` a struct, use the struct literal syntax instead"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[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:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | #[span = "Struct defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | #[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:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | #[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:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[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:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[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: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:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [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 = "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:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | #[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:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | #[span] [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:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[message = "Expected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [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 = "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:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[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 = "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:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | #[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:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[message = "Missing field `{item_name}` in constructor of {parent_kind} `{parent_name}`"] [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 = "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:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[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:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[span] [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 = "{kind} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[span] [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 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:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:342:7 [INFO] [stdout] | [INFO] [stdout] 342 | #[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:346:11 [INFO] [stdout] | [INFO] [stdout] 346 | #[span = "The {kind} are defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[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:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[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:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[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:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | #[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:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | #[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:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:372:7 [INFO] [stdout] | [INFO] [stdout] 372 | #[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:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | #[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:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:378:11 [INFO] [stdout] | [INFO] [stdout] 378 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:382:7 [INFO] [stdout] | [INFO] [stdout] 382 | #[message = "Incorrectly constructing {parent_kind} `{parent_name}`"] [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 = "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:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | #[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:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:390:11 [INFO] [stdout] | [INFO] [stdout] 390 | #[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:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[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:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[message = "Missing trait bound `{bound}`, dynamic type must be fully elaborated"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[message = "Illegal associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[message = "Illegal `Self` type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | #[span = "Add `{bound} = ` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | #[span = "Associated type defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | #[message = "Cannot implement trait `Concrete`."] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[message = "Conflicting solutions:\n\n\n{solution} and\n\n\n{other_solution}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 212 | #[note = "Trait is automatically implemented for types that are not `Dyn`."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | #[message = "No solution for trait {trait_ty} found for {ty}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[message = "No such method `{name}` in trait `{trait_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:415:11 [INFO] [stdout] | [INFO] [stdout] 415 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 417 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | #[span = "Trait `{trait_name}` defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | #[span = "Method called here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:421:7 [INFO] [stdout] | [INFO] [stdout] 421 | #[message = "Cannot determine the type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 229 | #[message = "Impl is an orphan, must be declared in either the trait's module or the type's \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | #[message = "Cannot unify types `{left_ty}` and `{right_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:432:11 [INFO] [stdout] | [INFO] [stdout] 432 | #[span = "`{left_ty}`"] [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] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 434 | #[span = "`{right_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | #[message = "The `await` operator is not allowed outside of an async block"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:438:7 [INFO] [stdout] | [INFO] [stdout] 438 | #[message = "Cannot unify types `{left_trait_ty}` and `{right_trait_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:444:11 [INFO] [stdout] | [INFO] [stdout] 444 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:448:7 [INFO] [stdout] | [INFO] [stdout] 448 | #[message = "Cannot access member `{name}` for type `{ty}`"] [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 = "The {kind} `{name}` is not a type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:456:7 [INFO] [stdout] | [INFO] [stdout] 456 | #[message = "Cannot access member index {idx} for type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | #[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:460:11 [INFO] [stdout] | [INFO] [stdout] 460 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[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:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | #[message = "The {kind} `{name}` is not a trait"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | #[message = "Cannot determine the trait that provides method `{name}` for type `{call_ty}`"] [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 = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:465:7 [INFO] [stdout] | [INFO] [stdout] 465 | #[note = "You can try to elaborate the call type like `<{call_ty} as Trait>::{name}`"] [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 = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:469:11 [INFO] [stdout] | [INFO] [stdout] 469 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | #[message = "The trait `{trait_name}` is not object-safe due to method `{method_name}`"] [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 = "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:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:477:11 [INFO] [stdout] | [INFO] [stdout] 477 | #[span = "This method must be object-safe, try adding `where Self: Concrete`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | #[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:483:7 [INFO] [stdout] | [INFO] [stdout] 483 | #[message = "The trait `{trait_name}` is not object-safe due to its referencing type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[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:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | #[span = "This type is not object-safe"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | #[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:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:493:7 [INFO] [stdout] | [INFO] [stdout] 493 | #[message = "Two `main` functions declared in this program, expected only one"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | #[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:495:11 [INFO] [stdout] | [INFO] [stdout] 495 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[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:497:11 [INFO] [stdout] | [INFO] [stdout] 497 | #[span] [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:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | #[message = "Expected `main` to have signature `fn main() -> ()`"] [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 = "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:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | #[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:503:11 [INFO] [stdout] | [INFO] [stdout] 503 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:507:7 [INFO] [stdout] | [INFO] [stdout] 507 | #[message = "No `main` function declared in this program, expected one"] [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 = "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:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | #[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:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | #[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:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | #[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:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[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:330:11 [INFO] [stdout] | [INFO] [stdout] 330 | #[span = "{kind} 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 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:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:342:7 [INFO] [stdout] | [INFO] [stdout] 342 | #[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:346:11 [INFO] [stdout] | [INFO] [stdout] 346 | #[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:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[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:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | #[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:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | #[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:372:7 [INFO] [stdout] | [INFO] [stdout] 372 | #[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:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | #[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:378:11 [INFO] [stdout] | [INFO] [stdout] 378 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:382:7 [INFO] [stdout] | [INFO] [stdout] 382 | #[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:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | #[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:390:11 [INFO] [stdout] | [INFO] [stdout] 390 | #[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:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[message = "Missing trait bound `{bound}`, dynamic type must be fully elaborated"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | #[span = "Add `{bound} = ` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | #[span = "Associated type defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[message = "Conflicting solutions:\n\n\n{solution} and\n\n\n{other_solution}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | #[message = "No solution for trait {trait_ty} found for {ty}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:415:11 [INFO] [stdout] | [INFO] [stdout] 415 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 417 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:421:7 [INFO] [stdout] | [INFO] [stdout] 421 | #[message = "Cannot determine the type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | #[message = "Cannot unify types `{left_ty}` and `{right_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:432:11 [INFO] [stdout] | [INFO] [stdout] 432 | #[span = "`{left_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 434 | #[span = "`{right_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:438:7 [INFO] [stdout] | [INFO] [stdout] 438 | #[message = "Cannot unify types `{left_trait_ty}` and `{right_trait_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:444:11 [INFO] [stdout] | [INFO] [stdout] 444 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:448:7 [INFO] [stdout] | [INFO] [stdout] 448 | #[message = "Cannot access member `{name}` for type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:456:7 [INFO] [stdout] | [INFO] [stdout] 456 | #[message = "Cannot access member index {idx} for type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:460:11 [INFO] [stdout] | [INFO] [stdout] 460 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | #[message = "Cannot determine the trait that provides method `{name}` for type `{call_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:465:7 [INFO] [stdout] | [INFO] [stdout] 465 | #[note = "You can try to elaborate the call type like `<{call_ty} as Trait>::{name}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:469:11 [INFO] [stdout] | [INFO] [stdout] 469 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | #[message = "The trait `{trait_name}` is not object-safe due to method `{method_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:477:11 [INFO] [stdout] | [INFO] [stdout] 477 | #[span = "This method must be object-safe, try adding `where Self: Concrete`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:483:7 [INFO] [stdout] | [INFO] [stdout] 483 | #[message = "The trait `{trait_name}` is not object-safe due to its referencing type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | #[span = "This type is not object-safe"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:493:7 [INFO] [stdout] | [INFO] [stdout] 493 | #[message = "Two `main` functions declared in this program, expected only one"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:495:11 [INFO] [stdout] | [INFO] [stdout] 495 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:497:11 [INFO] [stdout] | [INFO] [stdout] 497 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | #[message = "Expected `main` to have signature `fn main() -> ()`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:503:11 [INFO] [stdout] | [INFO] [stdout] 503 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:507:7 [INFO] [stdout] | [INFO] [stdout] 507 | #[message = "No `main` function declared in this program, expected one"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[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:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | &err.into_diagnostic(&ctx), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `AError` [INFO] [stdout] | [INFO] [stdout] ::: src/util/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | 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:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_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:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | 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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | 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:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | 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 `into_diagnostic` found for enum `AError` in the current scope [INFO] [stdout] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | &err.into_diagnostic(&ctx), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `AError` [INFO] [stdout] | [INFO] [stdout] ::: src/util/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | 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:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_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:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | 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:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | 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:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | 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 `intern` found for enum `TType` in the current scope [INFO] [stdout] --> src/ctx.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | ty.clone().intern(ctx) [INFO] [stdout] | ^^^^^^ method not found in `TType` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `TType: Intern` [INFO] [stdout] | doesn't satisfy `TType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TType: Lookup` [INFO] [stdout] which is required by `TType: Intern` [INFO] [stdout] `&TType: Lookup` [INFO] [stdout] which is required by `&TType: Intern` [INFO] [stdout] `&mut TType: Lookup` [INFO] [stdout] which is required by `&mut TType: Intern` [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:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | file_id.lookup(ctx).children.values().copied().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:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | .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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | id.lookup(self).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] ::: 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:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | id.lookup(self).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] ::: 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 enum `TType` in the current scope [INFO] [stdout] --> src/ctx.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | ty.clone().intern(ctx) [INFO] [stdout] | ^^^^^^ method not found in `TType` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `TType: Intern` [INFO] [stdout] | doesn't satisfy `TType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TType: Lookup` [INFO] [stdout] which is required by `TType: Intern` [INFO] [stdout] `&TType: Lookup` [INFO] [stdout] which is required by `&TType: Intern` [INFO] [stdout] `&mut TType: Lookup` [INFO] [stdout] which is required by `&mut TType: 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: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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | file_id.lookup(ctx).children.values().copied().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 `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/ctx.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | .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 `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/ctx.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | id.lookup(self).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] ::: 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/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] --> src/ctx.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | id.lookup(self).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] ::: 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] | [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:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | for i in &key.lookup(ctx).items { [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | get(ctx, *m, out); [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:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | for i in &key.lookup(ctx).items { [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | get(ctx, *m, out); [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:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | 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:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | 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 `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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 `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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 struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | 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:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | 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:448:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 448 | .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:448:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 448 | .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:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | 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:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | 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:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:473:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 473 | .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:473:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 473 | .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:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | 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:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | 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:501:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 501 | .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:501:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 501 | .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:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | 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:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | 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:527:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 527 | .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:527:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 527 | .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:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | 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:552:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 552 | .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:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | 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:589:25 [INFO] [stdout] | [INFO] [stdout] 589 | 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:552:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 552 | .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:592:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 592 | .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:589:25 [INFO] [stdout] | [INFO] [stdout] 589 | 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:630:25 [INFO] [stdout] | [INFO] [stdout] 630 | 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:633:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 633 | .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:592:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 592 | .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 reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:657:27 [INFO] [stdout] | [INFO] [stdout] 657 | 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:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | 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:669:27 [INFO] [stdout] | [INFO] [stdout] 669 | 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:677:27 [INFO] [stdout] | [INFO] [stdout] 677 | 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:681:27 [INFO] [stdout] | [INFO] [stdout] 681 | 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/mod.rs:630:25 [INFO] [stdout] | [INFO] [stdout] 630 | 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 reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | 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:633:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 633 | .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 reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:657:27 [INFO] [stdout] | [INFO] [stdout] 657 | 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:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | 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:669:27 [INFO] [stdout] | [INFO] [stdout] 669 | 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:677:27 [INFO] [stdout] | [INFO] [stdout] 677 | 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:681:27 [INFO] [stdout] | [INFO] [stdout] 681 | 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/mod.rs:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | 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:727:54 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some(old_span) = bindings.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:730:31 [INFO] [stdout] | [INFO] [stdout] 730 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:731:31 [INFO] [stdout] | [INFO] [stdout] 731 | span: *span, [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:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | 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[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:33 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:40 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.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:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | 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:727:54 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some(old_span) = bindings.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:730:31 [INFO] [stdout] | [INFO] [stdout] 730 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:731:31 [INFO] [stdout] | [INFO] [stdout] 731 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:33 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:40 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.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:773:25 [INFO] [stdout] | [INFO] [stdout] 773 | 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[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:773:25 [INFO] [stdout] | [INFO] [stdout] 773 | 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:774:77 [INFO] [stdout] | [INFO] [stdout] 774 | 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:776:43 [INFO] [stdout] | [INFO] [stdout] 776 | 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:791:38 [INFO] [stdout] | [INFO] [stdout] 791 | 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:802:18 [INFO] [stdout] | [INFO] [stdout] 802 | 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:807:85 [INFO] [stdout] | [INFO] [stdout] 807 | 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:809:51 [INFO] [stdout] | [INFO] [stdout] 809 | 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:824:46 [INFO] [stdout] | [INFO] [stdout] 824 | 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:842:18 [INFO] [stdout] | [INFO] [stdout] 842 | 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:872:19 [INFO] [stdout] | [INFO] [stdout] 872 | 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:875:50 [INFO] [stdout] | [INFO] [stdout] 875 | 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:875:54 [INFO] [stdout] | [INFO] [stdout] 875 | 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:878:31 [INFO] [stdout] | [INFO] [stdout] 878 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:884:30 [INFO] [stdout] | [INFO] [stdout] 884 | 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:884:34 [INFO] [stdout] | [INFO] [stdout] 884 | 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:894:50 [INFO] [stdout] | [INFO] [stdout] 894 | 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:894:57 [INFO] [stdout] | [INFO] [stdout] 894 | 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:897:31 [INFO] [stdout] | [INFO] [stdout] 897 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:898:31 [INFO] [stdout] | [INFO] [stdout] 898 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:903:32 [INFO] [stdout] | [INFO] [stdout] 903 | 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:903:39 [INFO] [stdout] | [INFO] [stdout] 903 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:905:21 [INFO] [stdout] | [INFO] [stdout] 905 | *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:942:22 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] ... [INFO] [stdout] 942 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:955:22 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] ... [INFO] [stdout] 955 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:774:77 [INFO] [stdout] | [INFO] [stdout] 774 | 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:776:43 [INFO] [stdout] | [INFO] [stdout] 776 | 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:791:38 [INFO] [stdout] | [INFO] [stdout] 791 | 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:802:18 [INFO] [stdout] | [INFO] [stdout] 802 | 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:807:85 [INFO] [stdout] | [INFO] [stdout] 807 | 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:809:51 [INFO] [stdout] | [INFO] [stdout] 809 | 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:824:46 [INFO] [stdout] | [INFO] [stdout] 824 | 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:842:18 [INFO] [stdout] | [INFO] [stdout] 842 | 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:872:19 [INFO] [stdout] | [INFO] [stdout] 872 | 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:875:50 [INFO] [stdout] | [INFO] [stdout] 875 | 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:875:54 [INFO] [stdout] | [INFO] [stdout] 875 | 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:878:31 [INFO] [stdout] | [INFO] [stdout] 878 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:884:30 [INFO] [stdout] | [INFO] [stdout] 884 | 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:884:34 [INFO] [stdout] | [INFO] [stdout] 884 | 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:894:50 [INFO] [stdout] | [INFO] [stdout] 894 | 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:894:57 [INFO] [stdout] | [INFO] [stdout] 894 | 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:897:31 [INFO] [stdout] | [INFO] [stdout] 897 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:898:31 [INFO] [stdout] | [INFO] [stdout] 898 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:903:32 [INFO] [stdout] | [INFO] [stdout] 903 | 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:903:39 [INFO] [stdout] | [INFO] [stdout] 903 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:905:21 [INFO] [stdout] | [INFO] [stdout] 905 | *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:942:22 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] ... [INFO] [stdout] 942 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:955:22 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] ... [INFO] [stdout] 955 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:968:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 968 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 981 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:968:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 968 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 981 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [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:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | 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:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | 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 `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:61 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:67 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | vec![self.fresh_infer_ty(*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:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | 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:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | let generics = self.lower_tys(generics, true, 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | ... 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:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | 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:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | 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:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | 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:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | 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/expr.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | ... self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | ... .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 225 | .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[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:232:83 [INFO] [stdout] | [INFO] [stdout] 232 | 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:234:64 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:234:90 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:236:39 [INFO] [stdout] | [INFO] [stdout] 236 | let a = self.lower_ty(*a, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | let n = self.lower_expr(*n)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | let b = self.get_range_bound(*span, e, "Unbounded", vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 256 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | 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:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | 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:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | let b = self.get_range_bound(*span, e, "Inclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:271:45 [INFO] [stdout] | [INFO] [stdout] 271 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | 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:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | 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:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | let b = self.get_range_bound(*span, e, "Exclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | 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:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | 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:296:76 [INFO] [stdout] | [INFO] [stdout] 296 | 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:298:41 [INFO] [stdout] | [INFO] [stdout] 298 | 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:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | 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:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | *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:334:55 [INFO] [stdout] | [INFO] [stdout] 334 | 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:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | 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:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | 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:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | 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:341:45 [INFO] [stdout] | [INFO] [stdout] 341 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:345:45 [INFO] [stdout] | [INFO] [stdout] 345 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:347:49 [INFO] [stdout] | [INFO] [stdout] 347 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:355:45 [INFO] [stdout] | [INFO] [stdout] 355 | 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:356:45 [INFO] [stdout] | [INFO] [stdout] 356 | 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:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | 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:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | 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:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:374:41 [INFO] [stdout] | [INFO] [stdout] 374 | 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:377:41 [INFO] [stdout] | [INFO] [stdout] 377 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:61 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:67 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:395:69 [INFO] [stdout] | [INFO] [stdout] 395 | data: LExpressionData::Literal(LLiteral::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:397:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 397 | .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:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | 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/expr.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | 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:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | 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:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | let generics = self.lower_tys(generics, true, 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:69 [INFO] [stdout] | [INFO] [stdout] 420 | data: LExpressionData::Literal(LLiteral::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:422:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 422 | .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:423:41 [INFO] [stdout] | [INFO] [stdout] 423 | 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:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:429:45 [INFO] [stdout] | [INFO] [stdout] 429 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | *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:438:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 438 | .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:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | *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:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | self.lookup_scoped_item(*span, self.ctx.static_name("self"))? [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:453:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 453 | .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:454:41 [INFO] [stdout] | [INFO] [stdout] 454 | 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/expr.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | 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[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 472 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:475:27 [INFO] [stdout] | [INFO] [stdout] 475 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | 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:476:69 [INFO] [stdout] | [INFO] [stdout] 476 | data: LExpressionData::Literal(LLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | 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/expr.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | ... self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | ... 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:478:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 478 | .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:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | 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:482:27 [INFO] [stdout] | [INFO] [stdout] 482 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:485:45 [INFO] [stdout] | [INFO] [stdout] 485 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | *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:494:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 494 | .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:504:21 [INFO] [stdout] | [INFO] [stdout] 504 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:508:41 [INFO] [stdout] | [INFO] [stdout] 508 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | ... .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:509:43 [INFO] [stdout] | [INFO] [stdout] 509 | 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:514:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 514 | } = &*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[E0599]: no method named `source` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:516:37 [INFO] [stdout] | [INFO] [stdout] 516 | let fn_info = f.source().lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `source` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `source` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:523:41 [INFO] [stdout] | [INFO] [stdout] 523 | ... given_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | 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:534:22 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 534 | .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:538:45 [INFO] [stdout] | [INFO] [stdout] 538 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:540:49 [INFO] [stdout] | [INFO] [stdout] 540 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:549:62 [INFO] [stdout] | [INFO] [stdout] 549 | let (t, trait_ty) = self.lower_elaborated_ty(*t, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:550:41 [INFO] [stdout] | [INFO] [stdout] 550 | let gs = self.lower_tys(gs, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&gs` [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:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | 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:554:39 [INFO] [stdout] | [INFO] [stdout] 554 | let tr = trait_ty.lookup(self.ctx).tr.source(); [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/lowering/ty.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LTraitType { [INFO] [stdout] | --------------------- doesn't satisfy `LTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitType: 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:557:52 [INFO] [stdout] | [INFO] [stdout] 557 | if !shape.methods.contains_key(n) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `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:558:39 [INFO] [stdout] | [INFO] [stdout] 558 | let info = tr.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/expr.rs:562:35 [INFO] [stdout] | [INFO] [stdout] 562 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:563:39 [INFO] [stdout] | [INFO] [stdout] 563 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:570:62 [INFO] [stdout] | [INFO] [stdout] 570 | shape.method_generics_and_parameters[n].0, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:571:39 [INFO] [stdout] | [INFO] [stdout] 571 | shape.methods[n], [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:575:73 [INFO] [stdout] | [INFO] [stdout] 575 | if ps.len() != shape.method_generics_and_parameters[n].1 { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:578:76 [INFO] [stdout] | [INFO] [stdout] 578 | ... expected: shape.method_generics_and_parameters[n].1, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:579:58 [INFO] [stdout] | [INFO] [stdout] 579 | ... expected_span: shape.methods[n], [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:581:41 [INFO] [stdout] | [INFO] [stdout] 581 | ... given_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:589:25 [INFO] [stdout] | [INFO] [stdout] 589 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:592:45 [INFO] [stdout] | [INFO] [stdout] 592 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:602:45 [INFO] [stdout] | [INFO] [stdout] 602 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:608:45 [INFO] [stdout] | [INFO] [stdout] 608 | 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:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:614:21 [INFO] [stdout] | [INFO] [stdout] 614 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:615:36 [INFO] [stdout] | [INFO] [stdout] 615 | self.lower_tys(g, true, 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:617:41 [INFO] [stdout] | [INFO] [stdout] 617 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:621:42 [INFO] [stdout] | [INFO] [stdout] 621 | 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:622:41 [INFO] [stdout] | [INFO] [stdout] 622 | 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:625:41 [INFO] [stdout] | [INFO] [stdout] 625 | self.fresh_infer_ty(*span) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:631:22 [INFO] [stdout] | [INFO] [stdout] 631 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:637:33 [INFO] [stdout] | [INFO] [stdout] 637 | 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:638:33 [INFO] [stdout] | [INFO] [stdout] 638 | 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:639:33 [INFO] [stdout] | [INFO] [stdout] 639 | 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:642:43 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:50 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:54 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:58 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:62 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:42 [INFO] [stdout] | [INFO] [stdout] 644 | 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:644:49 [INFO] [stdout] | [INFO] [stdout] 644 | 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:644:53 [INFO] [stdout] | [INFO] [stdout] 644 | 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:644:57 [INFO] [stdout] | [INFO] [stdout] 644 | 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:644:61 [INFO] [stdout] | [INFO] [stdout] 644 | 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:646:46 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:53 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:57 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:61 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:65 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:69 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:40 [INFO] [stdout] | [INFO] [stdout] 648 | 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:648:47 [INFO] [stdout] | [INFO] [stdout] 648 | 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:648:51 [INFO] [stdout] | [INFO] [stdout] 648 | 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:648:55 [INFO] [stdout] | [INFO] [stdout] 648 | 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:648:60 [INFO] [stdout] | [INFO] [stdout] 648 | 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:648:64 [INFO] [stdout] | [INFO] [stdout] 648 | 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:650:41 [INFO] [stdout] | [INFO] [stdout] 650 | 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:655:48 [INFO] [stdout] | [INFO] [stdout] 655 | 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:656:45 [INFO] [stdout] | [INFO] [stdout] 656 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:663:85 [INFO] [stdout] | [INFO] [stdout] 663 | 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:665:34 [INFO] [stdout] | [INFO] [stdout] 665 | 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:670:39 [INFO] [stdout] | [INFO] [stdout] 670 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:674:44 [INFO] [stdout] | [INFO] [stdout] 674 | let g = self.lower_tys(g, true, 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:676:55 [INFO] [stdout] | [INFO] [stdout] 676 | 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:679:77 [INFO] [stdout] | [INFO] [stdout] 679 | 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 225 | .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[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:232:83 [INFO] [stdout] | [INFO] [stdout] 232 | 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:234:64 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:234:90 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:236:39 [INFO] [stdout] | [INFO] [stdout] 236 | let a = self.lower_ty(*a, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | 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:686:42 [INFO] [stdout] | [INFO] [stdout] 686 | ... 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:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:688:39 [INFO] [stdout] | [INFO] [stdout] 688 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | let a = self.lower_expr(*a)?; [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:693:52 [INFO] [stdout] | [INFO] [stdout] 693 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len(), *span); [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:693:85 [INFO] [stdout] | [INFO] [stdout] 693 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len(), *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:696:75 [INFO] [stdout] | [INFO] [stdout] 696 | 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:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | let b = self.get_range_bound(*span, e, "Unbounded", vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 256 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | 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:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | 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:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | let b = self.get_range_bound(*span, e, "Inclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:711:86 [INFO] [stdout] | [INFO] [stdout] 711 | 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:271:45 [INFO] [stdout] | [INFO] [stdout] 271 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | 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:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | 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:713:34 [INFO] [stdout] | [INFO] [stdout] 713 | 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | let b = self.get_range_bound(*span, e, "Exclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | 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:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | 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:296:76 [INFO] [stdout] | [INFO] [stdout] 296 | 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:298:41 [INFO] [stdout] | [INFO] [stdout] 298 | 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:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | 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:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:715:44 [INFO] [stdout] | [INFO] [stdout] 715 | let g = self.lower_tys(g, true, 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:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:717:55 [INFO] [stdout] | [INFO] [stdout] 717 | 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:719:66 [INFO] [stdout] | [INFO] [stdout] 719 | 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:720:68 [INFO] [stdout] | [INFO] [stdout] 720 | 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:720:76 [INFO] [stdout] | [INFO] [stdout] 720 | 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:722:67 [INFO] [stdout] | [INFO] [stdout] 722 | 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:729:34 [INFO] [stdout] | [INFO] [stdout] 729 | variant: *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:730:35 [INFO] [stdout] | [INFO] [stdout] 730 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:734:74 [INFO] [stdout] | [INFO] [stdout] 734 | 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:740:39 [INFO] [stdout] | [INFO] [stdout] 740 | ... 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:334:55 [INFO] [stdout] | [INFO] [stdout] 334 | 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:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | 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:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | 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:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | 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:341:45 [INFO] [stdout] | [INFO] [stdout] 341 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:345:45 [INFO] [stdout] | [INFO] [stdout] 345 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:347:49 [INFO] [stdout] | [INFO] [stdout] 347 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:355:45 [INFO] [stdout] | [INFO] [stdout] 355 | 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:356:45 [INFO] [stdout] | [INFO] [stdout] 356 | 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | 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:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:374:41 [INFO] [stdout] | [INFO] [stdout] 374 | 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:377:41 [INFO] [stdout] | [INFO] [stdout] 377 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | 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:741:41 [INFO] [stdout] | [INFO] [stdout] 741 | ... def_span: o.lookup(self.ctx).span, [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/expr.rs:745:34 [INFO] [stdout] | [INFO] [stdout] 745 | 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:750:39 [INFO] [stdout] | [INFO] [stdout] 750 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:754:44 [INFO] [stdout] | [INFO] [stdout] 754 | let g = self.lower_tys(g, true, 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:756:55 [INFO] [stdout] | [INFO] [stdout] 756 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:759:77 [INFO] [stdout] | [INFO] [stdout] 759 | 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 `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:395:69 [INFO] [stdout] | [INFO] [stdout] 395 | data: LExpressionData::Literal(LLiteral::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:397:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 397 | .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:770:35 [INFO] [stdout] | [INFO] [stdout] 770 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:778:88 [INFO] [stdout] | [INFO] [stdout] 778 | | ScopeKind::AsyncGenerator => 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:780:62 [INFO] [stdout] | [INFO] [stdout] 780 | 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:784:80 [INFO] [stdout] | [INFO] [stdout] 784 | ScopeKind::Generator => LExpressionData::Yield(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:793:39 [INFO] [stdout] | [INFO] [stdout] 793 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:796:62 [INFO] [stdout] | [INFO] [stdout] 796 | ... vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:798:62 [INFO] [stdout] | [INFO] [stdout] 798 | ... vec![(0, 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:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:801:30 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 801 | .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:807:62 [INFO] [stdout] | [INFO] [stdout] 807 | 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:812:87 [INFO] [stdout] | [INFO] [stdout] 812 | LExpressionData::Call(assert.into(), vec![], vec![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:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:69 [INFO] [stdout] | [INFO] [stdout] 420 | data: LExpressionData::Literal(LLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:819:37 [INFO] [stdout] | [INFO] [stdout] 819 | 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:823:31 [INFO] [stdout] | [INFO] [stdout] 823 | 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:422:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 422 | .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:423:41 [INFO] [stdout] | [INFO] [stdout] 423 | 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:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:429:45 [INFO] [stdout] | [INFO] [stdout] 429 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | *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:826:22 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 826 | .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:829:34 [INFO] [stdout] | [INFO] [stdout] 829 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:835:34 [INFO] [stdout] | [INFO] [stdout] 835 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:843:46 [INFO] [stdout] | [INFO] [stdout] 843 | 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:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | 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:845:39 [INFO] [stdout] | [INFO] [stdout] 845 | let r = self.lower_ty(*r, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:852:20 [INFO] [stdout] | [INFO] [stdout] 852 | if *a { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:864:41 [INFO] [stdout] | [INFO] [stdout] 864 | 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:865:39 [INFO] [stdout] | [INFO] [stdout] 865 | let r = self.lower_ty(*r, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:869:28 [INFO] [stdout] | [INFO] [stdout] 869 | let y = if *a { [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:438:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 438 | .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:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | *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:874:37 [INFO] [stdout] | [INFO] [stdout] 874 | ... span: y.lookup(self.ctx).span, [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:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PType { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PType: 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:876:47 [INFO] [stdout] | [INFO] [stdout] 876 | ... self.lower_ty(*y, true, true)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:879:26 [INFO] [stdout] | [INFO] [stdout] 879 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:884:35 [INFO] [stdout] | [INFO] [stdout] 884 | self.lower_ty(*y, true, true)? [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:453:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 453 | .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:891:67 [INFO] [stdout] | [INFO] [stdout] 891 | 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:891:74 [INFO] [stdout] | [INFO] [stdout] 891 | 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:893:41 [INFO] [stdout] | [INFO] [stdout] 893 | 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:894:41 [INFO] [stdout] | [INFO] [stdout] 894 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:897:41 [INFO] [stdout] | [INFO] [stdout] 897 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:899:45 [INFO] [stdout] | [INFO] [stdout] 899 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:903:21 [INFO] [stdout] | [INFO] [stdout] 903 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:57 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:63 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:70 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:94 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:911:29 [INFO] [stdout] | [INFO] [stdout] 911 | number: *i, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:912:27 [INFO] [stdout] | [INFO] [stdout] 912 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:916:37 [INFO] [stdout] | [INFO] [stdout] 916 | self.lower_expr(*o)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:917:21 [INFO] [stdout] | [INFO] [stdout] 917 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:454:41 [INFO] [stdout] | [INFO] [stdout] 454 | 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/expr.rs:919:41 [INFO] [stdout] | [INFO] [stdout] 919 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:930:39 [INFO] [stdout] | [INFO] [stdout] 930 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 472 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct 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:475:27 [INFO] [stdout] | [INFO] [stdout] 475 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:476:69 [INFO] [stdout] | [INFO] [stdout] 476 | data: LExpressionData::Literal(LLiteral::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:937:30 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 937 | .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:942:46 [INFO] [stdout] | [INFO] [stdout] 942 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:942:53 [INFO] [stdout] | [INFO] [stdout] 942 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:951:39 [INFO] [stdout] | [INFO] [stdout] 951 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:954:62 [INFO] [stdout] | [INFO] [stdout] 954 | ... vec![self.fresh_infer_ty(*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:478:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 478 | .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:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | 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:482:27 [INFO] [stdout] | [INFO] [stdout] 482 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:485:45 [INFO] [stdout] | [INFO] [stdout] 485 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | *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:959:30 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 959 | .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:964:46 [INFO] [stdout] | [INFO] [stdout] 964 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:964:53 [INFO] [stdout] | [INFO] [stdout] 964 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:967:61 [INFO] [stdout] | [INFO] [stdout] 967 | return Err(AError::IllegalAwait { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | 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:494:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 494 | .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:504:21 [INFO] [stdout] | [INFO] [stdout] 504 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:508:41 [INFO] [stdout] | [INFO] [stdout] 508 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:509:43 [INFO] [stdout] | [INFO] [stdout] 509 | 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:977:10 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 977 | .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:514:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 514 | } = &*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[E0599]: no method named `source` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:516:37 [INFO] [stdout] | [INFO] [stdout] 516 | let fn_info = f.source().lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `source` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `source` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:523:41 [INFO] [stdout] | [INFO] [stdout] 523 | ... given_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | 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:1030:39 [INFO] [stdout] | [INFO] [stdout] 1030 | span: call_ty.lookup(self.ctx).span, [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/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: 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:534:22 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 534 | .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:538:45 [INFO] [stdout] | [INFO] [stdout] 538 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:540:49 [INFO] [stdout] | [INFO] [stdout] 540 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:549:62 [INFO] [stdout] | [INFO] [stdout] 549 | let (t, trait_ty) = self.lower_elaborated_ty(*t, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:550:41 [INFO] [stdout] | [INFO] [stdout] 550 | let gs = self.lower_tys(gs, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&gs` [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:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | 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 `intern` found for struct `LTraitType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1034:22 [INFO] [stdout] | [INFO] [stdout] 1034 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LTraitType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | 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[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:554:39 [INFO] [stdout] | [INFO] [stdout] 554 | let tr = trait_ty.lookup(self.ctx).tr.source(); [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/lowering/ty.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LTraitType { [INFO] [stdout] | --------------------- doesn't satisfy `LTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitType: 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:557:52 [INFO] [stdout] | [INFO] [stdout] 557 | if !shape.methods.contains_key(n) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [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:1105:18 [INFO] [stdout] | [INFO] [stdout] 1105 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:558:39 [INFO] [stdout] | [INFO] [stdout] 558 | let info = tr.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 { [WARN] too many lines in the log, truncating it