doapi 0.1.3

A wrapper library for the DigitalOcean API v2
Build #53927 2017-06-03 17:01:08

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.19.0-dev (28a93c1f4 2017-05-31)

# docs.rs version cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)

# 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... Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Downloading doapi v0.1.3 Downloading hyper v0.7.2 Downloading serde_macros v0.7.15 Downloading serde_codegen v0.7.15 Downloading aster v0.22.1 Downloading quasi_macros v0.16.0 Downloading serde_codegen_internals v0.4.0 Downloading quasi v0.16.0 Downloading quasi_codegen v0.16.0 Fresh itoa v0.1.1 Fresh log v0.3.8 Fresh unicode-normalization v0.1.4 Fresh regex-syntax v0.3.9 Fresh httparse v1.2.3 Compiling quasi v0.16.0 Fresh bitflags v0.7.0 Fresh traitobject v0.0.1 Fresh language-tags v0.2.2 Fresh semver v0.1.20 Fresh serde v0.7.15 Compiling serde_codegen_internals v0.4.0 Fresh winapi v0.2.8 Compiling aster v0.22.1 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 hpack v0.2.0 Fresh rustc_version v0.1.7 Fresh lazy_static v0.2.8 Compiling serde_codegen v0.7.15 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 typeable v0.1.2 Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen-0.7.15/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="nightly"' --cfg 'feature="quasi_macros"' -C metadata=5b18b5280b8d4e95 -C extra-filename=-5b18b5280b8d4e95 --out-dir /home/cratesfyi/cratesfyi/debug/build/serde_codegen-5b18b5280b8d4e95 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh solicit v0.4.4 Fresh utf8-ranges v0.1.3 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 winapi-build v0.1.1 Fresh num-traits v0.1.37 Fresh matches v0.1.4 Fresh rustc-serialize v0.3.24 Fresh serde_json v0.7.4 Fresh unicase v1.4.0 Fresh unicode-bidi v0.2.6 Fresh unicode-bidi v0.3.3 Fresh gcc v0.3.50 Fresh libc v0.2.23 Fresh num_cpus v0.2.13 Fresh memchr v0.1.11 Fresh time v0.1.37 Fresh aho-corasick v0.5.3 Fresh pkg-config v0.3.9 Compiling openssl v0.7.14 Running `/home/cratesfyi/cratesfyi/debug/build/openssl-5643e7fc215043a9/build-script-build` Fresh openssl-sys v0.7.17 Fresh idna v0.1.2 Compiling openssl-sys-extras v0.7.14 Fresh url v1.4.1 Running `/home/cratesfyi/cratesfyi/debug/build/openssl-sys-extras-abe14868179e9a5e/build-script-build` Fresh num-integer v0.1.34 Fresh kernel32-sys v0.2.2 Fresh num-iter v0.1.33 Fresh thread-id v2.0.0 Fresh num v0.1.37 Fresh thread_local v0.2.7 Compiling serde v0.6.15 Fresh regex v0.1.80 Fresh rand v0.3.15 Running `rustc --crate-name serde .cargo/registry/src/github.com-1ecc6299db9ec823/serde-0.6.15/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=eaf5b137e24884e3 -C extra-filename=-eaf5b137e24884e3 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-33fcb3dcde37cf10.rlib --extern-version num=num,0.1.37 --cap-lints allow` Fresh uuid v0.2.3 Fresh url v0.5.10 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 PROFILE = Some("debug") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-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 command did not execute successfully, got: exit code: 1 --- stderr thread 'main' panicked at 'explicit panic', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.50/src/lib.rs:1210 note: Run with `RUST_BACKTRACE=1` for a backtrace. 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 PROFILE = Some("debug") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-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 ‘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= ^~ exit code: 1 command did not execute successfully, got: exit code: 1 --- stderr thread 'main' panicked at 'explicit panic', .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.50/src/lib.rs:1210 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[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 | 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[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 `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[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[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[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[E0432]: unresolved import `syntax::parse::token::keywords` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:8:5 | 8 | use syntax::parse::token::keywords; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `keywords` in `parse::token` 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[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 | 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 | use syntax::symbol::InternedString; 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:44 | 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:44 | 436 | self.idents.push(respan(self.span, ast::PathListItemKind::Ident { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` 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) | ^^^^^^^^^ | | | did you mean `ast::Name { /* fields */ }`? | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | use syntax::symbol::InternedString; 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 { 523 | | match *tt { 524 | | TokenTree::Token(span, ref tok) => { 525 | | TokenTree::Token( ... | 551 | | } 552 | | } | |_____^ 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: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>` = help: here are some functions which might fulfill your needs: - .default_to_global() 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>` 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>` found type `syntax::parse::token::Nonterminal` 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>` found type `syntax::parse::token::Nonterminal` 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>` found type `syntax::parse::token::Nonterminal` 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>` found type `syntax::parse::token::Nonterminal` 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>` = help: here are some functions which might fulfill your needs: - .unwrap() 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>` 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>` = help: here are some functions which might fulfill your needs: - .unwrap() 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>` found type `syntax::parse::token::Nonterminal` error: aborting due to previous error(s) 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>` = help: here are some functions which might fulfill your needs: - .add_trailing_semicolon() - .unwrap() 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>` 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>` 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>` 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>` found type `syntax::parse::token::Nonterminal` 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: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>` = help: here are some functions which might fulfill your needs: - .unwrap() 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>` found type `syntax::parse::token::Nonterminal` error: 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 error: 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 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 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<_>` = help: here are some functions which might fulfill your needs: - .remove(...) - .swap_remove(...) = note: this error originates in a macro outside of the current crate 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 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 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 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 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 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 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 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 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 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 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 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:345:13 | 345 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:353:13 | 353 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:361:13 | 361 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error: aborting due to previous error(s) 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/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/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>>` = help: here are some functions which might fulfill your needs: - .unwrap() error: `ast::MetaItemKind::Word` is being called, but it is not a function --> .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())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `ast::MetaItemKind::Word`? 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/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: `ast::MetaItemKind::Word` is being called, but it is not a function --> .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()))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `ast::MetaItemKind::Word`? error: `ast::MetaItemKind::Word` is being called, but it is not a function --> .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())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `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:62 | 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/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:49 | 285 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter 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:51 | 421 | self.build_expr_kind(ast::ExprKind::Break(None)) | ^^^^ expected 2 parameters 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:51 | 428 | self.build_expr_kind(ast::ExprKind::Break(Some(label))) | ^^^^^^^^^^^ expected 2 parameters 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[E0599]: no associated item 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)) | ^^^^^^^^^^^^^^^^^^ error[E0599]: no associated item 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); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParam>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:53:43 | 53 | ty_params: generics.ty_params.into_vec(), | ^^^^^^^^ 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` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[_]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:216:24 | 216 | ty_params: P::from_vec(self.ty_params), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParam>` found type `syntax::ptr::P<[syntax::ast::TyParam]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0063]: missing field `span` in initializer of `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/generics.rs:214:30 | 214 | self.callback.invoke(ast::Generics { | ^^^^^^^^^^^^^ missing `span` 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[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/item.rs:883:13 | 883 | P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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:1184:13 | 1184 | self.unsafety, | ^^^^^^^^^^^^^ expected 7 parameters 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 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 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 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 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 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 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 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>` = help: here are some functions which might fulfill your needs: - .remove(...) - .swap_remove(...) 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[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:31 | 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[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:49 | 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 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 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` | = note: expected type `std::vec::Vec<syntax::ptr::P<syntax::ast::Ty>>` found type `syntax::ptr::P<[syntax::ptr::P<syntax::ast::Ty>]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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` | = note: expected type `std::vec::Vec<syntax::ast::TypeBinding>` found type `syntax::ptr::P<[syntax::ast::TypeBinding]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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 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 error[E0599]: no associated item 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)) | ^^^^^^^^^^^^^^^^ 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 error[E0599]: no associated item 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)) | ^^^^^^^^^^^^^^^^^^^^^^ 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(), | ^^^^^^^^ 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` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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[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` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() 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 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 error: aborting due to previous error(s) error: Could not compile `aster`. Caused by: process didn't exit successfully: `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` (exit code: 101) thread 'main' panicked at 'build failed', src/bin/cratesfyi.rs:136 note: Run with `RUST_BACKTRACE=1` for a backtrace.