[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] 19562d89da280026cbb62f5ebf69de5aa4151bba [INFO] checking compiler-errors/adelaide against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compiler-errors/adelaide on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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-6/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salsa-macros v0.15.2 [INFO] [stderr] Downloaded lalrpop v0.18.1 [INFO] [stderr] Downloaded salsa v0.15.2 [INFO] [stderr] Downloaded lalrpop-util v0.18.1 [INFO] [stderr] Downloaded proc v0.1.4 [INFO] [stderr] Downloaded calm_io v0.1.1 [INFO] [stderr] Downloaded calmio_filters v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3078ac1a771b81be1b7af94fa07b6dd2e55a53b95f5d201dda4a27e7c1880841 [INFO] running `Command { std: "docker" "start" "-a" "3078ac1a771b81be1b7af94fa07b6dd2e55a53b95f5d201dda4a27e7c1880841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3078ac1a771b81be1b7af94fa07b6dd2e55a53b95f5d201dda4a27e7c1880841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3078ac1a771b81be1b7af94fa07b6dd2e55a53b95f5d201dda4a27e7c1880841", kill_on_drop: false }` [INFO] [stdout] 3078ac1a771b81be1b7af94fa07b6dd2e55a53b95f5d201dda4a27e7c1880841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a69e8e97f72474382dc559a4a4cbb4c3d0a112578df0ae611bdf4f7e1e2e8398 [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" "a69e8e97f72474382dc559a4a4cbb4c3d0a112578df0ae611bdf4f7e1e2e8398", 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.54 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking proc v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking ena v0.13.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking ascii-canvas v2.0.0 [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 regex v1.4.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 salsa v0.15.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | #[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:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | #[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:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs: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/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/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/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/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/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 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 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/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/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/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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | #[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:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | #[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:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | #[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/expr.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:402:51 [INFO] [stdout] | [INFO] [stdout] 402 | #[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/expr.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:410:51 [INFO] [stdout] | [INFO] [stdout] 410 | #[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:417:38 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:417:46 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:419:7 [INFO] [stdout] | [INFO] [stdout] 419 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs: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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:445:38 [INFO] [stdout] | [INFO] [stdout] 445 | #[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: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:445:46 [INFO] [stdout] | [INFO] [stdout] 445 | #[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:447:7 [INFO] [stdout] | [INFO] [stdout] 447 | #[plain] [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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | #[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:470:46 [INFO] [stdout] | [INFO] [stdout] 470 | #[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:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[plain] [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 `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:498:38 [INFO] [stdout] | [INFO] [stdout] 498 | #[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: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:498:46 [INFO] [stdout] | [INFO] [stdout] 498 | #[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:353:38 [INFO] [stdout] | [INFO] [stdout] 353 | #[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:500:7 [INFO] [stdout] | [INFO] [stdout] 500 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:402:51 [INFO] [stdout] | [INFO] [stdout] 402 | #[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:524:38 [INFO] [stdout] | [INFO] [stdout] 524 | #[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:410:51 [INFO] [stdout] | [INFO] [stdout] 410 | #[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:524:46 [INFO] [stdout] | [INFO] [stdout] 524 | #[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:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:417:38 [INFO] [stdout] | [INFO] [stdout] 417 | #[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:417:46 [INFO] [stdout] | [INFO] [stdout] 417 | #[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:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | #[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:419:7 [INFO] [stdout] | [INFO] [stdout] 419 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | #[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:551:7 [INFO] [stdout] | [INFO] [stdout] 551 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:445:38 [INFO] [stdout] | [INFO] [stdout] 445 | #[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:445:46 [INFO] [stdout] | [INFO] [stdout] 445 | #[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:563:38 [INFO] [stdout] | [INFO] [stdout] 563 | #[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:447:7 [INFO] [stdout] | [INFO] [stdout] 447 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | #[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:589:38 [INFO] [stdout] | [INFO] [stdout] 589 | #[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:470:46 [INFO] [stdout] | [INFO] [stdout] 470 | #[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:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:589:46 [INFO] [stdout] | [INFO] [stdout] 589 | #[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:591:7 [INFO] [stdout] | [INFO] [stdout] 591 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:498:38 [INFO] [stdout] | [INFO] [stdout] 498 | #[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:498:46 [INFO] [stdout] | [INFO] [stdout] 498 | #[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:500:7 [INFO] [stdout] | [INFO] [stdout] 500 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:524:38 [INFO] [stdout] | [INFO] [stdout] 524 | #[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:602:38 [INFO] [stdout] | [INFO] [stdout] 602 | #[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:524:46 [INFO] [stdout] | [INFO] [stdout] 524 | #[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:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | #[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:630:51 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:549:46 [INFO] [stdout] | [INFO] [stdout] 549 | #[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:551:7 [INFO] [stdout] | [INFO] [stdout] 551 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:735:38 [INFO] [stdout] | [INFO] [stdout] 735 | #[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:945:68 [INFO] [stdout] | [INFO] [stdout] 945 | #[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:563:38 [INFO] [stdout] | [INFO] [stdout] 563 | #[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:589:38 [INFO] [stdout] | [INFO] [stdout] 589 | #[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:589:46 [INFO] [stdout] | [INFO] [stdout] 589 | #[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:591:7 [INFO] [stdout] | [INFO] [stdout] 591 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:954:68 [INFO] [stdout] | [INFO] [stdout] 954 | #[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:602:38 [INFO] [stdout] | [INFO] [stdout] 602 | #[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:963:68 [INFO] [stdout] | [INFO] [stdout] 963 | #[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:972:68 [INFO] [stdout] | [INFO] [stdout] 972 | #[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:630:51 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:735:38 [INFO] [stdout] | [INFO] [stdout] 735 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:945:68 [INFO] [stdout] | [INFO] [stdout] 945 | #[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:954:68 [INFO] [stdout] | [INFO] [stdout] 954 | #[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: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/lowering/mod.rs:963:68 [INFO] [stdout] | [INFO] [stdout] 963 | #[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: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/lowering/mod.rs:972:68 [INFO] [stdout] | [INFO] [stdout] 972 | #[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/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/parser/ast.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/parser/ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `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 `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:38 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:38 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:46 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `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 `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:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs: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: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 `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: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: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: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: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: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 `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: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: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:1070:38 [INFO] [stdout] | [INFO] [stdout] 1070 | #[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:1116:38 [INFO] [stdout] | [INFO] [stdout] 1116 | #[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: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:1133:51 [INFO] [stdout] | [INFO] [stdout] 1133 | #[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/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:1143:38 [INFO] [stdout] | [INFO] [stdout] 1143 | #[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:1143:46 [INFO] [stdout] | [INFO] [stdout] 1143 | #[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:1149:38 [INFO] [stdout] | [INFO] [stdout] 1149 | #[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:1171:38 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1171:46 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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:1178:38 [INFO] [stdout] | [INFO] [stdout] 1178 | #[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:1260:38 [INFO] [stdout] | [INFO] [stdout] 1260 | #[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:1070:38 [INFO] [stdout] | [INFO] [stdout] 1070 | #[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:1116:38 [INFO] [stdout] | [INFO] [stdout] 1116 | #[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:436:39 [INFO] [stdout] | [INFO] [stdout] 436 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:1133:51 [INFO] [stdout] | [INFO] [stdout] 1133 | #[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:1143:38 [INFO] [stdout] | [INFO] [stdout] 1143 | #[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:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | #[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/parser/ast.rs:1143:46 [INFO] [stdout] | [INFO] [stdout] 1143 | #[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/mod.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Copy, Clone, 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/parser/ast.rs:1149:38 [INFO] [stdout] | [INFO] [stdout] 1149 | #[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/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:1171:38 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[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:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[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:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[message = "IO error while reading children from {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1171:46 [INFO] [stdout] | [INFO] [stdout] 1171 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[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:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[message = "IO error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1178:38 [INFO] [stdout] | [INFO] [stdout] 1178 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[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:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[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:1260:38 [INFO] [stdout] | [INFO] [stdout] 1260 | #[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:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[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:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[span] [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/typechecker/item.rs:436:39 [INFO] [stdout] | [INFO] [stdout] 436 | #[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:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[span] [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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[message = "Duplicated item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | #[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:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[span = "Named by {what2} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/mod.rs:233:51 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Copy, Clone, 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:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[span] [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 attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[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:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[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 `note` in this scope [INFO] [stdout] --> src/util/error.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[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:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[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:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[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:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[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:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[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:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[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:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[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:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[message = "Broken pipe"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[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:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[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:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[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:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[message = "Lexer error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 138 | #[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:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[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:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[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:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | #[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:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[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:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[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:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[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:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[message = "Illegal infer type `_`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[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: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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[span] [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 associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[span] [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:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[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:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[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:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[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:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[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:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | #[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:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[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:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[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:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[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:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[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:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | #[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:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[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:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[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:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | #[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:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[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: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:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[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:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[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:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[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:238:11 [INFO] [stdout] | [INFO] [stdout] 238 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[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:242:7 [INFO] [stdout] | [INFO] [stdout] 242 | #[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:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | #[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:138:7 [INFO] [stdout] | [INFO] [stdout] 138 | #[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:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | #[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:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | #[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:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | #[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:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[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:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | #[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:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[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:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[message = "No such item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | #[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:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | #[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:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[message = "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:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[message = "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: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:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[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:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[span] [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 `Self` 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 = "No such method `{name}` in trait `{trait_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:271:7 [INFO] [stdout] | [INFO] [stdout] 271 | #[message = "Attempted to `allocate` a struct, use the struct literal syntax instead"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | #[span = "Trait `{trait_name}` defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | #[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:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[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:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[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:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[message = "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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[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:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | #[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:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | #[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:291:7 [INFO] [stdout] | [INFO] [stdout] 291 | #[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: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 = "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:238:11 [INFO] [stdout] | [INFO] [stdout] 238 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:242:7 [INFO] [stdout] | [INFO] [stdout] 242 | #[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:296:11 [INFO] [stdout] | [INFO] [stdout] 296 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | #[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:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | #[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:252:7 [INFO] [stdout] | [INFO] [stdout] 252 | #[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:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | #[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:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | #[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:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[message = "Cannot attach generic types to the bare enum variant \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | #[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:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:305:11 [INFO] [stdout] | [INFO] [stdout] 305 | #[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:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | #[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:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | #[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:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | #[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:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[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:271:7 [INFO] [stdout] | [INFO] [stdout] 271 | #[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:321:7 [INFO] [stdout] | [INFO] [stdout] 321 | #[message = "Cannot parse {kind} `{number}` as a number"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | #[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:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:329:7 [INFO] [stdout] | [INFO] [stdout] 329 | #[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:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | #[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:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[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:340:7 [INFO] [stdout] | [INFO] [stdout] 340 | #[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:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | #[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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:349:7 [INFO] [stdout] | [INFO] [stdout] 349 | #[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:353:11 [INFO] [stdout] | [INFO] [stdout] 353 | #[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:355:11 [INFO] [stdout] | [INFO] [stdout] 355 | #[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:359:7 [INFO] [stdout] | [INFO] [stdout] 359 | #[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:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | #[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:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | #[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:365:11 [INFO] [stdout] | [INFO] [stdout] 365 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:369:7 [INFO] [stdout] | [INFO] [stdout] 369 | #[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:291:7 [INFO] [stdout] | [INFO] [stdout] 291 | #[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:374:11 [INFO] [stdout] | [INFO] [stdout] 374 | #[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:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | #[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:377:11 [INFO] [stdout] | [INFO] [stdout] 377 | #[span = "Given {given_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 296 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[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:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[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:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | #[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:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | #[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:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | #[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 `span` in this scope [INFO] [stdout] --> src/util/error.rs:305:11 [INFO] [stdout] | [INFO] [stdout] 305 | #[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:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | #[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:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[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:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | #[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:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:408:7 [INFO] [stdout] | [INFO] [stdout] 408 | #[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:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | #[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:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[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:321:7 [INFO] [stdout] | [INFO] [stdout] 321 | #[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:325:11 [INFO] [stdout] | [INFO] [stdout] 325 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:329:7 [INFO] [stdout] | [INFO] [stdout] 329 | #[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:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | #[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:415:7 [INFO] [stdout] | [INFO] [stdout] 415 | #[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:419:11 [INFO] [stdout] | [INFO] [stdout] 419 | #[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:421:11 [INFO] [stdout] | [INFO] [stdout] 421 | #[span = "`{right_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | #[message = "Cannot unify types `{left_trait_ty}` and `{right_trait_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:340:7 [INFO] [stdout] | [INFO] [stdout] 340 | #[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:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:349:7 [INFO] [stdout] | [INFO] [stdout] 349 | #[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:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:353:11 [INFO] [stdout] | [INFO] [stdout] 353 | #[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:431:11 [INFO] [stdout] | [INFO] [stdout] 431 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:435:7 [INFO] [stdout] | [INFO] [stdout] 435 | #[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:439:11 [INFO] [stdout] | [INFO] [stdout] 439 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 355 | #[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:359:7 [INFO] [stdout] | [INFO] [stdout] 359 | #[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:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | #[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:365:11 [INFO] [stdout] | [INFO] [stdout] 365 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:443:7 [INFO] [stdout] | [INFO] [stdout] 443 | #[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:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | #[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 `message` in this scope [INFO] [stdout] --> src/util/error.rs:369:7 [INFO] [stdout] | [INFO] [stdout] 369 | #[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:374:11 [INFO] [stdout] | [INFO] [stdout] 374 | #[span = "Expected {expected_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:452:7 [INFO] [stdout] | [INFO] [stdout] 452 | #[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:377:11 [INFO] [stdout] | [INFO] [stdout] 377 | #[span = "Given {given_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:456:11 [INFO] [stdout] | [INFO] [stdout] 456 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[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:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | #[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:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | #[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:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | #[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:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[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:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:408:7 [INFO] [stdout] | [INFO] [stdout] 408 | #[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:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:415:7 [INFO] [stdout] | [INFO] [stdout] 415 | #[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:419:11 [INFO] [stdout] | [INFO] [stdout] 419 | #[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:421:11 [INFO] [stdout] | [INFO] [stdout] 421 | #[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:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | #[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:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:431:11 [INFO] [stdout] | [INFO] [stdout] 431 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:435:7 [INFO] [stdout] | [INFO] [stdout] 435 | #[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:439:11 [INFO] [stdout] | [INFO] [stdout] 439 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:443:7 [INFO] [stdout] | [INFO] [stdout] 443 | #[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:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | #[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:452:7 [INFO] [stdout] | [INFO] [stdout] 452 | #[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:456:11 [INFO] [stdout] | [INFO] [stdout] 456 | #[span] [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 import: `TTraitType` [INFO] [stdout] --> src/typechecker/expr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TTraitType, TType, Typechecker, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericId` [INFO] [stdout] --> src/typechecker/facts.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | lowering::{fresh_id, GenericId, LModule, LTrait}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::once` [INFO] [stdout] --> src/typechecker/item.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TGoal` [INFO] [stdout] --> src/typechecker/item.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | TGoal, Typechecker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryCollectHashMap` [INFO] [stdout] --> src/typechecker/mod.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | util::{AError, AResult, Id, TryCollectBTreeMap, TryCollectHashMap}, [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 import: `TTraitType` [INFO] [stdout] --> src/typechecker/expr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TTraitType, TType, Typechecker, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericId` [INFO] [stdout] --> src/typechecker/facts.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | lowering::{fresh_id, GenericId, LModule, LTrait}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::once` [INFO] [stdout] --> src/typechecker/item.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TGoal` [INFO] [stdout] --> src/typechecker/item.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | TGoal, Typechecker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryCollectHashMap` [INFO] [stdout] --> src/typechecker/mod.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | util::{AError, AResult, Id, TryCollectBTreeMap, TryCollectHashMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | &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:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | 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:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | 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:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | 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:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | 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:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | stdoutln!("{:#?}", Pretty(l, ctx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_diagnostic` found for enum `AError` in the current scope [INFO] [stdout] --> src/main.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | &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:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | 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:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | 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:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | 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:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | 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:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | 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:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | 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 `intern` found for enum `TType` in the current scope [INFO] [stdout] --> src/ctx.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | ty.clone().intern(ctx) [INFO] [stdout] | ^^^^^^ method not found in `TType` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | 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:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | 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 enum `TType` in the current scope [INFO] [stdout] --> src/ctx.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | ty.clone().intern(ctx) [INFO] [stdout] | ^^^^^^ method not found in `TType` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | 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:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | 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:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | .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:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | .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:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | 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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | 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 `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 46 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `AFile` in the current scope [INFO] [stdout] --> src/file.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `AFile: Intern` [INFO] [stdout] | doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 107 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `AFile` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] which is required by `AFile: Intern` [INFO] [stdout] `&AFile: Lookup` [INFO] [stdout] which is required by `&AFile: Intern` [INFO] [stdout] `&mut AFile: Lookup` [INFO] [stdout] which is required by `&mut AFile: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 159 | let path = &key.lookup(ctx).mod_path; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/file.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] ... [INFO] [stdout] 164 | m = m.lookup(ctx).children[p]; [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/lexer/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let file = file_id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs: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 `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:336:10 [INFO] [stdout] | [INFO] [stdout] 336 | .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:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | 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:438:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 438 | .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: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:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | 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:463:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 463 | .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:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | 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 `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:336:10 [INFO] [stdout] | [INFO] [stdout] 336 | .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:491:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 491 | .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:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | 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:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | 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:517:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 517 | .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:438:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 438 | .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:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | 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:463:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 463 | .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:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | 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:542:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 542 | .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:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | 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:491:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 491 | .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:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | 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:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | 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:517:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 517 | .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:582:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 582 | .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:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | 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:542:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 542 | .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:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | 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:623:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 623 | .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:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | 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:582:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 582 | .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:647:27 [INFO] [stdout] | [INFO] [stdout] 647 | 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:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | 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:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | 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:659:27 [INFO] [stdout] | [INFO] [stdout] 659 | 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:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | 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:671:27 [INFO] [stdout] | [INFO] [stdout] 671 | 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:620:25 [INFO] [stdout] | [INFO] [stdout] 620 | 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:684:27 [INFO] [stdout] | [INFO] [stdout] 684 | 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:623:14 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 623 | .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:647:27 [INFO] [stdout] | [INFO] [stdout] 647 | 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:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | 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:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:714:18 [INFO] [stdout] | [INFO] [stdout] 714 | 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:717:54 [INFO] [stdout] | [INFO] [stdout] 717 | 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:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:721:31 [INFO] [stdout] | [INFO] [stdout] 721 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:726:33 [INFO] [stdout] | [INFO] [stdout] 726 | bindings.insert(*name, *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:659:27 [INFO] [stdout] | [INFO] [stdout] 659 | 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:726:40 [INFO] [stdout] | [INFO] [stdout] 726 | bindings.insert(*name, *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:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | 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:671:27 [INFO] [stdout] | [INFO] [stdout] 671 | 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:684:27 [INFO] [stdout] | [INFO] [stdout] 684 | 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:714:18 [INFO] [stdout] | [INFO] [stdout] 714 | 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:717:54 [INFO] [stdout] | [INFO] [stdout] 717 | 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:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:721:31 [INFO] [stdout] | [INFO] [stdout] 721 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:726:33 [INFO] [stdout] | [INFO] [stdout] 726 | 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:726:40 [INFO] [stdout] | [INFO] [stdout] 726 | 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:763:25 [INFO] [stdout] | [INFO] [stdout] 763 | 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:764:77 [INFO] [stdout] | [INFO] [stdout] 764 | 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:766:43 [INFO] [stdout] | [INFO] [stdout] 766 | LConstructorShape::Positional(*s, n.len()), [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:763:25 [INFO] [stdout] | [INFO] [stdout] 763 | 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:764:77 [INFO] [stdout] | [INFO] [stdout] 764 | 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:766:43 [INFO] [stdout] | [INFO] [stdout] 766 | 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:781:38 [INFO] [stdout] | [INFO] [stdout] 781 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:781:38 [INFO] [stdout] | [INFO] [stdout] 781 | 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:792:18 [INFO] [stdout] | [INFO] [stdout] 792 | 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:797:85 [INFO] [stdout] | [INFO] [stdout] 797 | 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:799:51 [INFO] [stdout] | [INFO] [stdout] 799 | 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:814:46 [INFO] [stdout] | [INFO] [stdout] 814 | 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:832:18 [INFO] [stdout] | [INFO] [stdout] 832 | 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:792:18 [INFO] [stdout] | [INFO] [stdout] 792 | 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:797:85 [INFO] [stdout] | [INFO] [stdout] 797 | 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:799:51 [INFO] [stdout] | [INFO] [stdout] 799 | 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:814:46 [INFO] [stdout] | [INFO] [stdout] 814 | 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:862:19 [INFO] [stdout] | [INFO] [stdout] 862 | 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:865:50 [INFO] [stdout] | [INFO] [stdout] 865 | 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:865:54 [INFO] [stdout] | [INFO] [stdout] 865 | 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:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:869:31 [INFO] [stdout] | [INFO] [stdout] 869 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:874:30 [INFO] [stdout] | [INFO] [stdout] 874 | 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:874:34 [INFO] [stdout] | [INFO] [stdout] 874 | 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:882:50 [INFO] [stdout] | [INFO] [stdout] 882 | 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:882:57 [INFO] [stdout] | [INFO] [stdout] 882 | 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:885:31 [INFO] [stdout] | [INFO] [stdout] 885 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:886:31 [INFO] [stdout] | [INFO] [stdout] 886 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:891:32 [INFO] [stdout] | [INFO] [stdout] 891 | 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:891:39 [INFO] [stdout] | [INFO] [stdout] 891 | 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:892:40 [INFO] [stdout] | [INFO] [stdout] 892 | method_generics.insert(*name, generics.len()); [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:832:18 [INFO] [stdout] | [INFO] [stdout] 832 | 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 `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:924:22 [INFO] [stdout] | [INFO] [stdout] 525 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] ... [INFO] [stdout] 924 | 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:937:22 [INFO] [stdout] | [INFO] [stdout] 499 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] ... [INFO] [stdout] 937 | 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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:862:19 [INFO] [stdout] | [INFO] [stdout] 862 | 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:865:50 [INFO] [stdout] | [INFO] [stdout] 865 | 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:865:54 [INFO] [stdout] | [INFO] [stdout] 865 | 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:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:869:31 [INFO] [stdout] | [INFO] [stdout] 869 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:874:30 [INFO] [stdout] | [INFO] [stdout] 874 | 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:874:34 [INFO] [stdout] | [INFO] [stdout] 874 | 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:882:50 [INFO] [stdout] | [INFO] [stdout] 882 | 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:882:57 [INFO] [stdout] | [INFO] [stdout] 882 | 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:885:31 [INFO] [stdout] | [INFO] [stdout] 885 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:886:31 [INFO] [stdout] | [INFO] [stdout] 886 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:891:32 [INFO] [stdout] | [INFO] [stdout] 891 | 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:891:39 [INFO] [stdout] | [INFO] [stdout] 891 | 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:892:40 [INFO] [stdout] | [INFO] [stdout] 892 | method_generics.insert(*name, generics.len()); [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:924:22 [INFO] [stdout] | [INFO] [stdout] 525 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] ... [INFO] [stdout] 924 | 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:937:22 [INFO] [stdout] | [INFO] [stdout] 499 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] ... [INFO] [stdout] 937 | 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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | 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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | 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:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | 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:106:51 [INFO] [stdout] | [INFO] [stdout] 106 | 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:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | ... 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:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | 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:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | 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:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | 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:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | 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:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | 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:176:73 [INFO] [stdout] | [INFO] [stdout] 176 | LExpressionData::AsyncBlock(ctx, e, self.fresh_infer_ty(*span)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:178:83 [INFO] [stdout] | [INFO] [stdout] 178 | 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:180:64 [INFO] [stdout] | [INFO] [stdout] 180 | 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:180:90 [INFO] [stdout] | [INFO] [stdout] 180 | 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:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | 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:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | 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:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:195:69 [INFO] [stdout] | [INFO] [stdout] 195 | PExpressionData::Literal(l) => LExpressionData::Literal(*l), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | 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:198:46 [INFO] [stdout] | [INFO] [stdout] 198 | 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:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | 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:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | 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:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:41 [INFO] [stdout] | [INFO] [stdout] 212 | 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:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | 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:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | 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:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | 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:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | 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:227:41 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | 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:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | 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:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | 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:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | 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:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | 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:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | 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:243:76 [INFO] [stdout] | [INFO] [stdout] 243 | 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:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | 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:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | 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:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | 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:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | 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:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | *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:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | 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:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | 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:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | 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:292:45 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | 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:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:302:45 [INFO] [stdout] | [INFO] [stdout] 302 | 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:303:45 [INFO] [stdout] | [INFO] [stdout] 303 | 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:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | 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:311:41 [INFO] [stdout] | [INFO] [stdout] 311 | 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:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | 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:324:41 [INFO] [stdout] | [INFO] [stdout] 324 | 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:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | 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:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | .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:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:342:69 [INFO] [stdout] | [INFO] [stdout] 342 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:344: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] 344 | .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:345:41 [INFO] [stdout] | [INFO] [stdout] 345 | 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:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | 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:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | .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:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:367:69 [INFO] [stdout] | [INFO] [stdout] 367 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:369: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] 369 | .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:370:41 [INFO] [stdout] | [INFO] [stdout] 370 | 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:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:376:45 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | *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:385: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] 385 | .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:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | *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:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | 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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | 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:400: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] 400 | .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:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | 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:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | 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:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | .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:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:423:69 [INFO] [stdout] | [INFO] [stdout] 423 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | 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:106:51 [INFO] [stdout] | [INFO] [stdout] 106 | 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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:425: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] 425 | .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:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:426:41 [INFO] [stdout] | [INFO] [stdout] 426 | 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:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:432:45 [INFO] [stdout] | [INFO] [stdout] 432 | 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:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | *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:441: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] 441 | .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:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | 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:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:455:41 [INFO] [stdout] | [INFO] [stdout] 455 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:456:43 [INFO] [stdout] | [INFO] [stdout] 456 | let ps = self.lower_exprs(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | 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:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | 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:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | 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:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 461 | } = &*c.lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:176:73 [INFO] [stdout] | [INFO] [stdout] 176 | LExpressionData::AsyncBlock(ctx, e, 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:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:178:83 [INFO] [stdout] | [INFO] [stdout] 178 | 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:180:64 [INFO] [stdout] | [INFO] [stdout] 180 | 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:180:90 [INFO] [stdout] | [INFO] [stdout] 180 | 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:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | 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:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | let n = self.lower_expr(*n)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:470: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] 470 | .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:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:195:69 [INFO] [stdout] | [INFO] [stdout] 195 | PExpressionData::Literal(l) => LExpressionData::Literal(*l), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:474:45 [INFO] [stdout] | [INFO] [stdout] 474 | 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:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | 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:476:49 [INFO] [stdout] | [INFO] [stdout] 476 | 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:198:46 [INFO] [stdout] | [INFO] [stdout] 198 | 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:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | 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:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | 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:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:41 [INFO] [stdout] | [INFO] [stdout] 212 | 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:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | 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:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:485:62 [INFO] [stdout] | [INFO] [stdout] 485 | 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:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | 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:487:43 [INFO] [stdout] | [INFO] [stdout] 487 | 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:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | 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[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | 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:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | 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:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:493:52 [INFO] [stdout] | [INFO] [stdout] 493 | 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[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | 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:227:41 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | 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:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | 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:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | 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:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | 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:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | 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:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | 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:243:76 [INFO] [stdout] | [INFO] [stdout] 243 | 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:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | 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:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | 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:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | 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:494:39 [INFO] [stdout] | [INFO] [stdout] 494 | 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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:499:39 [INFO] [stdout] | [INFO] [stdout] 499 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:505:25 [INFO] [stdout] | [INFO] [stdout] 505 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:506:47 [INFO] [stdout] | [INFO] [stdout] 506 | shape.method_generics[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:507:39 [INFO] [stdout] | [INFO] [stdout] 507 | 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 `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:518:45 [INFO] [stdout] | [INFO] [stdout] 518 | 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:525:25 [INFO] [stdout] | [INFO] [stdout] 525 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:528:45 [INFO] [stdout] | [INFO] [stdout] 528 | 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:534:45 [INFO] [stdout] | [INFO] [stdout] 534 | 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:538:41 [INFO] [stdout] | [INFO] [stdout] 538 | 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:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:541:36 [INFO] [stdout] | [INFO] [stdout] 541 | 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:543:41 [INFO] [stdout] | [INFO] [stdout] 543 | 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:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | 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:548:33 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:33 [INFO] [stdout] | [INFO] [stdout] 549 | 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:552:56 [INFO] [stdout] | [INFO] [stdout] 552 | LExpressionData::Match(self.lower_expr(*v)?, vec![ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:553:41 [INFO] [stdout] | [INFO] [stdout] 553 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:553:63 [INFO] [stdout] | [INFO] [stdout] 553 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:554:47 [INFO] [stdout] | [INFO] [stdout] 554 | (self.fresh_empty_pattern(*span), 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:554:71 [INFO] [stdout] | [INFO] [stdout] 554 | (self.fresh_empty_pattern(*span), self.lower_expr(*e)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:557:42 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:41 [INFO] [stdout] | [INFO] [stdout] 558 | 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:561:41 [INFO] [stdout] | [INFO] [stdout] 561 | 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:565:31 [INFO] [stdout] | [INFO] [stdout] 565 | 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:281:55 [INFO] [stdout] | [INFO] [stdout] 281 | 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:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | 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:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | 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:292:45 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | 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:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:302:45 [INFO] [stdout] | [INFO] [stdout] 302 | 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:303:45 [INFO] [stdout] | [INFO] [stdout] 303 | 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:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | 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:311:41 [INFO] [stdout] | [INFO] [stdout] 311 | 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:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | let e = self.lower_expr(*e)?; [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:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | .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:324:41 [INFO] [stdout] | [INFO] [stdout] 324 | 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:573:42 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:53 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:57 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:61 [INFO] [stdout] | [INFO] [stdout] 573 | 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:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:575:40 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:47 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:51 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:55 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:60 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:64 [INFO] [stdout] | [INFO] [stdout] 575 | 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:577:41 [INFO] [stdout] | [INFO] [stdout] 577 | 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:582:48 [INFO] [stdout] | [INFO] [stdout] 582 | 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:583:45 [INFO] [stdout] | [INFO] [stdout] 583 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:590:85 [INFO] [stdout] | [INFO] [stdout] 590 | 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 `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | .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:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:342:69 [INFO] [stdout] | [INFO] [stdout] 342 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:592:34 [INFO] [stdout] | [INFO] [stdout] 592 | 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:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:601:44 [INFO] [stdout] | [INFO] [stdout] 601 | 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:603:55 [INFO] [stdout] | [INFO] [stdout] 603 | 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:606:77 [INFO] [stdout] | [INFO] [stdout] 606 | 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:344: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] 344 | .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:345:41 [INFO] [stdout] | [INFO] [stdout] 345 | 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:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | 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:613:42 [INFO] [stdout] | [INFO] [stdout] 613 | ... 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:615:39 [INFO] [stdout] | [INFO] [stdout] 615 | ... 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:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | .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:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:367:69 [INFO] [stdout] | [INFO] [stdout] 367 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:620:52 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:85 [INFO] [stdout] | [INFO] [stdout] 620 | 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:623:75 [INFO] [stdout] | [INFO] [stdout] 623 | 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:634:35 [INFO] [stdout] | [INFO] [stdout] 634 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:638:86 [INFO] [stdout] | [INFO] [stdout] 638 | PExpressionData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:369: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] 369 | .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:370:41 [INFO] [stdout] | [INFO] [stdout] 370 | 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:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:376:45 [INFO] [stdout] | [INFO] [stdout] 376 | 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:640:34 [INFO] [stdout] | [INFO] [stdout] 640 | 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:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:642:44 [INFO] [stdout] | [INFO] [stdout] 642 | 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:644:55 [INFO] [stdout] | [INFO] [stdout] 644 | 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:646:66 [INFO] [stdout] | [INFO] [stdout] 646 | 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:647:68 [INFO] [stdout] | [INFO] [stdout] 647 | 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:647:76 [INFO] [stdout] | [INFO] [stdout] 647 | 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:649:67 [INFO] [stdout] | [INFO] [stdout] 649 | 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:656:34 [INFO] [stdout] | [INFO] [stdout] 656 | variant: *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:657:35 [INFO] [stdout] | [INFO] [stdout] 657 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:661:74 [INFO] [stdout] | [INFO] [stdout] 661 | 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:667:39 [INFO] [stdout] | [INFO] [stdout] 667 | ... 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:668:41 [INFO] [stdout] | [INFO] [stdout] 668 | ... 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:385: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] 385 | .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:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | *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:672:34 [INFO] [stdout] | [INFO] [stdout] 672 | 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:677:39 [INFO] [stdout] | [INFO] [stdout] 677 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:681:44 [INFO] [stdout] | [INFO] [stdout] 681 | 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:683:55 [INFO] [stdout] | [INFO] [stdout] 683 | 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:686:77 [INFO] [stdout] | [INFO] [stdout] 686 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:697:35 [INFO] [stdout] | [INFO] [stdout] 697 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:703:61 [INFO] [stdout] | [INFO] [stdout] 703 | 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:705:62 [INFO] [stdout] | [INFO] [stdout] 705 | 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:709:87 [INFO] [stdout] | [INFO] [stdout] 709 | LExpressionData::Call(assert.into(), vec![], vec![self.lower_expr(*v)?]) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:716:37 [INFO] [stdout] | [INFO] [stdout] 716 | 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:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | 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:400: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] 400 | .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:401:41 [INFO] [stdout] | [INFO] [stdout] 401 | 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:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | 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:723: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] 723 | .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:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | 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:732:34 [INFO] [stdout] | [INFO] [stdout] 732 | 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:740:46 [INFO] [stdout] | [INFO] [stdout] 740 | 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:741:41 [INFO] [stdout] | [INFO] [stdout] 741 | 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:742:39 [INFO] [stdout] | [INFO] [stdout] 742 | let r = self.lower_ty(*r, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:748:67 [INFO] [stdout] | [INFO] [stdout] 748 | 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:748:74 [INFO] [stdout] | [INFO] [stdout] 748 | 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:750:41 [INFO] [stdout] | [INFO] [stdout] 750 | 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:751:41 [INFO] [stdout] | [INFO] [stdout] 751 | 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:754:41 [INFO] [stdout] | [INFO] [stdout] 754 | 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:756:45 [INFO] [stdout] | [INFO] [stdout] 756 | 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:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:764:57 [INFO] [stdout] | [INFO] [stdout] 764 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [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:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | .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:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:423:69 [INFO] [stdout] | [INFO] [stdout] 423 | data: LExpressionData::Literal(PLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:764:63 [INFO] [stdout] | [INFO] [stdout] 764 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:764:70 [INFO] [stdout] | [INFO] [stdout] 764 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:768:29 [INFO] [stdout] | [INFO] [stdout] 768 | number: *i, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:769:27 [INFO] [stdout] | [INFO] [stdout] 769 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:772:62 [INFO] [stdout] | [INFO] [stdout] 772 | LExpressionData::IndexAccess(self.lower_expr(*o)?, *span, i) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:772:68 [INFO] [stdout] | [INFO] [stdout] 772 | LExpressionData::IndexAccess(self.lower_expr(*o)?, *span, i) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:776:61 [INFO] [stdout] | [INFO] [stdout] 776 | return Err(AError::IllegalAwait { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:779:41 [INFO] [stdout] | [INFO] [stdout] 779 | 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:782:27 [INFO] [stdout] | [INFO] [stdout] 782 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:785:45 [INFO] [stdout] | [INFO] [stdout] 785 | 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:791:25 [INFO] [stdout] | [INFO] [stdout] 791 | *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:794: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] 794 | .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:799:80 [INFO] [stdout] | [INFO] [stdout] 799 | LExpressionData::PollTrampoline(poll_call, 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:805:19 [INFO] [stdout] | [INFO] [stdout] 805 | 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:425: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] 425 | .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:426:41 [INFO] [stdout] | [INFO] [stdout] 426 | 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:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:432:45 [INFO] [stdout] | [INFO] [stdout] 432 | 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:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | *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:441: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] 441 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:808: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] 808 | .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:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:455:41 [INFO] [stdout] | [INFO] [stdout] 455 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:456:43 [INFO] [stdout] | [INFO] [stdout] 456 | 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:461:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 461 | } = &*c.lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | 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:836:39 [INFO] [stdout] | [INFO] [stdout] 836 | 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:470: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] 470 | .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:474:45 [INFO] [stdout] | [INFO] [stdout] 474 | 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:476:49 [INFO] [stdout] | [INFO] [stdout] 476 | 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:480:25 [INFO] [stdout] | [INFO] [stdout] 480 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:485:62 [INFO] [stdout] | [INFO] [stdout] 485 | 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:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | 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:487:43 [INFO] [stdout] | [INFO] [stdout] 487 | 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:840:22 [INFO] [stdout] | [INFO] [stdout] 840 | .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:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | 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:493:52 [INFO] [stdout] | [INFO] [stdout] 493 | 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:494:39 [INFO] [stdout] | [INFO] [stdout] 494 | 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:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:499:39 [INFO] [stdout] | [INFO] [stdout] 499 | ... use_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:881: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] 881 | .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:505:25 [INFO] [stdout] | [INFO] [stdout] 505 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:506:47 [INFO] [stdout] | [INFO] [stdout] 506 | shape.method_generics[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:507:39 [INFO] [stdout] | [INFO] [stdout] 507 | 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 `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:518:45 [INFO] [stdout] | [INFO] [stdout] 518 | 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:525:25 [INFO] [stdout] | [INFO] [stdout] 525 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:528:45 [INFO] [stdout] | [INFO] [stdout] 528 | 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:534:45 [INFO] [stdout] | [INFO] [stdout] 534 | 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:538:41 [INFO] [stdout] | [INFO] [stdout] 538 | 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:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:890:14 [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] 890 | .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:541:36 [INFO] [stdout] | [INFO] [stdout] 541 | 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:543:41 [INFO] [stdout] | [INFO] [stdout] 543 | 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:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | 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:548:33 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:33 [INFO] [stdout] | [INFO] [stdout] 549 | 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:552:56 [INFO] [stdout] | [INFO] [stdout] 552 | LExpressionData::Match(self.lower_expr(*v)?, vec![ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:553:41 [INFO] [stdout] | [INFO] [stdout] 553 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:553:63 [INFO] [stdout] | [INFO] [stdout] 553 | (self.lower_pattern(*p)?, self.lower_expr(*t)?), [INFO] [stdout] | ^^ [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:930:18 [INFO] [stdout] | [INFO] [stdout] 930 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:554:47 [INFO] [stdout] | [INFO] [stdout] 554 | (self.fresh_empty_pattern(*span), 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:554:71 [INFO] [stdout] | [INFO] [stdout] 554 | (self.fresh_empty_pattern(*span), self.lower_expr(*e)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:557:42 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:41 [INFO] [stdout] | [INFO] [stdout] 558 | 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:561:41 [INFO] [stdout] | [INFO] [stdout] 561 | 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:565:31 [INFO] [stdout] | [INFO] [stdout] 565 | 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:945: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] 945 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | .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:573:42 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:53 [INFO] [stdout] | [INFO] [stdout] 573 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:948:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct LStatement { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LStatement: Intern` [INFO] [stdout] | doesn't satisfy `LStatement: Lookup` [INFO] [stdout] ... [INFO] [stdout] 948 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LStatement` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LStatement: Lookup` [INFO] [stdout] which is required by `LStatement: Intern` [INFO] [stdout] `&LStatement: Lookup` [INFO] [stdout] which is required by `&LStatement: Intern` [INFO] [stdout] `&mut LStatement: Lookup` [INFO] [stdout] which is required by `&mut LStatement: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:573:57 [INFO] [stdout] | [INFO] [stdout] 573 | 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:573:61 [INFO] [stdout] | [INFO] [stdout] 573 | 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:575:40 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:47 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:51 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:55 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:60 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:64 [INFO] [stdout] | [INFO] [stdout] 575 | 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:577:41 [INFO] [stdout] | [INFO] [stdout] 577 | 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:582:48 [INFO] [stdout] | [INFO] [stdout] 582 | 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:583:45 [INFO] [stdout] | [INFO] [stdout] 583 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:590:85 [INFO] [stdout] | [INFO] [stdout] 590 | 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 `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:965: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] 965 | .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:592:34 [INFO] [stdout] | [INFO] [stdout] 592 | 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:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:601:44 [INFO] [stdout] | [INFO] [stdout] 601 | 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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:969: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] 969 | .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:603:55 [INFO] [stdout] | [INFO] [stdout] 603 | 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:606:77 [INFO] [stdout] | [INFO] [stdout] 606 | 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 `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:999:18 [INFO] [stdout] | [INFO] [stdout] 999 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:613:42 [INFO] [stdout] | [INFO] [stdout] 613 | ... 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:615:39 [INFO] [stdout] | [INFO] [stdout] 615 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [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:1006:18 [INFO] [stdout] | [INFO] [stdout] 1006 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1009:10 [INFO] [stdout] | [INFO] [stdout] 1009 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:620:52 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:85 [INFO] [stdout] | [INFO] [stdout] 620 | 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:623:75 [INFO] [stdout] | [INFO] [stdout] 623 | 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:634:35 [INFO] [stdout] | [INFO] [stdout] 634 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:638:86 [INFO] [stdout] | [INFO] [stdout] 638 | PExpressionData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1032:34 [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] 1032 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1038:34 [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] 1038 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [WARN] too many lines in the log, truncating it