[INFO] fetching crate derive-syn-parse 0.2.0... [INFO] testing derive-syn-parse-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate derive-syn-parse 0.2.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate derive-syn-parse 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 249dc040d41a4d590c19164420e33f3b0df36cbc57e47211e383c81b6948bbaa [INFO] running `Command { std: "docker" "start" "-a" "249dc040d41a4d590c19164420e33f3b0df36cbc57e47211e383c81b6948bbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "249dc040d41a4d590c19164420e33f3b0df36cbc57e47211e383c81b6948bbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249dc040d41a4d590c19164420e33f3b0df36cbc57e47211e383c81b6948bbaa", kill_on_drop: false }` [INFO] [stdout] 249dc040d41a4d590c19164420e33f3b0df36cbc57e47211e383c81b6948bbaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a809e27da8888a14b28a51765c1aee1a35e1ff2544c19aa44d8306f3f5b9332f [INFO] running `Command { std: "docker" "start" "-a" "a809e27da8888a14b28a51765c1aee1a35e1ff2544c19aa44d8306f3f5b9332f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.59s [INFO] running `Command { std: "docker" "inspect" "a809e27da8888a14b28a51765c1aee1a35e1ff2544c19aa44d8306f3f5b9332f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a809e27da8888a14b28a51765c1aee1a35e1ff2544c19aa44d8306f3f5b9332f", kill_on_drop: false }` [INFO] [stdout] a809e27da8888a14b28a51765c1aee1a35e1ff2544c19aa44d8306f3f5b9332f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df1e9f425e7dc1409b05e8f94170b8cb4202c4ca62af8a841feab81ac3392aa9 [INFO] running `Command { std: "docker" "start" "-a" "df1e9f425e7dc1409b05e8f94170b8cb4202c4ca62af8a841feab81ac3392aa9", 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 1.47s [INFO] running `Command { std: "docker" "inspect" "df1e9f425e7dc1409b05e8f94170b8cb4202c4ca62af8a841feab81ac3392aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1e9f425e7dc1409b05e8f94170b8cb4202c4ca62af8a841feab81ac3392aa9", kill_on_drop: false }` [INFO] [stdout] df1e9f425e7dc1409b05e8f94170b8cb4202c4ca62af8a841feab81ac3392aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 670f984d3084bd72782be121992e3794a07fcf2f03789d37efa4c166f9990641 [INFO] running `Command { std: "docker" "start" "-a" "670f984d3084bd72782be121992e3794a07fcf2f03789d37efa4c166f9990641", 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-abde05c9eb8941da) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::basic_peeks ... ok [INFO] [stdout] test tests::parse_if_peek ... ok [INFO] [stdout] test tests::nested_attrs ... ok [INFO] [stdout] test tests::prefix_as_parse_if ... ok [INFO] [stdout] test tests::simple_input ... ok [INFO] [stdout] test tests::simple_postfix ... ok [INFO] [stdout] test tests::calls ... ok [INFO] [stdout] test tests::simple_prefix ... ok [INFO] [stdout] test tests::generic_struct ... ok [INFO] [stdout] test tests::prefix_inside ... ok [INFO] [stdout] test tests::struct_peek ... ok [INFO] [stdout] test tests::simple_attrs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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 243) ... FAILED [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - (line 252) ... FAILED [INFO] [stdout] test src/lib.rs - (line 162) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/lib.rs - (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 354) ... 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 64) ... ok [INFO] [stdout] test src/lib.rs - (line 38) ... 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] 236 | enum Foo { [INFO] [stdout] | --- while parsing this enum [INFO] [stdout] 237 | 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] 236 - enum Foo { [INFO] [stdout] 236 + 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] 116 | 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 243) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Baz` in this scope [INFO] [stdout] --> src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | 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 194) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 194 + 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] 203 | #[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 123) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 124 | 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 214) stdout ---- [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> src/lib.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | a: Option]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + 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] 217 | #[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] 218 | 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] 215 | 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 252) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 252 + 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] 257 | colon: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 252 + 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] 259 | #[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] 255 | name: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 252 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 252 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 252 + 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] 260 | ty: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 252 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 252 + 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 290) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 290 + 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] 297 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 290 + 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] 299 | eq: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 290 + 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] 300 | #[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] 296 | ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 290 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 290 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 290 + 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] 298 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 290 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 290 + 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] 301 | expr: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 290 + 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 268) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 268 + 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] 278 | colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 268 + 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] 269 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 268 + 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] 272 | #[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] 271 | name: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 268 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 268 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 268 + 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] 279 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 268 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 268 + 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] ---- 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] 355 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 354 + 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] 357 | #[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] 359 | #[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] 360 | #[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] 358 | 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] 354 + 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] 361 | expr: Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 354 + 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 308) stdout ---- [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> src/lib.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 308 + 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] 315 | #[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] 317 | #[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] 318 | #[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] 314 | ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 308 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 308 + use proc_macro::Ident; [INFO] [stdout] | [INFO] [stdout] 308 + 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] 316 | ty: Type, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 308 + use syn::Type; [INFO] [stdout] | [INFO] [stdout] 308 + 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] 319 | expr: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 308 + 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] 340 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 334 + 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] 342 | #[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] 344 | #[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] 346 | #[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] [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 1.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "670f984d3084bd72782be121992e3794a07fcf2f03789d37efa4c166f9990641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670f984d3084bd72782be121992e3794a07fcf2f03789d37efa4c166f9990641", kill_on_drop: false }` [INFO] [stdout] 670f984d3084bd72782be121992e3794a07fcf2f03789d37efa4c166f9990641