Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.26.0-dev (5c1d29af0 2018-03-03)
# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)
# build log Build failed, waiting for other jobs to finish... Build failed, waiting for other jobs to finish... Build failed, waiting for other jobs to finish... Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Downloading doapi v0.1.3 Fresh utf8-ranges v0.1.3 Fresh lazy_static v0.2.11 Compiling serde_codegen_internals v0.4.0 Fresh winapi v0.2.8 Fresh percent-encoding v1.0.1 Fresh winapi-build v0.1.1 Fresh matches v0.1.6 Fresh typeable v0.1.2 Fresh libc v0.2.39 Fresh version_check v0.1.3 Running `rustc --crate-name serde_codegen_internals .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6cb5931289223b5d -C extra-filename=-6cb5931289223b5d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh unicode-normalization v0.1.5 Fresh httparse v1.2.4 Fresh rand v0.4.2 Fresh time v0.1.39 Fresh unicode-bidi v0.2.6 Fresh bitflags v0.7.0 Fresh memchr v0.1.11 Fresh rustc-serialize v0.3.24 Fresh unicode-bidi v0.3.4 Compiling quasi v0.16.0 Fresh aho-corasick v0.5.3 Fresh gcc v0.3.54 Fresh idna v0.1.4 Running `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=09a5ee25ac6de6b5 -C extra-filename=-09a5ee25ac6de6b5 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh rand v0.3.22 Fresh url v1.7.0 Compiling aster v0.22.1 Fresh uuid v0.2.3 Fresh num-traits v0.2.1 Running `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=df752d3ac5c77710 -C extra-filename=-df752d3ac5c77710 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh language-tags v0.2.2 Fresh url v0.5.10 Fresh num-integer v0.1.36 Fresh cfg-if v0.1.2 Fresh num_cpus v0.2.13 Fresh num-iter v0.1.35 Fresh traitobject v0.0.1 Fresh log v0.4.1 Fresh regex-syntax v0.3.9 Fresh num v0.1.42 Fresh serde v0.7.15 Fresh log v0.3.9 Fresh num-traits v0.1.43 Fresh hpack v0.2.0 Fresh itoa v0.1.1 Fresh pkg-config v0.3.9 Fresh serde_json v0.7.4 Fresh unicase v1.4.2 Fresh solicit v0.4.4 Fresh serde v0.6.15 Fresh mime v0.1.3 Compiling openssl-sys-extras v0.7.14 Compiling openssl v0.7.14 Fresh openssl-sys v0.7.17 Running `/home/cratesfyi/cratesfyi/debug/build/openssl-5643e7fc215043a9/build-script-build` Running `/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-abe14868179e9a5e/build-script-build` Fresh kernel32-sys v0.2.2 Fresh thread-id v2.0.0 Fresh thread_local v0.2.7 Fresh regex v0.1.80 error: failed to run custom build command for `openssl v0.7.14` process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/openssl-5643e7fc215043a9/build-script-build` (exit code: 101) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("0") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None DEBUG = Some("true") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-56b1b41302837114/out/src/c_helpers.o" "-c" "src/c_helpers.c" cargo:warning=src/c_helpers.c: In function ‘rust_SSL_clone’: cargo:warning=src/c_helpers.c:4:5: warning: implicit declaration of function ‘CRYPTO_add’ [-Wimplicit-function-declaration] cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); cargo:warning= ^~~~~~~~~~ cargo:warning=src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’ cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); cargo:warning= ^~ cargo:warning=src/c_helpers.c:4:37: error: ‘CRYPTO_LOCK_SSL’ undeclared (first use in this function) cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); cargo:warning= ^~~~~~~~~~~~~~~ cargo:warning=src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in cargo:warning=src/c_helpers.c: In function ‘rust_SSL_CTX_clone’: cargo:warning=src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’ cargo:warning= CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); cargo:warning= ^~ cargo:warning=src/c_helpers.c:8:35: error: ‘CRYPTO_LOCK_SSL_CTX’ undeclared (first use in this function) cargo:warning= CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); cargo:warning= ^~~~~~~~~~~~~~~~~~~ cargo:warning=src/c_helpers.c: In function ‘rust_X509_clone’: cargo:warning=src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ cargo:warning= CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); cargo:warning= ^~ cargo:warning=src/c_helpers.c:12:36: error: ‘CRYPTO_LOCK_X509’ undeclared (first use in this function) cargo:warning= CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); cargo:warning= ^~~~~~~~~~~~~~~~ exit code: 1 --- stderr thread 'main' panicked at ' Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-56b1b41302837114/out/src/c_helpers.o" "-c" "src/c_helpers.c" with args "cc" did not execute successfully (status code exit code: 1). ', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.54/src/lib.rs:1670:5 note: Run with `RUST_BACKTRACE=1` for a backtrace. error[E0432]: unresolved import `syntax::parse::parse_tts_from_source_str` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:36:37 | 36 | use syntax::parse::{self, classify, parse_tts_from_source_str, token}; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `parse_tts_from_source_str` in `parse`. Did you mean to use `parse_item_from_source_str`? error[E0425]: cannot find function `generics_to_string` in module `pprust` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:142:25 | 142 | let s = pprust::generics_to_string(self); | ^^^^^^^^^^^^^^^^^^ did you mean `expr_to_string`? error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:244:20 | 244 | token::intern_and_get_ident(self), ast::StrStyle::Cooked); | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:368:26 | 368 | panictry!(parse::parse_tts_from_source_str( | ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`? error[E0412]: cannot find type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:559:26 | 559 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error: failed to run custom build command for `openssl-sys-extras v0.7.14` process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-abe14868179e9a5e/build-script-build` (exit code: 101) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("0") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None HOST = Some("x86_64-unknown-linux-gnu") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None DEBUG = Some("true") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-e60f1107e2e04baa/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" cargo:warning=src/openssl_shim.c: In function ‘SSL_CTX_set_ecdh_auto_shim’: cargo:warning=src/openssl_shim.c:121:41: warning: unused parameter ‘ctx’ [-Wunused-parameter] cargo:warning= int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) { cargo:warning= ^~~ cargo:warning=src/openssl_shim.c: In function ‘DH_new_from_params’: cargo:warning=src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’ cargo:warning= dh->p = p; cargo:warning= ^~ cargo:warning=src/openssl_shim.c: In function ‘X509_get_extensions_shim’: cargo:warning=src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ cargo:warning= return x->cert_info ? x->cert_info->extensions : NULL; cargo:warning= ^~ cargo:warning=src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] cargo:warning= } cargo:warning= ^ exit code: 1 --- stderr thread 'main' panicked at ' Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-Wall" "-Wextra" "-o" "/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-e60f1107e2e04baa/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" with args "cc" did not execute successfully (status code exit code: 1). ', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.54/src/lib.rs:1670:5 note: Run with `RUST_BACKTRACE=1` for a backtrace. error[E0432]: unresolved import `syntax::parse::token::InternedString` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:9:34 | 9 | use syntax::parse::token::{self, InternedString}; | ^^^^^^^^^^^^^^ no `InternedString` in `parse::token` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:96:75 | 96 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Path`, found struct `std::boxed::Box` | = note: expected type `syntax::ast::Path` found type `std::boxed::Box<syntax::ast::Path>` error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:144:21 | 144 | ast::MetaItemKind::Word(ref name) if name == &"deny_unknown_fields" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:301:28 | 301 | None => token::intern_and_get_ident(&index.to_string()), | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:325:21 | 325 | ast::MetaItemKind::Word(ref name) if name == &"default" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:337:21 | 337 | ast::MetaItemKind::Word(ref name) if name == &"skip_serializing" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:342:21 | 342 | ast::MetaItemKind::Word(ref name) if name == &"skip_deserializing" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0422]: cannot find struct, variant or union type `SequenceRepetition` in module `tokenstream` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:544:42 | 544 | Rc::new(tokenstream::SequenceRepetition { | ^^^^^^^^^^^^^^^^^^ not found in `tokenstream` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::ext::tt::quoted::SequenceRepetition; | error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:587:32 | 587 | let tts = panictry!(parse::parse_tts_from_source_str( | ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:96:61 | 96 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:102:62 | 102 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtTy(P(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0432]: unresolved import `syntax::ext::base::DummyMacroLoader` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:3:25 | 3 | use syntax::ext::base::{DummyMacroLoader, ExtCtxt}; | ^^^^^^^^^^^^^^^^ no `DummyMacroLoader` in `ext::base` error[E0053]: method `fold_tt` has an incompatible type for trait --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/attr.rs:522:5 | 522 | fn fold_tt(&mut self, tt: &TokenTree) -> TokenTree { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `syntax::tokenstream::TokenTree`, found reference | = note: expected type `fn(&mut attr::Respanner<'a, 'b>, syntax::tokenstream::TokenTree) -> syntax::tokenstream::TokenTree` found type `fn(&mut attr::Respanner<'a, 'b>, &syntax::tokenstream::TokenTree) -> syntax::tokenstream::TokenTree` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:108:62 | 108 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtTy(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error: aborting due to 9 previous errors You've got a few errors: E0053, E0422, E0425, E0432, E0532 If you want more information on an error, try using "rustc --explain E0053" error: Could not compile `serde_codegen_internals`. Caused by: process didn't exit successfully: `rustc --crate-name serde_codegen_internals .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6cb5931289223b5d -C extra-filename=-6cb5931289223b5d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:114:62 | 114 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtBlock(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:426:49 | 426 | self.idents.push(respan(self.span, ast::PathListItemKind::Mod { | ^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast` error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:436:49 | 436 | self.idents.push(respan(self.span, ast::PathListItemKind::Ident { | ^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:120:62 | 120 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0422]: cannot find struct, variant or union type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:51:43 | 51 | let attr = respan(self.span, ast::Attribute_ { | ^^^^^^^^^^ did you mean `Attribute`? error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:171:18 | 171 | name: token::InternedString, | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:278:18 | 278 | name: token::InternedString, | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `ViewPath_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:112:44 | 112 | pub fn build_use(self, view_path: ast::ViewPath_) -> F::Result { | ^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathSimple` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:382:37 | 382 | self.builder.build_use(ast::ViewPathSimple(id.to_ident(), self.path)) | ^^^^^^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathGlob` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:394:37 | 394 | self.builder.build_use(ast::ViewPathGlob(self.path)) | ^^^^^^^^^^^^ not found in `ast` error[E0412]: cannot find type `PathListItem` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:414:22 | 414 | idents: Vec<ast::PathListItem>, | ^^^^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathList` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:445:37 | 445 | self.builder.build_use(ast::ViewPathList(self.path, self.idents)) | ^^^^^^^^^^^^ not found in `ast` error[E0423]: expected function, found struct `ast::Name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:728:38 | 728 | self.builder.build_item_kind(ast::Name(0).to_ident(), item_mac) | ^^^^^^^^^ constructor is not visible here due to private fields error[E0425]: cannot find function `intern` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/name.rs:18:16 | 18 | token::intern(*self) | ^^^^^^ not found in `token` error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:12:44 | 12 | fn to_interned_string(&self) -> token::InternedString; | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:15:34 | 15 | impl ToInternedString for token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:16:44 | 16 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:22:44 | 22 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:23:16 | 23 | token::intern_and_get_ident(self) | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:28:44 | 28 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:34:44 | 34 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/str.rs:40:44 | 40 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lib.rs:63:54 | 63 | pub fn interned_string<S>(&self, s: S) -> token::InternedString | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 12 | use syntax::symbol::InternedString; | error[E0603]: module `keywords` is private --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:8:5 | 8 | use syntax::parse::token::keywords; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:126:80 | 126 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::ImplItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::ImplItem` found type `syntax::ptr::P<syntax::ast::ImplItem>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:126:62 | 126 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:132:81 | 132 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::TraitItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::TraitItem` found type `syntax::ptr::P<syntax::ast::TraitItem>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:132:62 | 132 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:166:75 | 166 | TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone())))) | ^^^^^^^^^^^^^^^ expected struct `syntax::ast::Stmt`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::Stmt` found type `syntax::ptr::P<syntax::ast::Stmt>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:166:61 | 166 | TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone())))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:180:62 | 180 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtExpr(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:186:62 | 186 | vec![TokenTree::Token(self.span, token::Interpolated(token::NtPat(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:192:61 | 192 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtArm(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:57:30 | 57 | self.callback.invoke(attr) | ^^^^ expected struct `syntax::ast::Attribute`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::Attribute` found type `syntax::codemap::Spanned<_>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:218:75 | 218 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::MetaItem` found type `syntax::ptr::P<syntax::ast::MetaItem>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:62:30 | 62 | self.build_meta_item(item) | ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ptr::P<syntax::ast::MetaItem>` found type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>` error[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:68:31 | 68 | self.build_meta_item_(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 68 | self.build_meta_item_(ast::MetaItemKind::Word) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:218:61 | 218 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<(syntax::parse::token::Nonterminal, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0609]: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:227:17 | 227 | if self.node.style == ast::AttrStyle::Inner { | ^^^^ error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `open_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:232:13 | 232 | open_span: self.span, | ^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0609]: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:233:23 | 233 | tts: self.node.value.to_tokens(cx), | ^^^^ error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `close_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:234:13 | 234 | close_span: self.span, | ^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0271]: type mismatch resolving `<[closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:206:39: 206:67 span:_] as std::ops::FnOnce<(syntax::ast::MetaItemKind,)>>::Output == syntax::ptr::P<syntax::ast::MetaItem>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:206:14 | 206 | self.with_meta_items(iter.map(|item| P(respan(span, item)))) | ^^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::MetaItem` | = note: expected type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>` found type `syntax::ptr::P<syntax::ast::MetaItem>` = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::iter::Map<<I as std::iter::IntoIterator>::IntoIter, [closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:206:39: 206:67 span:_]>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230:48 | 230 | r.push(TokenTree::Delimited(self.span, Rc::new(tokenstream::Delimited { | ________________________________________________^ 231 | | delim: token::Bracket, 232 | | open_span: self.span, 233 | | tts: self.node.value.to_tokens(cx), 234 | | close_span: self.span, 235 | | }))); | |__________^ expected struct `syntax::tokenstream::Delimited`, found struct `std::rc::Rc` | = note: expected type `syntax::tokenstream::Delimited` found type `std::rc::Rc<syntax::tokenstream::Delimited>` error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `open_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:253:13 | 253 | open_span: DUMMY_SP, | ^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:216:31 | 216 | self.with_meta_item(P(respan(span, item))) | ^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::MetaItem` found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>` error[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:224:47 | 224 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word(word.to_interned_string()))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 224 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word)) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:230:34 | 230 | self.with_meta_item_kind(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 230 | self.with_meta_item_kind(ast::MetaItemKind::Word) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:249:38 | 249 | let item = respan(self.span, ast::MetaItemKind::List(self.name, self.items)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:254:18 | 254 | tts: vec![], | ^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec` | = note: expected type `syntax::tokenstream::ThinTokenStream` found type `std::vec::Vec<_>` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `close_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:255:13 | 255 | close_span: DUMMY_SP, | ^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:250:32 | 250 | self.callback.invoke(P(item)) | ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::MetaItem` found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>` error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/attr.rs:285:20 | 285 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0063]: missing field `recovered` in initializer of `syntax::ast::Block` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/block.rs:83:32 | 83 | self.callback.invoke(P(ast::Block { | ^^^^^^^^^^ missing `recovered` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:45 | 251 | vec![TokenTree::Delimited(DUMMY_SP, Rc::new(tokenstream::Delimited { | _____________________________________________^ 252 | | delim: token::Paren, 253 | | open_span: DUMMY_SP, 254 | | tts: vec![], 255 | | close_span: DUMMY_SP, 256 | | }))] | |__________^ expected struct `syntax::tokenstream::Delimited`, found struct `std::rc::Rc` | = note: expected type `syntax::tokenstream::Delimited` found type `std::rc::Rc<syntax::tokenstream::Delimited>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:306:45 | 306 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 322 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is } | ----------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 306 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0599]: no variant named `Is` found for type `syntax::ast::IntTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:322:38 | 322 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is } | ^^^^^^^^^^^^^^ variant not found in `syntax::ast::IntTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:306:45 | 306 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 323 | impl_to_tokens_int! { signed, i8, ast::IntTy::I8 } | --------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 306 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:306:45 | 306 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 324 | impl_to_tokens_int! { signed, i16, ast::IntTy::I16 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 306 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:306:45 | 306 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 325 | impl_to_tokens_int! { signed, i32, ast::IntTy::I32 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 306 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:306:45 | 306 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 326 | impl_to_tokens_int! { signed, i64, ast::IntTy::I64 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 306 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 328 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:421:30 | 421 | self.build_expr_kind(ast::ExprKind::Break(None)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0599]: no variant named `Us` found for type `syntax::ast::UintTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:328:40 | 328 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us } | ^^^^^^^^^^^^^^^ variant not found in `syntax::ast::UintTy` error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:428:30 | 428 | self.build_expr_kind(ast::ExprKind::Break(Some(label))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 329 | impl_to_tokens_int! { unsigned, u8, ast::UintTy::U8 } | ------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 330 | impl_to_tokens_int! { unsigned, u16, ast::UintTy::U16 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 331 | impl_to_tokens_int! { unsigned, u32, ast::UintTy::U32 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 332 | impl_to_tokens_int! { unsigned, u64, ast::UintTy::U64 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:344:19 | 344 | panictry!(parse::parse_item_from_source_str( | ___________________^ 345 | | "<quote expansion>".to_string(), 346 | | s, 347 | | self.cfg(), 348 | | self.parse_sess())).expect("parse error") | |______________________________^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:352:19 | 352 | panictry!(parse::parse_stmt_from_source_str( | ___________________^ 353 | | "<quote expansion>".to_string(), 354 | | s, 355 | | self.cfg(), 356 | | self.parse_sess())).expect("parse error") | |______________________________^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:360:19 | 360 | panictry!(parse::parse_expr_from_source_str( | ___________________^ 361 | | "<quote expansion>".to_string(), 362 | | s, 363 | | self.cfg(), 364 | | self.parse_sess())) | |______________________________^ expected 3 parameters error: aborting due to 46 previous errors You've got a few errors: E0061, E0308, E0412, E0425, E0432, E0560, E0599, E0609 If you want more information on an error, try using "rustc --explain E0061" error: Could not compile `quasi`. Caused by: process didn't exit successfully: `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=09a5ee25ac6de6b5 -C extra-filename=-09a5ee25ac6de6b5 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:439:59 | 439 | self.build_expr_kind(ast::ExprKind::Continue(Some(label))) | ^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::Label` found type `syntax::codemap::Spanned<syntax::ast::Ident>` error[E0063]: missing fields `attrs`, `is_shorthand` in initializer of `syntax::ast::Field` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:1057:21 | 1057 | let field = ast::Field { | ^^^^^^^^^^ missing `attrs`, `is_shorthand` error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:1199:38 | 1199 | self.builder.build_expr_kind(ast::ExprKind::MethodCall(self.id, self.tys, self.args)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:1445:65 | 1445 | self.builder.build_expr_kind(ast::ExprKind::Loop(block, self.label)) | ^^^^^^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `std::option::Option<syntax::ast::Label>` found type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>` error[E0599]: no variant named `Vec` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/expr.rs:1761:38 | 1761 | self.builder.build_expr_kind(ast::ExprKind::Vec(self.exprs)) | ^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::ExprKind` error[E0599]: no variant named `None` found for type `syntax::ast::FunctionRetTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/fn_decl.rs:98:22 | 98 | let ret_ty = ast::FunctionRetTy::None(self.span); | ^^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::FunctionRetTy` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:52:33 | 52 | lifetimes: generics.lifetimes, | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:53:33 | 53 | ty_params: generics.ty_params.into_vec(), | ^^^^^^^^^ did you mean `params`? error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:59:38 | 59 | self.with_lifetimes(generics.lifetimes.into_iter()) | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:60:38 | 60 | .with_ty_params(generics.ty_params.into_iter()) | ^^^^^^^^^ did you mean `params`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:203:31 | 203 | ty_param.bounds = P::new(); | ^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::new().to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[_]>` error[E0560]: struct `syntax::ast::Generics` has no field named `lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:215:13 | 215 | lifetimes: self.lifetimes, | ^^^^^^^^^ `syntax::ast::Generics` does not have this field | = note: available fields are: `params`, `where_clause`, `span` error[E0560]: struct `syntax::ast::Generics` has no field named `ty_params` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:216:13 | 216 | ty_params: P::from_vec(self.ty_params), | ^^^^^^^^^ field does not exist - did you mean `params`? error[E0063]: missing field `span` in initializer of `syntax::ast::WhereClause` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:217:27 | 217 | where_clause: ast::WhereClause { | ^^^^^^^^^^^^^^^^ missing `span` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:54:18 | 54 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:84:20 | 84 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0063]: missing field `tokens` in initializer of `syntax::ast::Item` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:91:20 | 91 | let item = ast::Item { | ^^^^^^^^^ missing `tokens` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:113:41 | 113 | let item = ast::ItemKind::Use(P(respan(self.span, view_path))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::UseTree`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::UseTree` found type `syntax::codemap::Spanned<_>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:317:13 | 317 | self.constness, | ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness` | = note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>` found type `syntax::ast::Constness` error[E0061]: this function takes 5 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:880:47 | 880 | self.builder.build_item_kind(self.id, ast::ItemKind::Trait( | _______________________________________________^ 881 | | self.unsafety, 882 | | self.generics, 883 | | P::from_vec(self.bounds), 884 | | self.items, 885 | | )) | |_________^ expected 5 parameters error[E0063]: missing fields `generics`, `tokens` in initializer of `syntax::ast::TraitItem` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:988:20 | 988 | let item = ast::TraitItem { | ^^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:1097:45 | 1097 | let node = ast::TraitItemKind::Type(bounds, ty); | ^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `bounds.to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0061]: this function takes 7 parameters but 6 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:1183:19 | 1183 | let ty_ = ast::ItemKind::Impl( | ___________________^ 1184 | | self.unsafety, 1185 | | self.polarity, 1186 | | self.generics, 1187 | | self.trait_ref, 1188 | | ty, 1189 | | self.items); | |_______________________^ expected 7 parameters error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:1302:18 | 1302 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:1331:20 | 1331 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0063]: missing fields `generics`, `tokens` in initializer of `syntax::ast::ImplItem` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:1365:20 | 1365 | let item = ast::ImplItem { | ^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lifetime.rs:24:13 | 24 | name: self.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lifetime.rs:43:9 | 43 | ast::LifetimeDef { | ^^^^^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lifetime.rs:87:13 | 87 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lifetime.rs:103:13 | 103 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lifetime.rs:111:30 | 111 | self.callback.invoke(ast::LifetimeDef { | ^^^^^^^^^^^^^^^^ missing `attrs` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:61:42 | 61 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 61 | self.build_lit(ast::LitKind::Int((value as u64).into(), ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:66:42 | 66 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Signed(ty))) | ^^^^^^^^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 66 | self.build_lit(ast::LitKind::Int((value as u64).into(), ast::LitIntType::Signed(ty))) | ^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no variant named `Is` found for type `syntax::ast::IntTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:70:38 | 70 | self.build_int(value as i64, ast::IntTy::Is) | ^^^^^^^^^^^^^^ variant not found in `syntax::ast::IntTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:94:42 | 94 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsuffixed)) | ^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 94 | self.build_lit(ast::LitKind::Int(value.into(), ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:98:42 | 98 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsigned(ty))) | ^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 98 | self.build_lit(ast::LitKind::Int(value.into(), ast::LitIntType::Unsigned(ty))) | ^^^^^^^^^^^^ error[E0599]: no variant named `Us` found for type `syntax::ast::UintTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lit.rs:102:39 | 102 | self.build_uint(value as u64, ast::UintTy::Us) | ^^^^^^^^^^^^^^^ variant not found in `syntax::ast::UintTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:58:18 | 58 | tts: self.tokens, | ^^^^^^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec` | = note: expected type `syntax::tokenstream::ThinTokenStream` found type `std::vec::Vec<syntax::tokenstream::TokenTree>` error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:72:26 | 72 | let parse_sess = ParseSess::new(); | ^^^^^^^^^^^^^^^^ expected 1 parameter error[E0063]: missing field `allow_internal_unsafe` in initializer of `syntax::codemap::NameAndSpan` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:101:17 | 101 | callee: codemap::NameAndSpan { | ^^^^^^^^^^^^^^^^^^^^ missing `allow_internal_unsafe` error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:110:18 | 110 | let mut cx = ExtCtxt::new(sess, cfg, ecfg, macro_loader); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0599]: no method named `bt_push` found for type `syntax::ext::base::ExtCtxt<'_>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/mac.rs:111:8 | 111 | cx.bt_push(info); | ^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/method.rs:73:24 | 73 | constness: self.constness, | ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness` | = note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>` found type `syntax::ast::Constness` error[E0560]: struct `syntax::ast::MethodSig` has no field named `generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/method.rs:76:13 | 76 | generics: self.generics, | ^^^^^^^^ `syntax::ast::MethodSig` does not have this field | = note: available fields are: `unsafety`, `constness`, `abi`, `decl` error[E0061]: this function takes 3 parameters but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/pat.rs:124:29 | 124 | self.build_pat_kind(ast::PatKind::Range(lhs, rhs)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/pat.rs:339:29 | 339 | self.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/pat.rs:353:29 | 353 | self.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/pat.rs:382:37 | 382 | self.builder.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:159:13 | 159 | global: self.global, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:208:34 | 208 | let lifetimes = generics.lifetimes.iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:213:28 | 213 | let tys = generics.ty_params.iter() | ^^^^^^^^^ did you mean `params`? error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:242:13 | 242 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:282:20 | 282 | types: P::from_vec(self.tys), | ^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.tys).to_vec()` | = note: expected type `std::vec::Vec<syntax::ptr::P<syntax::ast::Ty>>` found type `syntax::ptr::P<[syntax::ptr::P<syntax::ast::Ty>]>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:283:23 | 283 | bindings: P::from_vec(self.bindings), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bindings).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TypeBinding>` found type `syntax::ptr::P<[syntax::ast::TypeBinding]>` error[E0063]: missing field `span` in initializer of `syntax::ast::AngleBracketedParameterData` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:280:20 | 280 | let data = ast::AngleBracketedParameterData { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `span` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:290:25 | 290 | parameters: parameters, | ^^^^^^^^^^ expected enum `std::option::Option`, found enum `syntax::ast::PathParameters` | = note: expected type `std::option::Option<syntax::ptr::P<syntax::ast::PathParameters>>` found type `syntax::ast::PathParameters` error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/path.rs:288:30 | 288 | self.callback.invoke(ast::PathSegment { | ^^^^^^^^^^^^^^^^ missing `span` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/qpath.rs:95:13 | 95 | global: false, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/qpath.rs:106:13 | 106 | global: false, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/struct_field.rs:43:18 | 43 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/struct_field.rs:53:18 | 53 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/struct_field.rs:64:20 | 64 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no variant named `Vec` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty.rs:142:28 | 142 | self.build_ty_kind(ast::TyKind::Vec(ty)) | ^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::TyKind` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty.rs:259:13 | 259 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty.rs:469:22 | 469 | generics.lifetimes.into_iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0599]: no variant named `ObjectSum` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty.rs:493:36 | 493 | self.builder.build_ty_kind(ast::TyKind::ObjectSum(self.ty, bounds)) | ^^^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::TyKind` error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParamBound>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty_param.rs:54:37 | 54 | bounds: ty_param.bounds.into_vec(), | ^^^^^^^^ | = help: did you mean `to_vec`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty_param.rs:106:21 | 106 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bounds).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty_param.rs:103:30 | 103 | self.callback.invoke(ast::TyParam { | ^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::PolyTraitRef` has no field named `bound_lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/ty_param.rs:275:13 | 275 | bound_lifetimes: self.lifetimes, | ^^^^^^^^^^^^^^^ `syntax::ast::PolyTraitRef` does not have this field | = note: available fields are: `bound_generic_params`, `trait_ref`, `span` error[E0560]: struct `syntax::ast::WhereBoundPredicate` has no field named `bound_lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/where_predicate.rs:241:13 | 241 | bound_lifetimes: self.bound_lifetimes, | ^^^^^^^^^^^^^^^ `syntax::ast::WhereBoundPredicate` does not have this field | = note: available fields are: `span`, `bound_generic_params`, `bounded_ty`, `bounds` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/where_predicate.rs:243:21 | 243 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bounds).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `path` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/where_predicate.rs:322:13 | 322 | path: path, | ^^^^ `syntax::ast::WhereEqPredicate` does not have this field | = note: available fields are: `id`, `span`, `lhs_ty`, `rhs_ty` error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `ty` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/where_predicate.rs:323:13 | 323 | ty: ty, | ^^ `syntax::ast::WhereEqPredicate` does not have this field | = note: available fields are: `id`, `span`, `lhs_ty`, `rhs_ty` error: aborting due to 110 previous errors You've got a few errors: E0061, E0063, E0271, E0308, E0412, E0422, E0423, E0425, E0432... If you want more information on an error, try using "rustc --explain E0061" thread 'main' panicked at 'Error( CargoError( build failed ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.