[INFO] fetching crate derive-syn-parse 0.2.0... [INFO] testing derive-syn-parse-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate derive-syn-parse 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate derive-syn-parse 0.2.0 [INFO] finished tweaking crates.io crate derive-syn-parse 0.2.0 [INFO] tweaked toml for crates.io crate derive-syn-parse 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate derive-syn-parse 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4e04eb9266e3686a855fa08cdb24e763e02bcb2c205d28dd473d1cb35662909 [INFO] running `Command { std: "docker" "start" "-a" "c4e04eb9266e3686a855fa08cdb24e763e02bcb2c205d28dd473d1cb35662909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4e04eb9266e3686a855fa08cdb24e763e02bcb2c205d28dd473d1cb35662909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e04eb9266e3686a855fa08cdb24e763e02bcb2c205d28dd473d1cb35662909", kill_on_drop: false }` [INFO] [stdout] c4e04eb9266e3686a855fa08cdb24e763e02bcb2c205d28dd473d1cb35662909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 09e87a9f866b0344ea47a6fce5b3c22d4d8f79db6c9f5d6d0b620deaf692fea6 [INFO] running `Command { std: "docker" "start" "-a" "09e87a9f866b0344ea47a6fce5b3c22d4d8f79db6c9f5d6d0b620deaf692fea6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.42s [INFO] running `Command { std: "docker" "inspect" "09e87a9f866b0344ea47a6fce5b3c22d4d8f79db6c9f5d6d0b620deaf692fea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e87a9f866b0344ea47a6fce5b3c22d4d8f79db6c9f5d6d0b620deaf692fea6", kill_on_drop: false }` [INFO] [stdout] 09e87a9f866b0344ea47a6fce5b3c22d4d8f79db6c9f5d6d0b620deaf692fea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 36cef108892c392ff5c4ff62c4bf61e32bc3f4344bad74ede49150b4b48e1a9d [INFO] running `Command { std: "docker" "start" "-a" "36cef108892c392ff5c4ff62c4bf61e32bc3f4344bad74ede49150b4b48e1a9d", kill_on_drop: false }` [INFO] [stderr] Compiling derive-syn-parse v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "36cef108892c392ff5c4ff62c4bf61e32bc3f4344bad74ede49150b4b48e1a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36cef108892c392ff5c4ff62c4bf61e32bc3f4344bad74ede49150b4b48e1a9d", kill_on_drop: false }` [INFO] [stdout] 36cef108892c392ff5c4ff62c4bf61e32bc3f4344bad74ede49150b4b48e1a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e670c48669e8154d6f118b6da871b3db9485cf5bc4b3369100745e3b017bf342 [INFO] running `Command { std: "docker" "start" "-a" "e670c48669e8154d6f118b6da871b3db9485cf5bc4b3369100745e3b017bf342", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/derive_syn_parse-13e3580eb94bca1f) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::generic_struct ... ok [INFO] [stdout] test tests::nested_attrs ... ok [INFO] [stdout] test tests::basic_peeks ... ok [INFO] [stdout] test tests::parse_if_peek ... ok [INFO] [stdout] test tests::prefix_inside ... ok [INFO] [stdout] test tests::calls ... ok [INFO] [stdout] test tests::simple_attrs ... ok [INFO] [stdout] test tests::prefix_as_parse_if ... ok [INFO] [stdout] test tests::simple_postfix ... ok [INFO] [stdout] test tests::struct_peek ... ok [INFO] [stdout] test tests::simple_input ... ok [INFO] [stdout] test tests::simple_prefix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests derive_syn_parse [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - (line 235) ... FAILED [INFO] [stdout] test src/lib.rs - (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 243) ... FAILED [INFO] [stdout] test src/lib.rs - (line 354) ... FAILED [INFO] [stdout] test src/lib.rs - (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 252) ... FAILED [INFO] [stdout] test src/lib.rs - (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - (line 308) ... FAILED [INFO] [stdout] test src/lib.rs - (line 334) ... FAILED [INFO] [stdout] test src/lib.rs - (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/lib.rs - (line 162) ... ok [INFO] [stdout] test src/lib.rs - (line 64) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 235) stdout ---- [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> src/lib.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 1 | enum Foo { [INFO] [stdout] | --- while parsing this enum [INFO] [stdout] 2 | Bar: Baz, [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 1 - enum Foo { [INFO] [stdout] 1 + struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 115) stdout ---- [INFO] [stdout] error: expected item, found keyword `if` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 1 | if input.peek($TYPE) { [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 194) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `call` in this scope [INFO] [stdout] --> src/lib.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[call(Attribute::parse_outer)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 243) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Baz` in this scope [INFO] [stdout] --> src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 4 | Bar(Baz), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 354) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `paren` in this scope [INFO] [stdout] --> src/lib.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[paren] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/lib.rs:359:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[prefix(Token![=>] in paren)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inside` in this scope [INFO] [stdout] --> src/lib.rs:360:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[inside(paren)] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `inline` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `token` [INFO] [stdout] --> src/lib.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 6 | paren: token::Paren, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `token`, use `cargo add token` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 9 | expr: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 290) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 9 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 11 | eq: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse_if` in this scope [INFO] [stdout] --> src/lib.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[parse_if(eq.is_some())] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 10 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 13 | expr: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 252) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 7 | colon: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse_if` in this scope [INFO] [stdout] --> src/lib.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[parse_if(colon.is_some())] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 5 | name: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 10 | ty: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 123) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 3 | if ($EXPR)(input) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/lib.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 3 | if ($EXPR)(input) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 308) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/lib.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[prefix(Token![:])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/lib.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[prefix(Option as eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse_if` in this scope [INFO] [stdout] --> src/lib.rs:318:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[parse_if(eq.is_some())] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 10 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:319:18 [INFO] [stdout] | [INFO] [stdout] 13 | expr: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 334) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `paren` in this scope [INFO] [stdout] --> src/lib.rs:342:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[paren] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inside` in this scope [INFO] [stdout] --> src/lib.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[inside(paren)] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `inline` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inside` in this scope [INFO] [stdout] --> src/lib.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[inside(paren)] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `inline` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 214) stdout ---- [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 4 | a: Option]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `call` in this scope [INFO] [stdout] --> src/lib.rs:217:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[call(|inp| match &a { Some(_) => Ok(Some(inp.parse()?)), None => Ok(None) })] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bar` in this scope [INFO] [stdout] --> src/lib.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 6 | b: Option, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | struct Foo { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 268) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 12 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use derive_syn_parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `peek` in this scope [INFO] [stdout] --> src/lib.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[peek(Token![:])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 5 | name: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 13 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 2 + use syn::token::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 115) [INFO] [stdout] src/lib.rs - (line 123) [INFO] [stdout] src/lib.rs - (line 194) [INFO] [stdout] src/lib.rs - (line 214) [INFO] [stdout] src/lib.rs - (line 235) [INFO] [stdout] src/lib.rs - (line 243) [INFO] [stdout] src/lib.rs - (line 252) [INFO] [stdout] src/lib.rs - (line 268) [INFO] [stdout] src/lib.rs - (line 290) [INFO] [stdout] src/lib.rs - (line 308) [INFO] [stdout] src/lib.rs - (line 334) [INFO] [stdout] src/lib.rs - (line 354) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e670c48669e8154d6f118b6da871b3db9485cf5bc4b3369100745e3b017bf342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e670c48669e8154d6f118b6da871b3db9485cf5bc4b3369100745e3b017bf342", kill_on_drop: false }` [INFO] [stdout] e670c48669e8154d6f118b6da871b3db9485cf5bc4b3369100745e3b017bf342