[INFO] fetching crate crustacean 0.3.1... [INFO] documenting crustacean-0.3.1 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate crustacean 0.3.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate crustacean 0.3.1 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crustacean 0.3.1 [INFO] finished tweaking crates.io crate crustacean 0.3.1 [INFO] tweaked toml for crates.io crate crustacean 0.3.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.11.1 [INFO] [stderr] Downloaded clang v0.14.1 [INFO] [stderr] Downloaded clang-sys v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9cc67822150741bbe2897c77587db92e096e7cfff1176f80b27d813b512ce1f8 [INFO] running `Command { std: "docker" "start" "-a" "9cc67822150741bbe2897c77587db92e096e7cfff1176f80b27d813b512ce1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cc67822150741bbe2897c77587db92e096e7cfff1176f80b27d813b512ce1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc67822150741bbe2897c77587db92e096e7cfff1176f80b27d813b512ce1f8", kill_on_drop: false }` [INFO] [stdout] 9cc67822150741bbe2897c77587db92e096e7cfff1176f80b27d813b512ce1f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 759c7895b9af8a4095673a8b2f086e000ed789ef859b9ce9c29879b13b60236a [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" "759c7895b9af8a4095673a8b2f086e000ed789ef859b9ce9c29879b13b60236a", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling clang-sys v0.13.0 [INFO] [stderr] Compiling clang-sys v0.11.1 [INFO] [stderr] Checking clang v0.14.1 [INFO] [stderr] Documenting crustacean v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::c`, `super::super::GeneratorOptions` [INFO] [stdout] --> src/ast/rust.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use super::c; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | use super::super::{GeneratorOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/ast/c.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Pointer(Mutability, Box), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl IntoRust>> for c::Enum { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | impl IntoRust>> for c::Enum { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn into_rust(self, options: &GeneratorOptions) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 34 | impl IntoRust>> for c::Enum { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 35 | fn into_rust(self, options: &GeneratorOptions) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | impl IntoRust for c::Field { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | fn into_rust(self, options: &GeneratorOptions) -> StructField { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | impl IntoRust> for c::Field { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:94:59 [INFO] [stdout] | [INFO] [stdout] 93 | impl IntoRust> for c::Field { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 94 | fn into_rust(self, options: &GeneratorOptions) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | impl IntoRust for c::Function { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | fn into_rust(self, options: &GeneratorOptions) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | impl IntoRust> for c::Function { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | impl IntoRust> for c::Function { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:124:57 [INFO] [stdout] | [INFO] [stdout] 123 | impl IntoRust> for c::Function { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 124 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | impl IntoRust> for c::Function { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | impl IntoRust> for c::Function { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:142:57 [INFO] [stdout] | [INFO] [stdout] 141 | impl IntoRust> for c::Function { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 142 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | impl IntoRust for c::Parameter { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:148:55 [INFO] [stdout] | [INFO] [stdout] 148 | fn into_rust(self, options: &GeneratorOptions) -> Arg { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | fn into_rust(self, options: &GeneratorOptions) -> (Vec>, Vec>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:154:62 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 154 | fn into_rust(self, options: &GeneratorOptions) -> (Vec>, Vec>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:154:74 [INFO] [stdout] | [INFO] [stdout] 154 | fn into_rust(self, options: &GeneratorOptions) -> (Vec>, Vec>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:154:76 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 154 | fn into_rust(self, options: &GeneratorOptions) -> (Vec>, Vec>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | impl IntoRust> for c::Type { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | impl IntoRust> for c::Type { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:183:55 [INFO] [stdout] | [INFO] [stdout] 183 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:183:57 [INFO] [stdout] | [INFO] [stdout] 182 | impl IntoRust> for c::Type { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 183 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | impl IntoRust> for c::Typedef { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | impl IntoRust> for c::Typedef { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:214:55 [INFO] [stdout] | [INFO] [stdout] 214 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:214:57 [INFO] [stdout] | [INFO] [stdout] 213 | impl IntoRust> for c::Typedef { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 214 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | impl IntoRust> for c::Variant { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | impl IntoRust> for c::Variant { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:221:55 [INFO] [stdout] | [INFO] [stdout] 221 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:221:57 [INFO] [stdout] | [INFO] [stdout] 220 | impl IntoRust> for c::Variant { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 221 | fn into_rust(self, options: &GeneratorOptions) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:237:44 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:241:42 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn to_arg_ident>(span: Span, ty: P, ident: S) -> Arg { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:241:52 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn to_arg_ident>(span: Span, ty: P, ident: S) -> Arg { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:241:54 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn to_arg_ident>(span: Span, ty: P, ident: S) -> Arg { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:241:72 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn to_arg_ident>(span: Span, ty: P, ident: S) -> Arg { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn to_attribute(span: Span, value: MetaItem, doc: bool) -> Attribute { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:247:40 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn to_attribute(span: Span, value: MetaItem, doc: bool) -> Attribute { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:247:64 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn to_attribute(span: Span, value: MetaItem, doc: bool) -> Attribute { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn to_attribute_doc(span: Span, doc: &str) -> Attribute { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:257:51 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn to_attribute_doc(span: Span, doc: &str) -> Attribute { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | span: Span, outer: O, inner: &[I] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:266:6 [INFO] [stdout] | [INFO] [stdout] 266 | ) -> Attribute { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn to_block(span: Span, stmts: Vec) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> src/ast/rust.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn to_block(span: Span, stmts: Vec) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn to_block(span: Span, stmts: Vec) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/ast/rust.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn to_block(span: Span, stmts: Vec) -> P { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_expr(span: Span, node: ExprKind) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_expr(span: Span, node: ExprKind) -> P { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:284:47 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_expr(span: Span, node: ExprKind) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:284:49 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_expr(span: Span, node: ExprKind) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:48 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:66 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:68 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:78 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:288:80 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn to_expr_addr_of(span: Span, mutability: Mutability, expr: P) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:41 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:65 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:67 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:78 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:292:80 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn to_expr_call(span: Span, callee: P, arguments: Vec>) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:296:43 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_expr_field>(span: Span, struct_: P, ident: S) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:296:58 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_expr_field>(span: Span, struct_: P, ident: S) -> P { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:296:60 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_expr_field>(span: Span, struct_: P, ident: S) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:296:80 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_expr_field>(span: Span, struct_: P, ident: S) -> P { [INFO] [stdout] | - similarly named type parameter `S` defined here ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:296:82 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn to_expr_field>(span: Span, struct_: P, ident: S) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn to_expr_neg(span: Span, expr: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn to_expr_neg(span: Span, expr: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn to_expr_neg(span: Span, expr: P) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:300:50 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn to_expr_neg(span: Span, expr: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:300:52 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn to_expr_neg(span: Span, expr: P) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn to_expr_path(span: Span, path: Path) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ast/rust.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn to_expr_path(span: Span, path: Path) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:304:48 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn to_expr_path(span: Span, path: Path) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:304:50 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn to_expr_path(span: Span, path: Path) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:308:26 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn to_expr_lit(span: Span, node: LitKind) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn to_expr_lit(span: Span, node: LitKind) -> P { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:308:50 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn to_expr_lit(span: Span, node: LitKind) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:308:52 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn to_expr_lit(span: Span, node: LitKind) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn to_expr_lit_int(span: Span, value: u64) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:312:51 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn to_expr_lit_int(span: Span, value: u64) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:312:53 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn to_expr_lit_int(span: Span, value: u64) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn to_fn_decl(inputs: Vec, output: FunctionRetTy, variadic: bool) -> P { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionRetTy` in this scope [INFO] [stdout] --> src/ast/rust.rs:316:45 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn to_fn_decl(inputs: Vec, output: FunctionRetTy, variadic: bool) -> P { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:316:79 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn to_fn_decl(inputs: Vec, output: FunctionRetTy, variadic: bool) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:316:81 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn to_fn_decl(inputs: Vec, output: FunctionRetTy, variadic: bool) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn to_foreign_item>(span: Span, ident: S, node: ForeignItemKind) -> ForeignItem { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItemKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:320:67 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn to_foreign_item>(span: Span, ident: S, node: ForeignItemKind) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:320:87 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn to_foreign_item>(span: Span, ident: S, node: ForeignItemKind) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:331:48 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn to_foreign_item_fn>(span: Span, ident: S, decl: P) -> ForeignItem { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:331:70 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn to_foreign_item_fn>(span: Span, ident: S, decl: P) -> ForeignItem { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:331:72 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn to_foreign_item_fn>(span: Span, ident: S, decl: P) -> ForeignItem { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, FnDecl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:331:84 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn to_foreign_item_fn>(span: Span, ident: S, decl: P) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/ast/rust.rs:335:45 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn to_ident>(ident: S) -> Ident { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn to_impl_item>(span: Span, ident: S, node: ImplItemKind) -> ImplItem { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItemKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:339:64 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn to_impl_item>(span: Span, ident: S, node: ImplItemKind) -> ImplItem { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:339:81 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn to_impl_item>(span: Span, ident: S, node: ImplItemKind) -> ImplItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:11 [INFO] [stdout] | [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:57 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_impl_item_method>( [INFO] [stdout] | - similarly named type parameter `S` defined here [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_impl_item_method>( [INFO] [stdout] | - help: you might be missing a type parameter: `, FnDecl` [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:75 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_impl_item_method>( [INFO] [stdout] | - similarly named type parameter `S` defined here [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/ast/rust.rs:352:77 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_impl_item_method>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Block` [INFO] [stdout] 352 | span: Span, ident: S, mutability: Mutability, decl: P, block: P [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:353:6 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> ImplItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:370:11 [INFO] [stdout] | [INFO] [stdout] 370 | span: Span, ident: S, node: ItemKind, attrs: Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | span: Span, ident: S, node: ItemKind, attrs: Vec [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:370:54 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn to_item>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Attribute` [INFO] [stdout] 370 | span: Span, ident: S, node: ItemKind, attrs: Vec [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:371:6 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn to_item>( [INFO] [stdout] | - similarly named type parameter `S` defined here [INFO] [stdout] 370 | span: Span, ident: S, node: ItemKind, attrs: Vec [INFO] [stdout] 371 | ) -> P { [INFO] [stdout] | ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn to_item>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Item` [INFO] [stdout] 370 | span: Span, ident: S, node: ItemKind, attrs: Vec [INFO] [stdout] 371 | ) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:387:42 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn to_item_impl>(span: Span, ident: S, items: Vec) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:387:69 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn to_item_impl>(span: Span, ident: S, items: Vec) -> P { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, ImplItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:387:83 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn to_item_impl>(span: Span, ident: S, items: Vec) -> P { [INFO] [stdout] | - similarly named type parameter `S` defined here ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:387:85 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn to_item_impl>(span: Span, ident: S, items: Vec) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:399:41 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn to_item_mod>(span: Span, ident: S, items: Vec>) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:399:68 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn to_item_mod>(span: Span, ident: S, items: Vec>) -> P { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:399:70 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn to_item_mod>(span: Span, ident: S, items: Vec>) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:399:81 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn to_item_mod>(span: Span, ident: S, items: Vec>) -> P { [INFO] [stdout] | - similarly named type parameter `S` defined here ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:399:83 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn to_item_mod>(span: Span, ident: S, items: Vec>) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:404:39 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_item_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, StructField` [INFO] [stdout] 404 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:404:64 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_item_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Attribute` [INFO] [stdout] 404 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:405:6 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_item_struct>( [INFO] [stdout] | - similarly named type parameter `S` defined here [INFO] [stdout] 404 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] 405 | ) -> P { [INFO] [stdout] | ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn to_item_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Item` [INFO] [stdout] 404 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] 405 | ) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:411:39 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn to_item_tuple_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, StructField` [INFO] [stdout] 411 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:411:64 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn to_item_tuple_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Attribute` [INFO] [stdout] 411 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:412:6 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn to_item_tuple_struct>( [INFO] [stdout] | - similarly named type parameter `S` defined here [INFO] [stdout] 411 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] 412 | ) -> P { [INFO] [stdout] | ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn to_item_tuple_struct>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Item` [INFO] [stdout] 411 | span: Span, ident: S, fields: Vec, attrs: Vec [INFO] [stdout] 412 | ) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn to_meta_item>(span: Span, name: S, node: MetaItemKind) -> MetaItem { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItemKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:417:63 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn to_meta_item>(span: Span, name: S, node: MetaItemKind) -> MetaItem { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:417:80 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn to_meta_item>(span: Span, name: S, node: MetaItemKind) -> MetaItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn to_path>(span: Span, global: bool, segments: &[S]) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ast/rust.rs:421:76 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn to_path>(span: Span, global: bool, segments: &[S]) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:428:29 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn to_path_option(span: Span, ty: P) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:428:39 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn to_path_option(span: Span, ty: P) -> Path { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:428:41 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn to_path_option(span: Span, ty: P) -> Path { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/ast/rust.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn to_path_option(span: Span, ty: P) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn to_stmt_expr(span: Span, expr: P) -> Stmt { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:437:39 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn to_stmt_expr(span: Span, expr: P) -> Stmt { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:437:41 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn to_stmt_expr(span: Span, expr: P) -> Stmt { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> src/ast/rust.rs:437:51 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn to_stmt_expr(span: Span, expr: P) -> Stmt { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:445:45 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn to_struct_field>(span: Span, ident: Option, ty: P) -> StructField { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:445:73 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn to_struct_field>(span: Span, ident: Option, ty: P) -> StructField { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:445:75 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn to_struct_field>(span: Span, ident: Option, ty: P) -> StructField { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:445:83 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn to_struct_field>(span: Span, ident: Option, ty: P) -> StructField { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:456:20 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn to_ty(span: Span, node: TyKind) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyKind` in this scope [INFO] [stdout] --> src/ast/rust.rs:456:32 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn to_ty(span: Span, node: TyKind) -> P { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:456:43 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn to_ty(span: Span, node: TyKind) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:456:45 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn to_ty(span: Span, node: TyKind) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:460:26 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn to_ty_array(span: Span, ty: P, length: usize) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:460:36 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn to_ty_array(span: Span, ty: P, length: usize) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:460:38 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn to_ty_array(span: Span, ty: P, length: usize) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:460:61 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn to_ty_array(span: Span, ty: P, length: usize) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:460:63 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn to_ty_array(span: Span, ty: P, length: usize) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:464:40 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:464:42 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:464:54 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:464:56 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:469:40 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn to_ty_path>(span: Span, global: bool, segments: &[S]) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:469:79 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn to_ty_path>(span: Span, global: bool, segments: &[S]) -> P { [INFO] [stdout] | - similarly named type parameter `S` defined here ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:469:81 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn to_ty_path>(span: Span, global: bool, segments: &[S]) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:42 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:58 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:60 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:68 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:473:70 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn to_ty_ptr(span: Span, mutability: Mutability, ty: P) -> P { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn span(&mut self, span: Span) -> &mut Generator { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 109 | impl Generator { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn generate(&mut self) -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | pub span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:311:82 [INFO] [stdout] | [INFO] [stdout] 311 | fn generate_typedefs(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:311:84 [INFO] [stdout] | [INFO] [stdout] 311 | fn generate_typedefs(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Vec> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:324:79 [INFO] [stdout] | [INFO] [stdout] 324 | fn generate_enums(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:324:81 [INFO] [stdout] | [INFO] [stdout] 324 | fn generate_enums(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Vec> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:338:75 [INFO] [stdout] | [INFO] [stdout] 338 | options: &GeneratorOptions, tus: &[TranslationUnit], nested: &mut Vec> [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:338:77 [INFO] [stdout] | [INFO] [stdout] 337 | fn generate_records( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 338 | options: &GeneratorOptions, tus: &[TranslationUnit], nested: &mut Vec> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 337 | fn generate_records( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 338 | options: &GeneratorOptions, tus: &[TranslationUnit], nested: &mut Vec> [INFO] [stdout] 339 | ) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:359:86 [INFO] [stdout] | [INFO] [stdout] 359 | fn generate_functions(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Option> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:359:88 [INFO] [stdout] | [INFO] [stdout] 359 | fn generate_functions(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Option> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | fn is_ty(item: &Item) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 203 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `crustacean` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name crustacean src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=205a286ac1a9997e -L dependency=/opt/rustwide/target/debug/deps --extern clang=/opt/rustwide/target/debug/deps/libclang-7d661ea144569dd6.rmeta --extern clang_sys=/opt/rustwide/target/debug/deps/libclang_sys-854976e38b314e41.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-4e90763dd2291129.rmeta --cap-lints=warn --crate-version 0.3.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "759c7895b9af8a4095673a8b2f086e000ed789ef859b9ce9c29879b13b60236a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759c7895b9af8a4095673a8b2f086e000ed789ef859b9ce9c29879b13b60236a", kill_on_drop: false }` [INFO] [stdout] 759c7895b9af8a4095673a8b2f086e000ed789ef859b9ce9c29879b13b60236a