[INFO] cloning repository https://github.com/compiler-errors/adelaide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/compiler-errors/adelaide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42d00fcf7d638d018593aa60456129bb51aea53a [INFO] testing compiler-errors/adelaide against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompiler-errors%2Fadelaide" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compiler-errors/adelaide on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-13/source/Cargo.toml [INFO] crate git repo https://github.com/compiler-errors/adelaide already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (proc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.18.1 [INFO] [stderr] Downloaded calm_io v0.1.1 [INFO] [stderr] Downloaded salsa-macros v0.15.2 [INFO] [stderr] Downloaded lalrpop v0.18.1 [INFO] [stderr] Downloaded calmio_filters v0.1.0 [INFO] [stderr] Downloaded salsa v0.15.2 [INFO] [stderr] Downloaded proc v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9b5be619881b086dd2511c1df655f79a14d9d4d8267527e0d6462087dc0f32a [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" "b9b5be619881b086dd2511c1df655f79a14d9d4d8267527e0d6462087dc0f32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9b5be619881b086dd2511c1df655f79a14d9d4d8267527e0d6462087dc0f32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b5be619881b086dd2511c1df655f79a14d9d4d8267527e0d6462087dc0f32a", kill_on_drop: false }` [INFO] [stdout] b9b5be619881b086dd2511c1df655f79a14d9d4d8267527e0d6462087dc0f32a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", 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] eee57cf7b675d6520ac2baa1ca384222533bbaed5db556dd7385014820d7824d [INFO] running `Command { std: "docker" "start" "-a" "eee57cf7b675d6520ac2baa1ca384222533bbaed5db556dd7385014820d7824d", 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.58 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling proc v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling salsa-macros v0.15.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling calmio_filters v0.1.0 [INFO] [stderr] Compiling calm_io v0.1.1 [INFO] [stderr] Compiling salsa v0.15.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.18.1 [INFO] [stderr] Compiling adelaide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/file.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/file.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/expr.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/expr.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/expr.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/pattern.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Hash, Eq, PartialEq, Clone, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/ty.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/ty.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/uses.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:412:51 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:420:51 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:427:46 [INFO] [stdout] | [INFO] [stdout] 427 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:455:38 [INFO] [stdout] | [INFO] [stdout] 455 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:455:46 [INFO] [stdout] | [INFO] [stdout] 455 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:480:38 [INFO] [stdout] | [INFO] [stdout] 480 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:508:38 [INFO] [stdout] | [INFO] [stdout] 508 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:508:46 [INFO] [stdout] | [INFO] [stdout] 508 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:510:7 [INFO] [stdout] | [INFO] [stdout] 510 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:534:38 [INFO] [stdout] | [INFO] [stdout] 534 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:534:46 [INFO] [stdout] | [INFO] [stdout] 534 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:536:7 [INFO] [stdout] | [INFO] [stdout] 536 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:559:46 [INFO] [stdout] | [INFO] [stdout] 559 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:573:38 [INFO] [stdout] | [INFO] [stdout] 573 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/lowering/mod.rs:599:38 [INFO] [stdout] | [INFO] [stdout] 599 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:599:46 [INFO] [stdout] | [INFO] [stdout] 599 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/lowering/mod.rs:601:7 [INFO] [stdout] | [INFO] [stdout] 601 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:640:51 [INFO] [stdout] | [INFO] [stdout] 640 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:745:38 [INFO] [stdout] | [INFO] [stdout] 745 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:989:68 [INFO] [stdout] | [INFO] [stdout] 989 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:998:68 [INFO] [stdout] | [INFO] [stdout] 998 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1007:68 [INFO] [stdout] | [INFO] [stdout] 1007 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/lowering/mod.rs:1016:68 [INFO] [stdout] | [INFO] [stdout] 1016 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plain` in this scope [INFO] [stdout] --> src/parser/ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[plain] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:38 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:382:46 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs: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:585:38 [INFO] [stdout] | [INFO] [stdout] 585 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:585:46 [INFO] [stdout] | [INFO] [stdout] 585 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:630:38 [INFO] [stdout] | [INFO] [stdout] 630 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:630:46 [INFO] [stdout] | [INFO] [stdout] 630 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:639:38 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs: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: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:1120:38 [INFO] [stdout] | [INFO] [stdout] 1120 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1166:38 [INFO] [stdout] | [INFO] [stdout] 1166 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1183:51 [INFO] [stdout] | [INFO] [stdout] 1183 | #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1193:38 [INFO] [stdout] | [INFO] [stdout] 1193 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1193:46 [INFO] [stdout] | [INFO] [stdout] 1193 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1199:38 [INFO] [stdout] | [INFO] [stdout] 1199 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/parser/ast.rs:1221:38 [INFO] [stdout] | [INFO] [stdout] 1221 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1221:46 [INFO] [stdout] | [INFO] [stdout] 1221 | #[derive(Debug, Hash, Eq, PartialEq, Lookup, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1228:38 [INFO] [stdout] | [INFO] [stdout] 1228 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/parser/ast.rs:1310:38 [INFO] [stdout] | [INFO] [stdout] 1310 | #[derive(Debug, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/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:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | #[derive(Debug, Clone, PartialEq, Eq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Lookup` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Hash, Eq, PartialEq, Clone, Lookup)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/ty.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Clone, Debug, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `PrettyPrint` in this scope [INFO] [stdout] --> src/typechecker/mod.rs:362:51 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Debug, Copy, Clone, Hash, Eq, PartialEq, PrettyPrint)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `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 = "This should never happen"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[message = "IO Error while reading {child_path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[message = "IO error while reading children from {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[message = "IO error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[message = "IO error"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[message = "Broken pipe"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[message = "UTF-8 error while reading {path}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[note = "{io_error}"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[message = "Lexer error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[message = "Parser error: {why}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[message = "Unexpected token {given}, expected {expected}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[message = "Duplicated item `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[span = "Named by {what} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[span = "Named by {what2} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[message = "Duplicated definition of {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[span = "Tried to access child item here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[message = "The {kind} `{name}` is not a module, cannot access item from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[span = "Tried to access {child_kind} `{child_name}` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | #[message = "The {parent_kind} `{parent_name}` is missing {child_kind} `{child_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[span = "The {parent_kind} `{parent_name}` is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[message = "Unexpected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[message = "Expected {item_kind} `{item_name}` in {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[message = "Missing field `{item_name}` in constructor of {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[message = "No such item `{name}` in `{mod_path}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[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:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[message = "No such loop label `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[message = "Not in a loop"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs: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 infer type `_`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[message = "Illegal associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[message = "Illegal `Self` type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | #[message = "Cannot implement trait `Concrete`."] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 212 | #[note = "Trait is automatically implemented for types that are not `Dyn`."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[message = "No such method `{name}` in trait `{trait_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | #[span = "Trait `{trait_name}` defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | #[span = "Method called here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 229 | #[message = "Impl is an orphan, must be declared in either the trait's module or the type's \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[message = "The `return` operator is not allowed outside of a function, closure, or async \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | #[message = "The `await` operator is not allowed outside of an async block"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | #[message = "An elaborated type is not allowed outside of a static call or associated type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:255:7 [INFO] [stdout] | [INFO] [stdout] 255 | #[message = "The {kind} `{name}` is not a type"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | #[message = "The {kind} `{name}` is not a trait"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | #[span = "Referenced here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:275:7 [INFO] [stdout] | [INFO] [stdout] 275 | #[message = "Duplicated trait bound `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | #[message = "Attempted to `allocate` a struct, use the struct literal syntax instead"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[note = "If you meant to make a static call, use `::` instead of `:`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | #[span = "Struct defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 290 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | #[message = "Attempted to construct an object on the stack, use the `allocate` operator \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | #[message = "Attempted to destructure an object, when it must be a struct"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | #[span = "Object defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:313:7 [INFO] [stdout] | [INFO] [stdout] 313 | #[message = "Cannot attach generic types to the bare enum variant \ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:318:11 [INFO] [stdout] | [INFO] [stdout] 318 | #[span = "Remove the generics from this usage, or fully qualify the enum"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | #[span = "Variant defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | #[message = "Cannot attach generic types to the {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:328:11 [INFO] [stdout] | [INFO] [stdout] 328 | #[span = "Remove the generics from this usage"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 330 | #[span = "{kind} defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:334:7 [INFO] [stdout] | [INFO] [stdout] 334 | #[message = "Cannot parse {kind} `{number}` as a number"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:342:7 [INFO] [stdout] | [INFO] [stdout] 342 | #[message = "Expected {expected} {kind}, but found {given} {kind}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:346:11 [INFO] [stdout] | [INFO] [stdout] 346 | #[span = "The {kind} are defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[message = "The {kind} `{name}` is not an enum, cannot construct variant `{variant}` from it"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[message = "The {kind} `{name}` cannot be treated as an expression"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | #[span = "The {kind} is defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | #[span = "The {kind} was used here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:372:7 [INFO] [stdout] | [INFO] [stdout] 372 | #[message = "Cannot construct or allocate {kind} `{name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | #[span = "Tried to construct {kind} here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:378:11 [INFO] [stdout] | [INFO] [stdout] 378 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:382:7 [INFO] [stdout] | [INFO] [stdout] 382 | #[message = "Incorrectly constructing {parent_kind} `{parent_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | #[span = "Expected {expected_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:390:11 [INFO] [stdout] | [INFO] [stdout] 390 | #[span = "Given {given_kind} arguments"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[message = "Missing trait bound `{bound}`, dynamic type must be fully elaborated"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | #[span = "Add `{bound} = ` here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | #[span = "Associated type defined here"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[message = "Conflicting solutions:\n\n\n{solution} and\n\n\n{other_solution}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | #[message = "No solution for trait {trait_ty} found for {ty}"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:415:11 [INFO] [stdout] | [INFO] [stdout] 415 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 417 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:421:7 [INFO] [stdout] | [INFO] [stdout] 421 | #[message = "Cannot determine the type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | #[message = "Cannot unify types `{left_ty}` and `{right_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:432:11 [INFO] [stdout] | [INFO] [stdout] 432 | #[span = "`{left_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 434 | #[span = "`{right_ty}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:438:7 [INFO] [stdout] | [INFO] [stdout] 438 | #[message = "Cannot unify types `{left_trait_ty}` and `{right_trait_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 442 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:444:11 [INFO] [stdout] | [INFO] [stdout] 444 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:448:7 [INFO] [stdout] | [INFO] [stdout] 448 | #[message = "Cannot access member `{name}` for type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:456:7 [INFO] [stdout] | [INFO] [stdout] 456 | #[message = "Cannot access member index {idx} for type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:460:11 [INFO] [stdout] | [INFO] [stdout] 460 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | #[message = "Cannot determine the trait that provides method `{name}` for type `{call_ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/util/error.rs:465:7 [INFO] [stdout] | [INFO] [stdout] 465 | #[note = "You can try to elaborate the call type like `<{call_ty} as Trait>::{name}`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:469:11 [INFO] [stdout] | [INFO] [stdout] 469 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | #[message = "The trait `{trait_name}` is not object-safe due to method `{method_name}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:477:11 [INFO] [stdout] | [INFO] [stdout] 477 | #[span = "This method must be object-safe, try adding `where Self: Concrete`"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:483:7 [INFO] [stdout] | [INFO] [stdout] 483 | #[message = "The trait `{trait_name}` is not object-safe due to its referencing type `{ty}`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | #[span = "This type is not object-safe"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | #[span = "Required to be object-safe due to..."] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:493:7 [INFO] [stdout] | [INFO] [stdout] 493 | #[message = "Two `main` functions declared in this program, expected only one"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:495:11 [INFO] [stdout] | [INFO] [stdout] 495 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:497:11 [INFO] [stdout] | [INFO] [stdout] 497 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | #[message = "Expected `main` to have signature `fn main() -> ()`"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `span` in this scope [INFO] [stdout] --> src/util/error.rs:503:11 [INFO] [stdout] | [INFO] [stdout] 503 | #[span] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `message` in this scope [INFO] [stdout] --> src/util/error.rs:507:7 [INFO] [stdout] | [INFO] [stdout] 507 | #[message = "No `main` function declared in this program, expected one"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_unwrap_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(hash_drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_btree_new)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_mut_refs)] [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] error[E0599]: no method named `into_diagnostic` found for enum `AError` in the current scope [INFO] [stdout] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | &err.into_diagnostic(&ctx), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `AError` [INFO] [stdout] | [INFO] [stdout] ::: src/util/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AError { [INFO] [stdout] | --------------- method `into_diagnostic` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoDiagnostic` defines an item `into_diagnostic`, perhaps you need to implement it [INFO] [stdout] --> src/util/error.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | pub trait IntoDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_root(), ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AFile: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Mode::Noop => stdoutln!("{:#?}", Pretty(ctx.mod_tree_root(), ctx))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `AFile` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | stdoutln!("{:#?}", Pretty(m, ctx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ast::PModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | stdoutln!("{:#?}", Pretty(m, ctx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `ast::PModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: Lookup` is not satisfied [INFO] [stdout] --> src/main.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | stdoutln!("{:#?}", Pretty(l, ctx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LModule: PrettyPrint` is not satisfied [INFO] [stdout] --> src/main.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | stdoutln!("{:#?}", Pretty(l, ctx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `LModule` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, Id>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for enum `TType` in the current scope [INFO] [stdout] --> src/ctx.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | ty.clone().intern(ctx) [INFO] [stdout] | ^^^^^^ method not found in `TType` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TType { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `TType: Intern` [INFO] [stdout] | doesn't satisfy `TType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TType: Lookup` [INFO] [stdout] which is required by `TType: Intern` [INFO] [stdout] `&TType: Lookup` [INFO] [stdout] which is required by `&TType: Intern` [INFO] [stdout] `&mut TType: Lookup` [INFO] [stdout] which is required by `&mut TType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | file_id.lookup(ctx).children.values().copied().collect() [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | .lookup(self) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | id.lookup(self).mod_path, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/ctx.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | id.lookup(self).path [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for 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:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 448 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 473 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:498:25 [INFO] [stdout] | [INFO] [stdout] 498 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:501:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 501 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:527:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 527 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 552 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:589:25 [INFO] [stdout] | [INFO] [stdout] 589 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:592:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 592 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:630:25 [INFO] [stdout] | [INFO] [stdout] 630 | let source = id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 633 | .lookup(ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:657:27 [INFO] [stdout] | [INFO] [stdout] 657 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:665:27 [INFO] [stdout] | [INFO] [stdout] 665 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 669 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:677:27 [INFO] [stdout] | [INFO] [stdout] 677 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:681:27 [INFO] [stdout] | [INFO] [stdout] 681 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 694 | let e = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | for i in &tr.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/mod.rs:727:54 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some(old_span) = bindings.get(name) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&name` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:730:31 [INFO] [stdout] | [INFO] [stdout] 730 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:731:31 [INFO] [stdout] | [INFO] [stdout] 731 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:33 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:736:40 [INFO] [stdout] | [INFO] [stdout] 736 | bindings.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:773:25 [INFO] [stdout] | [INFO] [stdout] 773 | let data = match &o.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:774:77 [INFO] [stdout] | [INFO] [stdout] 774 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:776:43 [INFO] [stdout] | [INFO] [stdout] 776 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:791:38 [INFO] [stdout] | [INFO] [stdout] 791 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:802:18 [INFO] [stdout] | [INFO] [stdout] 802 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:807:85 [INFO] [stdout] | [INFO] [stdout] 807 | crate::parser::PObjectMembers::Empty(s) => LConstructorShape::Empty(*s), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:809:51 [INFO] [stdout] | [INFO] [stdout] 809 | LConstructorShape::Positional(*s, n.len()), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:824:46 [INFO] [stdout] | [INFO] [stdout] 824 | LConstructorShape::Named(*s, members) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:842:18 [INFO] [stdout] | [INFO] [stdout] 842 | let info = e.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:872:19 [INFO] [stdout] | [INFO] [stdout] 872 | for m in &key.lookup(ctx).members { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:875:50 [INFO] [stdout] | [INFO] [stdout] 875 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:875:54 [INFO] [stdout] | [INFO] [stdout] 875 | if let Some(old_s) = seen.insert(*n, *s) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:878:31 [INFO] [stdout] | [INFO] [stdout] 878 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:884:30 [INFO] [stdout] | [INFO] [stdout] 884 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:884:34 [INFO] [stdout] | [INFO] [stdout] 884 | types.insert(*n, *s); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:894:50 [INFO] [stdout] | [INFO] [stdout] 894 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:894:57 [INFO] [stdout] | [INFO] [stdout] 894 | if let Some(old_s) = seen.insert(*name, *span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:897:31 [INFO] [stdout] | [INFO] [stdout] 897 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:898:31 [INFO] [stdout] | [INFO] [stdout] 898 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:903:32 [INFO] [stdout] | [INFO] [stdout] 903 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:903:39 [INFO] [stdout] | [INFO] [stdout] 903 | methods.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/mod.rs:905:21 [INFO] [stdout] | [INFO] [stdout] 905 | *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:942:22 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] ... [INFO] [stdout] 942 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:955:22 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] ... [INFO] [stdout] 955 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:968:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 968 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/mod.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- doesn't satisfy `LTrait: Lookup` [INFO] [stdout] ... [INFO] [stdout] 981 | Ok(lowered_e.get(ctx)) [INFO] [stdout] | ^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `get` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | let PExpression { span, data } = &*e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:61 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:108:67 [INFO] [stdout] | [INFO] [stdout] 108 | LExpressionData::Literal(self.lower_literal(*lit, *span)?), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let info = f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | let generics = self.lower_tys(generics, true, true)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&generics` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let info = g.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:631:1 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct PGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:174:45 [INFO] [stdout] | [INFO] [stdout] 174 | self.lookup_scoped_item(*span, self.ctx.static_name("self"))? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | let s = self.lower_statements(s)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&s` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | let expr = self.lower_expr(*expr)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:203:50 [INFO] [stdout] | [INFO] [stdout] 203 | vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | ... self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | ... .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 225 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:232:83 [INFO] [stdout] | [INFO] [stdout] 232 | PExpressionData::Tuple(es) => LExpressionData::Tuple(self.lower_exprs(es)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:234:64 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:234:90 [INFO] [stdout] | [INFO] [stdout] 234 | LExpressionData::ArrayLiteral(self.lower_exprs(es)?, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:236:39 [INFO] [stdout] | [INFO] [stdout] 236 | let a = self.lower_ty(*a, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | let n = self.lower_expr(*n)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | let b = self.get_range_bound(*span, e, "Unbounded", vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 256 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | let b = self.get_range_bound(*span, e, "Inclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:271:45 [INFO] [stdout] | [INFO] [stdout] 271 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | let b = self.get_range_bound(*span, e, "Exclusive", vec![b]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | LExpressionData::Or(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:296:76 [INFO] [stdout] | [INFO] [stdout] 296 | LExpressionData::And(self.lower_expr(*a)?, self.lower_expr(*b)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:298:41 [INFO] [stdout] | [INFO] [stdout] 298 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:334:55 [INFO] [stdout] | [INFO] [stdout] 334 | PExpressionData::Assign(a, b) => match &a.lookup(self.ctx).data { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:640:1 [INFO] [stdout] | [INFO] [stdout] 640 | pub struct PExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `ast::PExpression: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:341:45 [INFO] [stdout] | [INFO] [stdout] 341 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:345:45 [INFO] [stdout] | [INFO] [stdout] 345 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:347:49 [INFO] [stdout] | [INFO] [stdout] 347 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:355:45 [INFO] [stdout] | [INFO] [stdout] 355 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:356:45 [INFO] [stdout] | [INFO] [stdout] 356 | let b = self.lower_expr(*b)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:374:41 [INFO] [stdout] | [INFO] [stdout] 374 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:377:41 [INFO] [stdout] | [INFO] [stdout] 377 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:395:69 [INFO] [stdout] | [INFO] [stdout] 395 | data: LExpressionData::Literal(LLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 397 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:420:69 [INFO] [stdout] | [INFO] [stdout] 420 | data: LExpressionData::Literal(LLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:422:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 422 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:423:41 [INFO] [stdout] | [INFO] [stdout] 423 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:429:45 [INFO] [stdout] | [INFO] [stdout] 429 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:438:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 438 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 453 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:454:41 [INFO] [stdout] | [INFO] [stdout] 454 | let s = self.lower_expr(*s)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 472 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:475:27 [INFO] [stdout] | [INFO] [stdout] 475 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:476:69 [INFO] [stdout] | [INFO] [stdout] 476 | data: LExpressionData::Literal(LLiteral::String(*l)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 478 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:482:27 [INFO] [stdout] | [INFO] [stdout] 482 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:485:45 [INFO] [stdout] | [INFO] [stdout] 485 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 494 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:504:21 [INFO] [stdout] | [INFO] [stdout] 504 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:508:41 [INFO] [stdout] | [INFO] [stdout] 508 | let c = self.lower_expr(*c)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:509:43 [INFO] [stdout] | [INFO] [stdout] 509 | let ps = self.lower_exprs(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 514 | } = &*c.lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:516:37 [INFO] [stdout] | [INFO] [stdout] 516 | let fn_info = f.source().lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `source` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `source` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:523:41 [INFO] [stdout] | [INFO] [stdout] 523 | ... given_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:531:31 [INFO] [stdout] | [INFO] [stdout] 531 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:534:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 534 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:538:45 [INFO] [stdout] | [INFO] [stdout] 538 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:540:49 [INFO] [stdout] | [INFO] [stdout] 540 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:549:62 [INFO] [stdout] | [INFO] [stdout] 549 | let (t, trait_ty) = self.lower_elaborated_ty(*t, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:550:41 [INFO] [stdout] | [INFO] [stdout] 550 | let gs = self.lower_tys(gs, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&gs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let ps = self.lower_exprs(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:554:39 [INFO] [stdout] | [INFO] [stdout] 554 | let tr = trait_ty.lookup(self.ctx).tr.source(); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LTraitType { [INFO] [stdout] | --------------------- doesn't satisfy `LTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:557:52 [INFO] [stdout] | [INFO] [stdout] 557 | if !shape.methods.contains_key(n) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:558:39 [INFO] [stdout] | [INFO] [stdout] 558 | let info = tr.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:562:35 [INFO] [stdout] | [INFO] [stdout] 562 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:563:39 [INFO] [stdout] | [INFO] [stdout] 563 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:570:62 [INFO] [stdout] | [INFO] [stdout] 570 | shape.method_generics_and_parameters[n].0, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:571:39 [INFO] [stdout] | [INFO] [stdout] 571 | shape.methods[n], [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:575:73 [INFO] [stdout] | [INFO] [stdout] 575 | if ps.len() != shape.method_generics_and_parameters[n].1 { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:578:76 [INFO] [stdout] | [INFO] [stdout] 578 | ... expected: shape.method_generics_and_parameters[n].1, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:579:58 [INFO] [stdout] | [INFO] [stdout] 579 | ... expected_span: shape.methods[n], [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&n` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Id` [INFO] [stdout] found struct `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:581:41 [INFO] [stdout] | [INFO] [stdout] 581 | ... given_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:589:25 [INFO] [stdout] | [INFO] [stdout] 589 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:592:45 [INFO] [stdout] | [INFO] [stdout] 592 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:602:45 [INFO] [stdout] | [INFO] [stdout] 602 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:608:45 [INFO] [stdout] | [INFO] [stdout] 608 | p.insert(0, self.lower_expr(*e)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:614:21 [INFO] [stdout] | [INFO] [stdout] 614 | *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:615:36 [INFO] [stdout] | [INFO] [stdout] 615 | self.lower_tys(g, true, true)?, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:617:41 [INFO] [stdout] | [INFO] [stdout] 617 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:621:42 [INFO] [stdout] | [INFO] [stdout] 621 | let l = self.enter_label(*l); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:622:41 [INFO] [stdout] | [INFO] [stdout] 622 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:625:41 [INFO] [stdout] | [INFO] [stdout] 625 | self.fresh_infer_ty(*span) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:631:22 [INFO] [stdout] | [INFO] [stdout] 631 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:637:33 [INFO] [stdout] | [INFO] [stdout] 637 | self.lower_expr(*p)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:638:33 [INFO] [stdout] | [INFO] [stdout] 638 | self.lower_expr(*t)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:639:33 [INFO] [stdout] | [INFO] [stdout] 639 | self.lower_expr(*e)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:43 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:50 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:54 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:58 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:642:62 [INFO] [stdout] | [INFO] [stdout] 642 | self.lower_expr_if_let(e, *span, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:42 [INFO] [stdout] | [INFO] [stdout] 644 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:49 [INFO] [stdout] | [INFO] [stdout] 644 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:53 [INFO] [stdout] | [INFO] [stdout] 644 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:57 [INFO] [stdout] | [INFO] [stdout] 644 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:644:61 [INFO] [stdout] | [INFO] [stdout] 644 | self.lower_expr_while(e, *span, *l, *p, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:46 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:53 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:57 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:61 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:65 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:646:69 [INFO] [stdout] | [INFO] [stdout] 646 | self.lower_expr_while_let(e, *span, *l, *p, *v, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:40 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:47 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:51 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:55 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:60 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:648:64 [INFO] [stdout] | [INFO] [stdout] 648 | self.lower_expr_for(e, *span, *l, *p, *es, *t, *els)?, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:650:41 [INFO] [stdout] | [INFO] [stdout] 650 | let m = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:655:48 [INFO] [stdout] | [INFO] [stdout] 655 | let p = self.lower_pattern(*p)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:656:45 [INFO] [stdout] | [INFO] [stdout] 656 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:663:85 [INFO] [stdout] | [INFO] [stdout] 663 | PExpressionData::StructuralAmbiguous(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:665:34 [INFO] [stdout] | [INFO] [stdout] 665 | let info = o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:670:39 [INFO] [stdout] | [INFO] [stdout] 670 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:674:44 [INFO] [stdout] | [INFO] [stdout] 674 | let g = self.lower_tys(g, true, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:676:55 [INFO] [stdout] | [INFO] [stdout] 676 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:679:77 [INFO] [stdout] | [INFO] [stdout] 679 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:686:42 [INFO] [stdout] | [INFO] [stdout] 686 | ... enum_name: e.lookup(self.ctx).name, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:688:39 [INFO] [stdout] | [INFO] [stdout] 688 | ... 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:693:52 [INFO] [stdout] | [INFO] [stdout] 693 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len(), *span); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:693:85 [INFO] [stdout] | [INFO] [stdout] 693 | let g = self.fresh_infer_tys(e.lookup(self.ctx).generics.len(), *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:696:75 [INFO] [stdout] | [INFO] [stdout] 696 | let a = self.lower_constructor("enum variant", v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:711:86 [INFO] [stdout] | [INFO] [stdout] 711 | PExpressionData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:713:34 [INFO] [stdout] | [INFO] [stdout] 713 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:715:44 [INFO] [stdout] | [INFO] [stdout] 715 | let g = self.lower_tys(g, true, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:717:55 [INFO] [stdout] | [INFO] [stdout] 717 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:719:66 [INFO] [stdout] | [INFO] [stdout] 719 | let s = self.ctx.enum_variant_constructor(e, *v)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:720:68 [INFO] [stdout] | [INFO] [stdout] 720 | let a = self.lower_constructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:720:76 [INFO] [stdout] | [INFO] [stdout] 720 | let a = self.lower_constructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:722:67 [INFO] [stdout] | [INFO] [stdout] 722 | LExpressionData::EnumConstructor(e.into(), g, *v, a) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:729:34 [INFO] [stdout] | [INFO] [stdout] 729 | variant: *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:730:35 [INFO] [stdout] | [INFO] [stdout] 730 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:734:74 [INFO] [stdout] | [INFO] [stdout] 734 | PExpressionData::Allocate(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:740:39 [INFO] [stdout] | [INFO] [stdout] 740 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:741:41 [INFO] [stdout] | [INFO] [stdout] 741 | ... def_span: o.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:745:34 [INFO] [stdout] | [INFO] [stdout] 745 | let info = o.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct PObject { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PObject: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:750:39 [INFO] [stdout] | [INFO] [stdout] 750 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:754:44 [INFO] [stdout] | [INFO] [stdout] 754 | let g = self.lower_tys(g, true, true)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&g` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:756:55 [INFO] [stdout] | [INFO] [stdout] 756 | self.check_generics_parity(g, *span, info.generics.len(), info.span, true)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:759:77 [INFO] [stdout] | [INFO] [stdout] 759 | let a = self.lower_constructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PConstructorArguments`, found enum `ast::PConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:770:35 [INFO] [stdout] | [INFO] [stdout] 770 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:778:88 [INFO] [stdout] | [INFO] [stdout] 778 | | ScopeKind::AsyncGenerator => LExpressionData::Return(self.lower_expr(*v)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:780:62 [INFO] [stdout] | [INFO] [stdout] 780 | return Err(AError::IllegalReturn { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:784:80 [INFO] [stdout] | [INFO] [stdout] 784 | ScopeKind::Generator => LExpressionData::Yield(self.lower_expr(*v)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:793:39 [INFO] [stdout] | [INFO] [stdout] 793 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:796:62 [INFO] [stdout] | [INFO] [stdout] 796 | ... vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:798:62 [INFO] [stdout] | [INFO] [stdout] 798 | ... vec![(0, self.lower_expr(*v)?)], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:801:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 801 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:807:62 [INFO] [stdout] | [INFO] [stdout] 807 | return Err(AError::IllegalReturn { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:812:87 [INFO] [stdout] | [INFO] [stdout] 812 | LExpressionData::Call(assert.into(), vec![], vec![self.lower_expr(*v)?]) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:819:37 [INFO] [stdout] | [INFO] [stdout] 819 | self.lower_expr(*e)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:823:31 [INFO] [stdout] | [INFO] [stdout] 823 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:826:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 826 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:829:34 [INFO] [stdout] | [INFO] [stdout] 829 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:835:34 [INFO] [stdout] | [INFO] [stdout] 835 | let s = l.map_or(*span, |(s, _)| s); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/expr.rs:843:46 [INFO] [stdout] | [INFO] [stdout] 843 | let ps = self.lower_patterns(ps)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ps` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:844:41 [INFO] [stdout] | [INFO] [stdout] 844 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:845:39 [INFO] [stdout] | [INFO] [stdout] 845 | let r = self.lower_ty(*r, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:852:20 [INFO] [stdout] | [INFO] [stdout] 852 | if *a { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:864:41 [INFO] [stdout] | [INFO] [stdout] 864 | let e = self.lower_expr(*e)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:865:39 [INFO] [stdout] | [INFO] [stdout] 865 | let r = self.lower_ty(*r, true, true)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:869:28 [INFO] [stdout] | [INFO] [stdout] 869 | let y = if *a { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:874:37 [INFO] [stdout] | [INFO] [stdout] 874 | ... span: y.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PType { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:876:47 [INFO] [stdout] | [INFO] [stdout] 876 | ... self.lower_ty(*y, true, true)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:879:26 [INFO] [stdout] | [INFO] [stdout] 879 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:884:35 [INFO] [stdout] | [INFO] [stdout] 884 | self.lower_ty(*y, true, true)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:891:67 [INFO] [stdout] | [INFO] [stdout] 891 | PExpressionData::Throw(t) => self.lower_expr_throw(e, *span, *t)?, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:891:74 [INFO] [stdout] | [INFO] [stdout] 891 | PExpressionData::Throw(t) => self.lower_expr_throw(e, *span, *t)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:893:41 [INFO] [stdout] | [INFO] [stdout] 893 | let a = self.lower_expr(*a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:894:41 [INFO] [stdout] | [INFO] [stdout] 894 | let i = self.lower_expr(*i)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:897:41 [INFO] [stdout] | [INFO] [stdout] 897 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:899:45 [INFO] [stdout] | [INFO] [stdout] 899 | self.fresh_infer_tys(1, *span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:903:21 [INFO] [stdout] | [INFO] [stdout] 903 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:57 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:63 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:70 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:907:94 [INFO] [stdout] | [INFO] [stdout] 907 | LExpressionData::Access(self.lower_expr(*o)?, *span, *i, self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:911:29 [INFO] [stdout] | [INFO] [stdout] 911 | number: *i, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:912:27 [INFO] [stdout] | [INFO] [stdout] 912 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:916:37 [INFO] [stdout] | [INFO] [stdout] 916 | self.lower_expr(*o)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:917:21 [INFO] [stdout] | [INFO] [stdout] 917 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:919:41 [INFO] [stdout] | [INFO] [stdout] 919 | self.fresh_infer_ty(*span), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:930:39 [INFO] [stdout] | [INFO] [stdout] 930 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:937:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 937 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:942:46 [INFO] [stdout] | [INFO] [stdout] 942 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:942:53 [INFO] [stdout] | [INFO] [stdout] 942 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:951:39 [INFO] [stdout] | [INFO] [stdout] 951 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:954:62 [INFO] [stdout] | [INFO] [stdout] 954 | ... vec![self.fresh_infer_ty(*span)], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:959:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 959 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:964:46 [INFO] [stdout] | [INFO] [stdout] 964 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:964:53 [INFO] [stdout] | [INFO] [stdout] 964 | self.lower_expr_await(e, *span, *a, await_incomplete_value)? [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:967:61 [INFO] [stdout] | [INFO] [stdout] 967 | return Err(AError::IllegalAwait { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:977:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 977 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1030:39 [INFO] [stdout] | [INFO] [stdout] 1030 | span: call_ty.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTraitType` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1034:22 [INFO] [stdout] | [INFO] [stdout] 1034 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LTraitType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LTraitType { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTraitType: Intern` [INFO] [stdout] | doesn't satisfy `LTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitType: Lookup` [INFO] [stdout] which is required by `LTraitType: Intern` [INFO] [stdout] `<raitType: Lookup` [INFO] [stdout] which is required by `<raitType: Intern` [INFO] [stdout] `&mut LTraitType: Lookup` [INFO] [stdout] which is required by `&mut LTraitType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1105:18 [INFO] [stdout] | [INFO] [stdout] 1105 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1109:10 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1109 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1126: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] 1126 | .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:1130: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] 1130 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1156:26 [INFO] [stdout] | [INFO] [stdout] 1156 | .intern(self.ctx)], [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1160:18 [INFO] [stdout] | [INFO] [stdout] 1160 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1167:18 [INFO] [stdout] | [INFO] [stdout] 1167 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1171:10 [INFO] [stdout] | [INFO] [stdout] 1171 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1183: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] 1183 | .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:1186: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] 1186 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1203:18 [INFO] [stdout] | [INFO] [stdout] 1203 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1210:18 [INFO] [stdout] | [INFO] [stdout] 1210 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1214:10 [INFO] [stdout] | [INFO] [stdout] 1214 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1234:38 [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] 1234 | .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:1240:38 [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] 1240 | .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:1243:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1243 | .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 `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1246:22 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1246 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1256:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LExpression { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LExpression: Intern` [INFO] [stdout] | doesn't satisfy `LExpression: Lookup` [INFO] [stdout] ... [INFO] [stdout] 1256 | .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 `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1259 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1266: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] 1266 | .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:1269: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] 1269 | .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:1279: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] 1279 | .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:1286: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] 1286 | .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:1335: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] 1335 | .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:1344: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] 1344 | .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:1373: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] 1373 | .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:1385: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] 1385 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1424:18 [INFO] [stdout] | [INFO] [stdout] 1424 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1439: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] 1439 | .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 `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1442:10 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1442 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1460: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] 1460 | .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:1464: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] 1464 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1491:18 [INFO] [stdout] | [INFO] [stdout] 1491 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1498:18 [INFO] [stdout] | [INFO] [stdout] 1498 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1501:10 [INFO] [stdout] | [INFO] [stdout] 1501 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1525: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] 1525 | .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:1531: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] 1531 | .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:1534:26 [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] 1534 | .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 `LStatement` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1537:18 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1537 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1541: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] 1541 | .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:1552: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] 1552 | .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:1573: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] 1573 | .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:1577: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] 1577 | .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:1607: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] 1607 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1656:18 [INFO] [stdout] | [INFO] [stdout] 1656 | .intern(self.ctx)], [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1659:10 [INFO] [stdout] | [INFO] [stdout] 1659 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1665: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] 1665 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LExpression` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LExpression: Lookup` [INFO] [stdout] which is required by `LExpression: Intern` [INFO] [stdout] `&LExpression: Lookup` [INFO] [stdout] which is required by `&LExpression: Intern` [INFO] [stdout] `&mut LExpression: Lookup` [INFO] [stdout] which is required by `&mut LExpression: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1683:18 [INFO] [stdout] | [INFO] [stdout] 1683 | .intern(self.ctx)], [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LPattern` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1686:10 [INFO] [stdout] | [INFO] [stdout] 1686 | .intern(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/pattern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LPattern: Lookup` [INFO] [stdout] which is required by `LPattern: Intern` [INFO] [stdout] `&LPattern: Lookup` [INFO] [stdout] which is required by `&LPattern: Intern` [INFO] [stdout] `&mut LPattern: Lookup` [INFO] [stdout] which is required by `&mut LPattern: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1706:26 [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] 1706 | .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:1710: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] 1710 | .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:1713: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] 1713 | .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:1802:45 [INFO] [stdout] | [INFO] [stdout] 1802 | let PStatement { span, data } = &*s.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:1194:1 [INFO] [stdout] | [INFO] [stdout] 1194 | pub struct PStatement { [INFO] [stdout] | --------------------- doesn't satisfy `ast::PStatement: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PStatement: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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:1804:89 [INFO] [stdout] | [INFO] [stdout] 1804 | PStatementData::Expression(e) => LStatementData::Expression(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:1806:41 [INFO] [stdout] | [INFO] [stdout] 1806 | 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:1807:44 [INFO] [stdout] | [INFO] [stdout] 1807 | let p = self.lower_pattern(*p)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/expr.rs:1814:19 [INFO] [stdout] | [INFO] [stdout] 1814 | span: *span, [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:1817:10 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 1817 | .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[E0599]: no method named `intern` found for struct `LExpression` in the current scope [INFO] [stdout] --> src/lowering/expr.rs:1848: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] 1848 | .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/item.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let info = self.module.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: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/item.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | impls.insert(*i, self.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | impls.insert(*i, self.lower_impl(*i)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LModule` in the current scope [INFO] [stdout] --> src/lowering/item.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LModule` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LModule: Intern` [INFO] [stdout] | doesn't satisfy `LModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LModule: Lookup` [INFO] [stdout] which is required by `LModule: Intern` [INFO] [stdout] `&LModule: Lookup` [INFO] [stdout] which is required by `&LModule: Intern` [INFO] [stdout] `&mut LModule: Lookup` [INFO] [stdout] which is required by `&mut LModule: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | } = &*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 `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | let ty = self.lower_ty(*ty, false, true)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let expr = self.lower_expr(*expr)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LGlobal` in the current scope [INFO] [stdout] --> src/lowering/item.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LGlobal` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | pub struct LGlobal { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LGlobal: Intern` [INFO] [stdout] | doesn't satisfy `LGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LGlobal: Lookup` [INFO] [stdout] which is required by `LGlobal: Intern` [INFO] [stdout] `&LGlobal: Lookup` [INFO] [stdout] which is required by `&LGlobal: Intern` [INFO] [stdout] `&mut LGlobal: Lookup` [INFO] [stdout] which is required by `&mut LGlobal: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | } = &*f.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct PFunction { [INFO] [stdout] | -------------------- doesn't satisfy `ast::PFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | let return_ty = self.lower_ty(*return_ty, false, true)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LFunction` in the current scope [INFO] [stdout] --> src/lowering/item.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LFunction` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LFunction: Intern` [INFO] [stdout] | doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] which is required by `LFunction: Intern` [INFO] [stdout] `&LFunction: Lookup` [INFO] [stdout] which is required by `&LFunction: Intern` [INFO] [stdout] `&mut LFunction: Lookup` [INFO] [stdout] which is required by `&mut LFunction: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | } = &*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/item.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | 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/item.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | ... .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/item.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/item.rs:199:49 [INFO] [stdout] | [INFO] [stdout] 199 | let members = self.lower_object_members(members)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:206:28 [INFO] [stdout] | [INFO] [stdout] 206 | is_structural: *is_structural, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LObject` in the current scope [INFO] [stdout] --> src/lowering/item.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LObject` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct LObject { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LObject: Intern` [INFO] [stdout] | doesn't satisfy `LObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] which is required by `LObject: Intern` [INFO] [stdout] `&LObject: Lookup` [INFO] [stdout] which is required by `&LObject: Intern` [INFO] [stdout] `&mut LObject: Lookup` [INFO] [stdout] which is required by `&mut LObject: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | } = &*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/item.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | 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/item.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | ... .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LType` in the current scope [INFO] [stdout] --> src/lowering/item.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | .intern(self.ctx), [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/ty.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LType { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LType: Intern` [INFO] [stdout] | doesn't satisfy `LType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | 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/item.rs:289:50 [INFO] [stdout] | [INFO] [stdout] 289 | 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/item.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/item.rs:298:53 [INFO] [stdout] | [INFO] [stdout] 298 | vs.insert(*n, self.lower_object_members(v)?); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PObjectMembers`, found enum `ast::PObjectMembers` [INFO] [stdout] | help: consider borrowing here: `&v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LEnum` in the current scope [INFO] [stdout] --> src/lowering/item.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LEnum` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct LEnum { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LEnum: Intern` [INFO] [stdout] | doesn't satisfy `LEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: Lookup` [INFO] [stdout] which is required by `LEnum: Intern` [INFO] [stdout] `&LEnum: Lookup` [INFO] [stdout] which is required by `&LEnum: Intern` [INFO] [stdout] `&mut LEnum: Lookup` [INFO] [stdout] which is required by `&mut LEnum: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | } = &*t.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PTrait { [INFO] [stdout] | ----------------- doesn't satisfy `ast::PTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTrait: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 331 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:336:23 [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/item.rs:338:14 [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 `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:355:54 [INFO] [stdout] | [INFO] [stdout] 355 | 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/item.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | 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/item.rs:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:359:35 [INFO] [stdout] | [INFO] [stdout] 359 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:364:34 [INFO] [stdout] | [INFO] [stdout] 364 | types.insert(*n, self.lower_trait_tys_with_bindings(ts, false, true)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/item.rs:364:73 [INFO] [stdout] | [INFO] [stdout] 364 | types.insert(*n, self.lower_trait_tys_with_bindings(ts, false, true)?); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&ts` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 375 | 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/item.rs:375:61 [INFO] [stdout] | [INFO] [stdout] 375 | 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/item.rs:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 404 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:410:51 [INFO] [stdout] | [INFO] [stdout] 410 | let return_ty = self.lower_ty(*return_ty, false, true)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 416 | methods.insert(*name, LTraitMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:419:31 [INFO] [stdout] | [INFO] [stdout] 419 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTrait` in the current scope [INFO] [stdout] --> src/lowering/item.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTrait` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct LTrait { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTrait: Intern` [INFO] [stdout] | doesn't satisfy `LTrait: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTrait: Lookup` [INFO] [stdout] which is required by `LTrait: Intern` [INFO] [stdout] `<rait: Lookup` [INFO] [stdout] which is required by `<rait: Intern` [INFO] [stdout] `&mut LTrait: Lookup` [INFO] [stdout] which is required by `&mut LTrait: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | } = &*i.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct PImpl { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:468:32 [INFO] [stdout] | [INFO] [stdout] 468 | let ty = self.lower_ty(*ty, false, true)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:473:48 [INFO] [stdout] | [INFO] [stdout] 473 | let trait_ty = self.lower_trait_ty(*trait_ty, false, true)?; [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/item.rs:475:43 [INFO] [stdout] | [INFO] [stdout] 475 | if LScopeItem::Trait(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/item.rs:478:68 [INFO] [stdout] | [INFO] [stdout] 478 | return Err(AError::CannotImplementConcrete { 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/item.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 482 | .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/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[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | && self.module.lookup(self.ctx).parent.get(self.ctx) != self.ctx.parse_lang()? [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 `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:493:51 [INFO] [stdout] | [INFO] [stdout] 493 | return Err(AError::Orphan { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:510:54 [INFO] [stdout] | [INFO] [stdout] 510 | 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/item.rs:510:58 [INFO] [stdout] | [INFO] [stdout] 510 | 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/item.rs:513:35 [INFO] [stdout] | [INFO] [stdout] 513 | ... name: *n, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:514:35 [INFO] [stdout] | [INFO] [stdout] 514 | ... span: *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | types.insert(*n, self.lower_ty(*t, false, true)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:519:52 [INFO] [stdout] | [INFO] [stdout] 519 | types.insert(*n, self.lower_ty(*t, false, true)?); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:531:54 [INFO] [stdout] | [INFO] [stdout] 531 | 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/item.rs:531:61 [INFO] [stdout] | [INFO] [stdout] 531 | 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/item.rs:534:35 [INFO] [stdout] | [INFO] [stdout] 534 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:535:35 [INFO] [stdout] | [INFO] [stdout] 535 | ... span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:566:51 [INFO] [stdout] | [INFO] [stdout] 566 | let return_ty = self.lower_ty(*return_ty, false, true)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:570:48 [INFO] [stdout] | [INFO] [stdout] 570 | let body = self.lower_expr(*body)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:574:36 [INFO] [stdout] | [INFO] [stdout] 574 | methods.insert(*name, LImplMethod { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:576:31 [INFO] [stdout] | [INFO] [stdout] 576 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:577:31 [INFO] [stdout] | [INFO] [stdout] 577 | name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/item.rs:664:19 [INFO] [stdout] | [INFO] [stdout] 664 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LImpl` in the current scope [INFO] [stdout] --> src/lowering/item.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 672 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LImpl` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | pub struct LImpl { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LImpl: Intern` [INFO] [stdout] | doesn't satisfy `LImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LImpl: Lookup` [INFO] [stdout] which is required by `LImpl: Intern` [INFO] [stdout] `&LImpl: Lookup` [INFO] [stdout] which is required by `&LImpl: Intern` [INFO] [stdout] `&mut LImpl: Lookup` [INFO] [stdout] which is required by `&mut LImpl: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/item.rs:693:19 [INFO] [stdout] | [INFO] [stdout] 693 | match &ty.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/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 `source` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/item.rs:708:47 [INFO] [stdout] | [INFO] [stdout] 708 | LTypeData::Object(o, _) => Some(o.source().lookup(self.ctx).parent.get(self.ctx)), [INFO] [stdout] | ^^^^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `source` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct LObject { [INFO] [stdout] | ------------------ doesn't satisfy `LObject: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `source` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LObject: Lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for struct `LId` in the current scope [INFO] [stdout] --> src/lowering/item.rs:709:45 [INFO] [stdout] | [INFO] [stdout] 709 | LTypeData::Enum(e, _) => Some(e.source().lookup(self.ctx).parent.get(self.ctx)), [INFO] [stdout] | ^^^^^^ method not found in `LId` [INFO] [stdout] | [INFO] [stdout] ::: src/util/lid.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LId(pub Id, SyncOnceCell>); [INFO] [stdout] | ------------------------------------------------------------------------------- method `source` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct LEnum { [INFO] [stdout] | ---------------- doesn't satisfy `LEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `source` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LEnum: 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/pattern.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | let PPattern { span, ty, data } = &*p.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:1222:1 [INFO] [stdout] | [INFO] [stdout] 1222 | pub struct PPattern { [INFO] [stdout] | ------------------- doesn't satisfy `ast::PPattern: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PPattern: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/pattern.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | Some(self.lower_ty(*ty, true, true)?) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:41:86 [INFO] [stdout] | [INFO] [stdout] 41 | PPatternData::Underscore => LPatternData::Underscore(self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ast::PLiteral` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:42:82 [INFO] [stdout] | [INFO] [stdout] 42 | PPatternData::Literal(l) => LPatternData::Literal(self.lower_literal(*l, *span)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 42 | PPatternData::Literal(l) => LPatternData::Literal(self.lower_literal(*l, *span)?), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | ty.unwrap_or_else(|| self.fresh_infer_ty(*span)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:51:80 [INFO] [stdout] | [INFO] [stdout] 51 | PPatternData::Tuple(ps) => LPatternData::Tuple(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[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:52:82 [INFO] [stdout] | [INFO] [stdout] 52 | PPatternData::StructuralAmbiguous(p, g, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/pattern.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | 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/pattern.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | 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/pattern.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | 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/pattern.rs:68:76 [INFO] [stdout] | [INFO] [stdout] 68 | let a = self.lower_destructor("object", info.name, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PPatternConstructorArguments`, found enum `ast::PPatternConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/pattern.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | ... 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/pattern.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | ... 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/pattern.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 82 | 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/pattern.rs:82:85 [INFO] [stdout] | [INFO] [stdout] 82 | 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/pattern.rs:85:74 [INFO] [stdout] | [INFO] [stdout] 85 | let a = self.lower_destructor("enum variant", v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PPatternConstructorArguments`, found enum `ast::PPatternConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:100:83 [INFO] [stdout] | [INFO] [stdout] 100 | PPatternData::StructuralVariant(p, g, v, a) => match self.lookup_path(p)? { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&p` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[(Span, Id)]` [INFO] [stdout] found struct `Vec<(Span, Id)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/pattern.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let info = e.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct PEnum { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PEnum: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PEnum: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | 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/pattern.rs:106:55 [INFO] [stdout] | [INFO] [stdout] 106 | 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/pattern.rs:108:66 [INFO] [stdout] | [INFO] [stdout] 108 | 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/pattern.rs:109:67 [INFO] [stdout] | [INFO] [stdout] 109 | let a = self.lower_destructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/pattern.rs:109:75 [INFO] [stdout] | [INFO] [stdout] 109 | let a = self.lower_destructor("enum variant", *v, &s, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&ast::PPatternConstructorArguments`, found enum `ast::PPatternConstructorArguments` [INFO] [stdout] | help: consider borrowing here: `&a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:111:67 [INFO] [stdout] | [INFO] [stdout] 111 | LPatternData::EnumVariantPattern(e.into(), g, *v, a) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | variant: *v, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/pattern.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | 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/pattern.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] ... [INFO] [stdout] 130 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [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/pattern.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LPattern { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LPattern: Intern` [INFO] [stdout] | doesn't satisfy `LPattern: Lookup` [INFO] [stdout] ... [INFO] [stdout] 236 | .intern(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `LPattern` [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/ty.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | let PType { data, span } = &*t.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PType { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:67:61 [INFO] [stdout] | [INFO] [stdout] 67 | return Err(AError::IllegalInfer { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | *a, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | let generics = self.lower_tys(g, infer_allowed, assoc_allowed)?; [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 `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/ty.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | 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/ty.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | ... *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/ty.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | 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/ty.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:133:62 [INFO] [stdout] | [INFO] [stdout] 133 | let (ty, trt) = self.lower_elaborated_ty(*ty, infer_allowed, assoc_allowed)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:134:52 [INFO] [stdout] | [INFO] [stdout] 134 | LTypeData::Associated(ty, trt, *m) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | return Err(AError::IllegalAssoc { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | self.lower_tys(es, infer_allowed, assoc_allowed)?, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | self.lower_ty(*r, infer_allowed, assoc_allowed)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | self.lower_tys(es, infer_allowed, assoc_allowed)?, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | self.lower_ty(*r, infer_allowed, assoc_allowed)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:147:63 [INFO] [stdout] | [INFO] [stdout] 147 | return Err(AError::IllegalElaboration { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:158:60 [INFO] [stdout] | [INFO] [stdout] 158 | return Err(AError::IllegalSelf { span: *span }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | LTypeData::Array(self.lower_ty(*e, infer_allowed, assoc_allowed)?), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | LTypeData::Tuple(self.lower_tys(es, infer_allowed, assoc_allowed)?), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&es` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Id]` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:167:55 [INFO] [stdout] | [INFO] [stdout] 167 | self.lower_trait_ty_with_bindings(*t, infer_allowed, assoc_allowed)?; [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/ty.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LTraitTypeWithBindings { [INFO] [stdout] | --------------------------------- doesn't satisfy `LTraitTypeWithBindings: Lookup` [INFO] [stdout] ... [INFO] [stdout] 169 | let info = lowered.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] `LTraitTypeWithBindings: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/ty.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | ... trait_name: parent.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: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/ty.rs:177:39 [INFO] [stdout] | [INFO] [stdout] 177 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(LType { data, span: *span }.intern(self.ctx)) [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/ty.rs:187:40 [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] 187 | Ok(LType { data, span: *span }.intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LType` [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/ty.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | match &*t.lookup(self.ctx) { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PType { [INFO] [stdout] | ---------------- doesn't satisfy `ast::PType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | self.lower_ty(*t, infer_allowed, assoc_allowed)?, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | Some(self.lower_trait_ty(*trt, infer_allowed, assoc_allowed)?), [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/ty.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | } = &*t.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | pub struct PTraitType { [INFO] [stdout] | --------------------- doesn't satisfy `ast::PTraitType: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTraitType: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/ty.rs:236:41 [INFO] [stdout] | [INFO] [stdout] 236 | let tr = match self.lookup_path(path)? { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&path` [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/ty.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:251:39 [INFO] [stdout] | [INFO] [stdout] 251 | let generics = self.lower_tys(generics, infer_allowed, assoc_allowed)?; [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/ty.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTraitType` in the current scope [INFO] [stdout] --> src/lowering/ty.rs:265:10 [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] 265 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTraitType` [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/ty.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | match &*t.lookup(self.ctx) { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:586:1 [INFO] [stdout] | [INFO] [stdout] 586 | pub enum PTraitTypeWithBindings { [INFO] [stdout] | ------------------------------- doesn't satisfy `ast::PTraitTypeWithBindings: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PTraitTypeWithBindings: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/ty.rs:281:49 [INFO] [stdout] | [INFO] [stdout] 281 | let tr = match self.lookup_path(path)? { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&path` [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/ty.rs:289:39 [INFO] [stdout] | [INFO] [stdout] 289 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | let generics = self.lower_tys(generics, infer_allowed, assoc_allowed)?; [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/ty.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:310:53 [INFO] [stdout] | [INFO] [stdout] 310 | if !trait_bindings.contains_key(name) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Id`, found struct `Id` [INFO] [stdout] | help: consider borrowing here: `&name` [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/ty.rs:317:41 [INFO] [stdout] | [INFO] [stdout] 317 | ... child_name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | ... use_span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:322:60 [INFO] [stdout] | [INFO] [stdout] 322 | if let Some(old_span) = lowered_at.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/ty.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | ... name: *name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | ... span2: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:330:39 [INFO] [stdout] | [INFO] [stdout] 330 | lowered_at.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:330:46 [INFO] [stdout] | [INFO] [stdout] 330 | lowered_at.insert(*name, *span); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | .insert(*name, self.lower_ty(*ty, infer_allowed, assoc_allowed)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:332:54 [INFO] [stdout] | [INFO] [stdout] 332 | .insert(*name, self.lower_ty(*ty, infer_allowed, assoc_allowed)?); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.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 `LTraitTypeWithBindings` in the current scope [INFO] [stdout] --> src/lowering/ty.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LTraitTypeWithBindings { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTraitTypeWithBindings: Intern` [INFO] [stdout] | doesn't satisfy `LTraitTypeWithBindings: Lookup` [INFO] [stdout] ... [INFO] [stdout] 341 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTraitTypeWithBindings` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `LTraitTypeWithBindings: Intern` [INFO] [stdout] `<raitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `<raitTypeWithBindings: Intern` [INFO] [stdout] `&mut LTraitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `&mut LTraitTypeWithBindings: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowering/ty.rs:351:59 [INFO] [stdout] | [INFO] [stdout] 351 | data: LTypeData::Tuple(self.lower_tys(params, infer_allowed, assoc_allowed)?), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Id]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `¶ms` [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/ty.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | 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/ty.rs:354:18 [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] 354 | .intern(self.ctx)]; [INFO] [stdout] | ^^^^^^ method not found in `LType` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LType: Lookup` [INFO] [stdout] which is required by `LType: Intern` [INFO] [stdout] `<ype: Lookup` [INFO] [stdout] which is required by `<ype: Intern` [INFO] [stdout] `&mut LType: Lookup` [INFO] [stdout] which is required by `&mut LType: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:356:92 [INFO] [stdout] | [INFO] [stdout] 356 | let bindings = btreemap! { self.ctx.static_name("Return") => self.lower_ty(*ret, infer_allowed, assoc_allowed)? }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Span` cannot be dereferenced [INFO] [stdout] --> src/lowering/ty.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 359 | span: *span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern` found for struct `LTraitTypeWithBindings` in the current scope [INFO] [stdout] --> src/lowering/ty.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct LTraitTypeWithBindings { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `LTraitTypeWithBindings: Intern` [INFO] [stdout] | doesn't satisfy `LTraitTypeWithBindings: Lookup` [INFO] [stdout] ... [INFO] [stdout] 364 | .intern(self.ctx)) [INFO] [stdout] | ^^^^^^ method not found in `LTraitTypeWithBindings` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LTraitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `LTraitTypeWithBindings: Intern` [INFO] [stdout] `<raitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `<raitTypeWithBindings: Intern` [INFO] [stdout] `&mut LTraitTypeWithBindings: Lookup` [INFO] [stdout] which is required by `&mut LTraitTypeWithBindings: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/lowering/uses.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | 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/uses.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | 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/uses.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 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/uses.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | 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/uses.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | 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/uses.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | 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/uses.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | 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/uses.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let module = key.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/uses.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | let u = u.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:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PUse { [INFO] [stdout] | --------------- doesn't satisfy `ast::PUse: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PUse: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/uses.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... *s, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/lowering/uses.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 309 | 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[E0277]: the trait bound `ast::PModule: Lookup` is not satisfied [INFO] [stdout] --> src/lowering/uses.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | Pretty(&module, 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: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `&Option>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, &Option>>` [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/lowering/uses.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | Pretty(&module, 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: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `&Option>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, &Option>>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [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/parser/mod.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | ctx.parse_mod(ctx.mod_tree_root().lookup(ctx).children["std"]) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/parser/mod.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | ctx.mod_tree_root().lookup(ctx).children["std"] [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/parser/mod.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let name = if let Some(name) = file_id.lookup(ctx).mod_path.last() { [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 `ast::PModule` in the current scope [INFO] [stdout] --> src/parser/mod.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | .intern(ctx); [INFO] [stdout] | ^^^^^^ method not found in `ast::PModule` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | method `intern` not found for this [INFO] [stdout] | doesn't satisfy `ast::PModule: Intern` [INFO] [stdout] | doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `intern` exists but the following trait bounds were not satisfied: [INFO] [stdout] `ast::PModule: Lookup` [INFO] [stdout] which is required by `ast::PModule: Intern` [INFO] [stdout] `&ast::PModule: Lookup` [INFO] [stdout] which is required by `&ast::PModule: Intern` [INFO] [stdout] `&mut ast::PModule: Lookup` [INFO] [stdout] which is required by `&mut ast::PModule: Intern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] --> src/parser/ast.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PModule { [INFO] [stdout] | ------------------ doesn't satisfy `ast::PModule: Lookup` [INFO] [stdout] ... [INFO] [stdout] 62 | match self.0.lookup(ctx).source.lookup(ctx).mod_path.as_slice() { [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] `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] | [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/read.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let file = file_id.lookup(ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/read.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let path = file_id.lookup(ctx).path.clone().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/read.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let path = file_id.lookup(ctx).path.clone().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AFile { [INFO] [stdout] | ---------------- doesn't satisfy `AFile: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `AFile: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Id` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/util/id.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id(NonZeroU32, PhantomData); [INFO] [stdout] | ----------------------------------------------------- method `lookup` not found for this [INFO] [stdout] --> src/translate/mod.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | for f in m.lookup(self.ctx).functions.values() { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [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] | [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/translate/mod.rs:142:48 [INFO] [stdout] | [INFO] [stdout] 142 | other_span: other_main.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | for m in m.lookup(self.ctx).modules.values() { [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct LModule { [INFO] [stdout] | ------------------ doesn't satisfy `LModule: Lookup` [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 mutable reference `&mut Id` in the current scope [INFO] [stdout] --> src/translate/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | span: main.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `&mut Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | other_span: other_main.lookup(self.ctx).span, [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | Pretty(id.lookup(self.ctx).name, self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | pub struct LGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `LGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | let info = id.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | pub struct LGlobal { [INFO] [stdout] | ------------------ doesn't satisfy `LGlobal: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LGlobal: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | let info = fun.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct LFunction { [INFO] [stdout] | -------------------- doesn't satisfy `LFunction: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LFunction: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | let impl_info = imp.lookup(self.ctx); [INFO] [stdout] | ^^^^^^ method not found in `Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | pub struct LImpl { [INFO] [stdout] | ---------------- doesn't satisfy `LImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GenericId: PrettyPrint` is not satisfied [INFO] [stdout] --> src/translate/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | Pretty(&substitutions, self.ctx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrettyPrint` is not implemented for `GenericId` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `BTreeMap>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `&BTreeMap>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, &BTreeMap>>` [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 `TType: Lookup` is not satisfied [INFO] [stdout] --> src/translate/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | Pretty(&substitutions, self.ctx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Lookup` is not implemented for `TType` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `Id` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `PrettyPrint` for `&BTreeMap>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Debug` for `Pretty<'_, &BTreeMap>>` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/translate/mod.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | .lookup(self.ctx) [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/lowering/mod.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | pub struct LImpl { [INFO] [stdout] | ---------------- doesn't satisfy `LImpl: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LImpl: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Lookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/translate/mod.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | let impl_generics = id [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/translate/mod.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | let impl_generics = id [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 340 | | .lookup(self.ctx) [INFO] [stdout] 341 | | .generics [INFO] [stdout] 342 | | .iter() [INFO] [stdout] 343 | | .map(|g| self.translate_tty(substitutions[&g.id])) [INFO] [stdout] 344 | | .try_collect_vec()?; [INFO] [stdout] | |_______________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/translate/mod.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 344 | .try_collect_vec()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup` found for reference `&Id` in the current scope [INFO] [stdout] --> src/translate/mod.rs:353:41 [INFO] [stdout] | [INFO] [stdout] 353 | let trait_ty = trait_ty.lookup(self.ctx).0; [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct TTraitTypeWithBindings(pub Id, pub BTreeMap, Id>); [INFO] [stdout] | ---------------------------------------------------------------------------------------- doesn't satisfy `TTraitTypeWithBindings: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TTraitTypeWithBindings: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [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/translate/mod.rs:357:48 [INFO] [stdout] | [INFO] [stdout] 357 | let id = CFunctionId::Dispatch(*tr, ctrait_generics, name); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Id` cannot be dereferenced [INFO] [stdout] --> src/translate/mod.rs:360:75 [INFO] [stdout] | [INFO] [stdout] 360 | let ordering = self.typechecker.do_goal_object_safety(*tr, 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/translate/mod.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | let trait_ty = trait_ty.lookup(self.ctx).0; [INFO] [stdout] | ^^^^^^ method not found in `&Id` [INFO] [stdout] | [INFO] [stdout] ::: src/typechecker/ty.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct TTraitTypeWithBindings(pub Id, pub BTreeMap, Id>); [INFO] [stdout] | ---------------------------------------------------------------------------------------- doesn't satisfy `TTraitTypeWithBindings: Lookup` [INFO] [stdout] | [INFO] [stdout] = note: the method `lookup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TTraitTypeWithBindings: Lookup` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Lookup` defines an item `lookup`, perhaps you need to implement it [INFO] [stdout] --> src/util/id.rs:78:1 [WARN] too many lines in the log, truncating it