[INFO] fetching crate crustacean 0.3.1... [INFO] testing crustacean-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate crustacean 0.3.1 into /workspace/builds/worker-49/source [INFO] validating manifest of crates.io crate crustacean 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-49/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4525a80487773fb457ccc54a8c580e37facd0b1debd29813c69ba145a62c4a73 [INFO] running `Command { std: "docker" "start" "-a" "4525a80487773fb457ccc54a8c580e37facd0b1debd29813c69ba145a62c4a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4525a80487773fb457ccc54a8c580e37facd0b1debd29813c69ba145a62c4a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4525a80487773fb457ccc54a8c580e37facd0b1debd29813c69ba145a62c4a73", kill_on_drop: false }` [INFO] [stdout] 4525a80487773fb457ccc54a8c580e37facd0b1debd29813c69ba145a62c4a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d510d08f53abbed937626f5711c27589962e78dc0c3a5095f394abe0915211 [INFO] running `Command { std: "docker" "start" "-a" "14d510d08f53abbed937626f5711c27589962e78dc0c3a5095f394abe0915211", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling clang-sys v0.13.0 [INFO] [stderr] Compiling clang-sys v0.11.1 [INFO] [stderr] Compiling clang v0.14.1 [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/c.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Mutability::Immutable [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/c.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Mutability::Mutable [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ident` [INFO] [stdout] --> src/ast/c.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | if Token::Ident(Ident::from_str(&name)).is_strict_keyword() { [INFO] [stdout] | ^^^^^ use of undeclared type `Ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let node = ItemKind::Const(ty.clone(), disr); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/rust.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let ty = to_ty_ptr(options.span, Mutability::Mutable,t.into_rust(options)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionRetTy` [INFO] [stdout] --> src/ast/rust.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | let decl = to_fn_decl(vec![], FunctionRetTy::Ty(ty), false); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/rust.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 108 | let field = to_expr_addr_of(options.span, Mutability::Mutable, field); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/rust.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | Some(to_impl_item_method(options.span, n, Mutability::Mutable, decl, block)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionRetTy` [INFO] [stdout] --> src/ast/rust.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | FunctionRetTy::Default(options.span) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionRetTy` [INFO] [stdout] --> src/ast/rust.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | FunctionRetTy::Default(options.span) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionRetTy` [INFO] [stdout] --> src/ast/rust.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | FunctionRetTy::Ty(self.result.into_rust(options)) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FunctionRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | to_ty(options.span, TyKind::Path(None, path)) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let node = ItemKind::Ty(self.type_.into_rust(options), Generics::default()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | let node = ItemKind::Ty(self.type_.into_rust(options), Generics::default()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let ident = codemap::respan(span, to_ident(ident)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/ast/rust.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | let node = PatKind::Ident(BindingMode::ByValue(Mutability::Immutable), ident, None); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindingMode` [INFO] [stdout] --> src/ast/rust.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | let node = PatKind::Ident(BindingMode::ByValue(Mutability::Immutable), ident, None); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BindingMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/ast/rust.rs:243:52 [INFO] [stdout] | [INFO] [stdout] 243 | let node = PatKind::Ident(BindingMode::ByValue(Mutability::Immutable), ident, None); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttrStyle` [INFO] [stdout] --> src/ast/rust.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | style: AttrStyle::Outer, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AttrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/ast/rust.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | let doc = Symbol::intern(&format!("/// {}", doc)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | let lit = codemap::respan(span, LitKind::Str(doc, StrStyle::Cooked)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/ast/rust.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let lit = codemap::respan(span, LitKind::Str(doc, StrStyle::Cooked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrStyle` [INFO] [stdout] --> src/ast/rust.rs:259:55 [INFO] [stdout] | [INFO] [stdout] 259 | let lit = codemap::respan(span, LitKind::Str(doc, StrStyle::Cooked)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/ast/rust.rs:260:43 [INFO] [stdout] | [INFO] [stdout] 260 | let value = to_meta_item(span, "doc", MetaItemKind::NameValue(lit)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/ast/rust.rs:268:42 [INFO] [stdout] | [INFO] [stdout] 268 | let meta = to_meta_item(span, w, MetaItemKind::Word); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | codemap::respan(span, NestedMetaItemKind::MetaItem(meta)) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItemKind` [INFO] [stdout] --> src/ast/rust.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | codemap::respan(span, NestedMetaItemKind::MetaItem(meta)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/ast/rust.rs:271:50 [INFO] [stdout] | [INFO] [stdout] 271 | to_attribute(span, to_meta_item(span, outer, MetaItemKind::List(inner)), false) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCheckMode` [INFO] [stdout] --> src/ast/rust.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | rules: BlockCheckMode::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockCheckMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThinVec` [INFO] [stdout] --> src/ast/rust.rs:285:64 [INFO] [stdout] | [INFO] [stdout] 285 | P(Expr { id: DUMMY_NODE_ID, node: node, span: span, attrs: ThinVec::new() }) [INFO] [stdout] | ^^^^^^^ use of undeclared type `ThinVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | to_expr(span, ExprKind::AddrOf(mutability, expr)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | to_expr(span, ExprKind::Call(callee, arguments)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | to_expr(span, ExprKind::Field(struct_, codemap::respan(span, to_ident(ident)))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | to_expr(span, ExprKind::Field(struct_, codemap::respan(span, to_ident(ident)))) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | to_expr(span, ExprKind::Unary(UnOp::Neg, expr)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/ast/rust.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | to_expr(span, ExprKind::Unary(UnOp::Neg, expr)) [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | to_expr(span, ExprKind::Path(None, path)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/ast/rust.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | to_expr(span, ExprKind::Lit(P(codemap::respan(span, node)))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:309:35 [INFO] [stdout] | [INFO] [stdout] 309 | to_expr(span, ExprKind::Lit(P(codemap::respan(span, node)))) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/ast/rust.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | to_expr_lit(span, LitKind::Int(value, LitIntType::Unsuffixed)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitIntType` [INFO] [stdout] --> src/ast/rust.rs:313:43 [INFO] [stdout] | [INFO] [stdout] 313 | to_expr_lit(span, LitKind::Int(value, LitIntType::Unsuffixed)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LitIntType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/ast/rust.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | vis: Visibility::Public, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignItemKind` [INFO] [stdout] --> src/ast/rust.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | to_foreign_item(span, ident, ForeignItemKind::Fn(decl, Generics::default())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:332:60 [INFO] [stdout] | [INFO] [stdout] 332 | to_foreign_item(span, ident, ForeignItemKind::Fn(decl, Generics::default())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ident` [INFO] [stdout] --> src/ast/rust.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | Ident::from_str(ident.as_ref()) [INFO] [stdout] | ^^^^^ use of undeclared type `Ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/ast/rust.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | vis: Visibility::Public, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Defaultness` [INFO] [stdout] --> src/ast/rust.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | defaultness: Defaultness::Final, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Defaultness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | let self_ = codemap::respan(span, SelfKind::Region(None, mutability)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfKind` [INFO] [stdout] --> src/ast/rust.rs:355:43 [INFO] [stdout] | [INFO] [stdout] 355 | let self_ = codemap::respan(span, SelfKind::Region(None, mutability)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SelfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/ast/rust.rs:356:28 [INFO] [stdout] | [INFO] [stdout] 356 | d.inputs.insert(0, Arg::from_self(self_, codemap::respan(span, to_ident("self")))); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:356:50 [INFO] [stdout] | [INFO] [stdout] 356 | d.inputs.insert(0, Arg::from_self(self_, codemap::respan(span, to_ident("self")))); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unsafety` [INFO] [stdout] --> src/ast/rust.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | unsafety: Unsafety::Unsafe, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/ast/rust.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | constness: codemap::respan(span, Constness::NotConst), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Constness` [INFO] [stdout] --> src/ast/rust.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | constness: codemap::respan(span, Constness::NotConst), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Constness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/ast/rust.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | abi: Abi::Rust, [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 364 | generics: Generics::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImplItemKind` [INFO] [stdout] --> src/ast/rust.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | to_impl_item(span, ident, ImplItemKind::Method(sig, block)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ImplItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | ItemKind::ForeignMod(_) | ItemKind::Impl(_, _, _, _, _, _) => Visibility::Inherited, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | ItemKind::ForeignMod(_) | ItemKind::Impl(_, _, _, _, _, _) => Visibility::Inherited, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/ast/rust.rs:373:71 [INFO] [stdout] | [INFO] [stdout] 373 | ItemKind::ForeignMod(_) | ItemKind::Impl(_, _, _, _, _, _) => Visibility::Inherited, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/ast/rust.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | _ => Visibility::Public, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | let node = ItemKind::Impl( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unsafety` [INFO] [stdout] --> src/ast/rust.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | Unsafety::Normal, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImplPolarity` [INFO] [stdout] --> src/ast/rust.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | ImplPolarity::Positive, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ImplPolarity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | Generics::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | to_ty(span, TyKind::Path(None, to_path(span, false, &[ident.as_ref()]))), [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | to_item(span, ident, ItemKind::Mod(Mod { inner: span, items: items }), vec![]) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/ast/rust.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | let data = VariantData::Struct(fields, DUMMY_NODE_ID); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:407:26 [INFO] [stdout] | [INFO] [stdout] 407 | to_item(span, ident, ItemKind::Struct(data, Generics::default()), attrs) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:407:49 [INFO] [stdout] | [INFO] [stdout] 407 | to_item(span, ident, ItemKind::Struct(data, Generics::default()), attrs) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/ast/rust.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 413 | let data = VariantData::Tuple(fields, DUMMY_NODE_ID); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast/rust.rs:414:26 [INFO] [stdout] | [INFO] [stdout] 414 | to_item(span, ident, ItemKind::Struct(data, Generics::default()), attrs) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generics` [INFO] [stdout] --> src/ast/rust.rs:414:49 [INFO] [stdout] | [INFO] [stdout] 414 | to_item(span, ident, ItemKind::Struct(data, Generics::default()), attrs) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/ast/rust.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | MetaItem { name: Symbol::intern(name.as_ref()), node: node, span: span } [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathParameters` [INFO] [stdout] --> src/ast/rust.rs:423:60 [INFO] [stdout] | [INFO] [stdout] 423 | PathSegment { identifier: to_ident(s), parameters: PathParameters::none() } [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PathParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P` [INFO] [stdout] --> src/ast/rust.rs:431:35 [INFO] [stdout] | [INFO] [stdout] 431 | lifetimes: vec![], types: P::from_vec(vec![ty]), bindings: P::new() [INFO] [stdout] | ^ use of undeclared type `P` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P` [INFO] [stdout] --> src/ast/rust.rs:431:68 [INFO] [stdout] | [INFO] [stdout] 431 | lifetimes: vec![], types: P::from_vec(vec![ty]), bindings: P::new() [INFO] [stdout] | ^ use of undeclared type `P` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathParameters` [INFO] [stdout] --> src/ast/rust.rs:433:35 [INFO] [stdout] | [INFO] [stdout] 433 | path.segments[2].parameters = PathParameters::AngleBracketed(data); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PathParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/ast/rust.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | node: StmtKind::Expr(expr), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/ast/rust.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | vis: Visibility::Public, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | to_ty(span, TyKind::Array(ty, to_expr_lit_int(span, length as u64))) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unsafety` [INFO] [stdout] --> src/ast/rust.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | let fn_ = BareFnTy { unsafety: Unsafety::Normal, abi: Abi::C, lifetimes: vec![], decl: decl }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/ast/rust.rs:465:59 [INFO] [stdout] | [INFO] [stdout] 465 | let fn_ = BareFnTy { unsafety: Unsafety::Normal, abi: Abi::C, lifetimes: vec![], decl: decl }; [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | to_ty(span, TyKind::BareFn(P(fn_))) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | to_ty(span, TyKind::Path(None, to_path(span, global, segments))) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/ast/rust.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | to_ty(span, TyKind::Ptr(MutTy { ty: ty, mutbl: mutability })) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/lib.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | let string = pprust::item_to_string(&item); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/lib.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let functions = ItemKind::ForeignMod(ForeignMod { abi: Abi::C, items: functions }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abi` [INFO] [stdout] --> src/lib.rs:376:64 [INFO] [stdout] | [INFO] [stdout] 376 | let functions = ItemKind::ForeignMod(ForeignMod { abi: Abi::C, items: functions }); [INFO] [stdout] | ^^^ use of undeclared type `Abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/lib.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | if let ItemKind::Ty(_, _) = item.node { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [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[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/ast/c.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | if Token::Ident(Ident::from_str(&name)).is_strict_keyword() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use clang::token::Token; [INFO] [stdout] | [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 `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 153 | impl IntoRust<(Vec>, Vec>)> for c::Record { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 172 | let methods: Vec = f.into_rust(options); [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[E0422]: cannot find struct, variant or union type `Arg` in this scope [INFO] [stdout] --> src/ast/rust.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Arg { ty: ty, pat: P(Pat { id: DUMMY_NODE_ID, node: node, span: span }), id: DUMMY_NODE_ID } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn to_arg(span: Span, ty: P, node: PatKind) -> Arg { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] 238 | Arg { ty: ty, pat: P(Pat { id: DUMMY_NODE_ID, node: node, span: span }), id: DUMMY_NODE_ID } [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Pat` in this scope [INFO] [stdout] --> src/ast/rust.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | Arg { ty: ty, pat: P(Pat { id: DUMMY_NODE_ID, node: node, span: span }), id: DUMMY_NODE_ID } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | Arg { ty: ty, pat: P(Pat { id: DUMMY_NODE_ID, node: node, span: span }), id: DUMMY_NODE_ID } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:238:82 [INFO] [stdout] | [INFO] [stdout] 238 | Arg { ty: ty, pat: P(Pat { id: DUMMY_NODE_ID, node: node, span: span }), id: DUMMY_NODE_ID } [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[E0422]: cannot find struct, variant or union type `Attribute` in this scope [INFO] [stdout] --> src/ast/rust.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | Attribute { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AttrId` in this scope [INFO] [stdout] --> src/ast/rust.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | id: AttrId(0), [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[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> src/ast/rust.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let block = Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | id: DUMMY_NODE_ID, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn to_block(span: Span, stmts: Vec) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] ... [INFO] [stdout] 281 | P(block) [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: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[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn to_expr(span: Span, node: ExprKind) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] 285 | P(Expr { id: DUMMY_NODE_ID, node: node, span: span, attrs: ThinVec::new() }) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> src/ast/rust.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | P(Expr { id: DUMMY_NODE_ID, node: node, span: span, attrs: ThinVec::new() }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | P(Expr { id: DUMMY_NODE_ID, node: node, span: span, attrs: ThinVec::new() }) [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: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[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn to_expr_lit(span: Span, node: LitKind) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] 309 | to_expr(span, ExprKind::Lit(P(codemap::respan(span, node)))) [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: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[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:317:5 [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: `

` [INFO] [stdout] 317 | P(FnDecl { inputs: inputs, output: output, variadic: variadic }) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FnDecl` in this scope [INFO] [stdout] --> src/ast/rust.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 317 | P(FnDecl { inputs: inputs, output: output, variadic: variadic }) [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: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[E0422]: cannot find struct, variant or union type `ForeignItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | id: DUMMY_NODE_ID, [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[E0422]: cannot find struct, variant or union type `ImplItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | ImplItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | id: DUMMY_NODE_ID, [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[E0422]: cannot find struct, variant or union type `MethodSig` in this scope [INFO] [stdout] --> src/ast/rust.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | let sig = MethodSig { [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[E0422]: cannot find struct, variant or union type `Item` in this scope [INFO] [stdout] --> src/ast/rust.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let item = Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | id: DUMMY_NODE_ID, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn to_item>( [INFO] [stdout] | - help: you might be missing a type parameter: `, P` [INFO] [stdout] ... [INFO] [stdout] 384 | P(item) [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[E0422]: cannot find struct, variant or union type `Mod` in this scope [INFO] [stdout] --> src/ast/rust.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | to_item(span, ident, ItemKind::Mod(Mod { inner: span, items: items }), vec![]) [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: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[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:406:44 [INFO] [stdout] | [INFO] [stdout] 406 | let data = VariantData::Struct(fields, DUMMY_NODE_ID); [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[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:413:43 [INFO] [stdout] | [INFO] [stdout] 413 | let data = VariantData::Tuple(fields, DUMMY_NODE_ID); [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[E0422]: cannot find struct, variant or union type `MetaItem` in this scope [INFO] [stdout] --> src/ast/rust.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | MetaItem { name: Symbol::intern(name.as_ref()), node: node, span: span } [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[E0422]: cannot find struct, variant or union type `PathSegment` in this scope [INFO] [stdout] --> src/ast/rust.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | PathSegment { identifier: to_ident(s), parameters: PathParameters::none() } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Path` in this scope [INFO] [stdout] --> src/ast/rust.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | Path { span: span, global: global, segments: segments } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 | use c::Type::Path; [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[E0422]: cannot find struct, variant or union type `AngleBracketedParameterData` in this scope [INFO] [stdout] --> src/ast/rust.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 430 | let data = AngleBracketedParameterData { [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: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[E0422]: cannot find struct, variant or union type `Stmt` in this scope [INFO] [stdout] --> src/ast/rust.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | Stmt { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | id: DUMMY_NODE_ID, [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[E0422]: cannot find struct, variant or union type `StructField` in this scope [INFO] [stdout] --> src/ast/rust.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | StructField { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | id: DUMMY_NODE_ID, [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[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn to_ty(span: Span, node: TyKind) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] 457 | P(Ty { id: DUMMY_NODE_ID, node: node, span: span }) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ty` in this scope [INFO] [stdout] --> src/ast/rust.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | P(Ty { id: DUMMY_NODE_ID, node: node, span: span }) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/ast/rust.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | P(Ty { id: DUMMY_NODE_ID, node: node, span: span }) [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: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[E0422]: cannot find struct, variant or union type `BareFnTy` in this scope [INFO] [stdout] --> src/ast/rust.rs:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | let fn_ = BareFnTy { unsafety: Unsafety::Normal, abi: Abi::C, lifetimes: vec![], decl: decl }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/ast/rust.rs:466:32 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn to_ty_bare_fn(span: Span, decl: P) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] 465 | let fn_ = BareFnTy { unsafety: Unsafety::Normal, abi: Abi::C, lifetimes: vec![], decl: decl }; [INFO] [stdout] 466 | to_ty(span, TyKind::BareFn(P(fn_))) [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: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[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> src/ast/rust.rs:474:29 [INFO] [stdout] | [INFO] [stdout] 474 | to_ty(span, TyKind::Ptr(MutTy { ty: ty, mutbl: mutability })) [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: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[E0422]: cannot find struct, variant or union type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | Ok(Mod { inner: self.options.span, items: opaque }) [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[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/lib.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | span: DUMMY_SP, [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 `ForeignItem` in this scope [INFO] [stdout] --> src/lib.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 359 | fn generate_functions(options: &GeneratorOptions, tus: &[TranslationUnit]) -> Option> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 374 | }).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ForeignMod` in this scope [INFO] [stdout] --> src/lib.rs:376:46 [INFO] [stdout] | [INFO] [stdout] 376 | let functions = ItemKind::ForeignMod(ForeignMod { abi: Abi::C, items: functions }); [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: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 beta 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] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let clang = try!(Clang::new().map_err(|_| "called from multiple threads simultaneously")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | tus.push(try!(index.parser(header).arguments(&arguments[..]).parse())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ident` on type `&_` [INFO] [stdout] --> src/lib.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | nested.sort_by_key(|t| t.ident.name.as_str()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ident` on type `&_` [INFO] [stdout] --> src/lib.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | opaque.sort_by_key(|t| t.ident.name.as_str()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&T` [INFO] [stdout] --> src/lib.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | typedefs.sort_by_key(|t| t.ident.name.as_str()); [INFO] [stdout] | ^ consider giving this closure parameter the explicit type `&T`, where the type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ident` on type `&_` [INFO] [stdout] --> src/lib.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | typedefs.sort_by_key(|t| t.ident.name.as_str()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&T` [INFO] [stdout] --> src/lib.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | enums.sort_by_key(|es| es[0].ident.name.as_str()); [INFO] [stdout] | ^^ consider giving this closure parameter the explicit type `&T`, where the type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 344 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0463, E0554, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crustacean` due to 345 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "14d510d08f53abbed937626f5711c27589962e78dc0c3a5095f394abe0915211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d510d08f53abbed937626f5711c27589962e78dc0c3a5095f394abe0915211", kill_on_drop: false }` [INFO] [stdout] 14d510d08f53abbed937626f5711c27589962e78dc0c3a5095f394abe0915211