[INFO] fetching crate synthez-codegen 0.2.0... [INFO] testing synthez-codegen-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate synthez-codegen 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate synthez-codegen 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate synthez-codegen 0.2.0 [INFO] finished tweaking crates.io crate synthez-codegen 0.2.0 [INFO] tweaked toml for crates.io crate synthez-codegen 0.2.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9d4513e577429c365a967e7cf9afb7277f6f5db88fb15756386ade4e7d2a7f [INFO] running `Command { std: "docker" "start" "-a" "7b9d4513e577429c365a967e7cf9afb7277f6f5db88fb15756386ade4e7d2a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9d4513e577429c365a967e7cf9afb7277f6f5db88fb15756386ade4e7d2a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9d4513e577429c365a967e7cf9afb7277f6f5db88fb15756386ade4e7d2a7f", kill_on_drop: false }` [INFO] [stdout] 7b9d4513e577429c365a967e7cf9afb7277f6f5db88fb15756386ade4e7d2a7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b88f0633f4e22f414530ad89db69b28d45538bbec4d1f1a500865eb0280cfbb [INFO] running `Command { std: "docker" "start" "-a" "4b88f0633f4e22f414530ad89db69b28d45538bbec4d1f1a500865eb0280cfbb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sealed v0.3.0 [INFO] [stderr] Compiling synthez-core v0.2.0 [INFO] [stderr] Compiling synthez-codegen v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "4b88f0633f4e22f414530ad89db69b28d45538bbec4d1f1a500865eb0280cfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b88f0633f4e22f414530ad89db69b28d45538bbec4d1f1a500865eb0280cfbb", kill_on_drop: false }` [INFO] [stdout] 4b88f0633f4e22f414530ad89db69b28d45538bbec4d1f1a500865eb0280cfbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8973b6207c8a3de205fc0544a3231013dbea4f40a33d788c9f8afb367ecaddcd [INFO] running `Command { std: "docker" "start" "-a" "8973b6207c8a3de205fc0544a3231013dbea4f40a33d788c9f8afb367ecaddcd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling synthez-codegen v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: external crate `proc_macro2` unused in `synthez_codegen`: remove the dependency or add `use proc_macro2 as _;` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unused_crate_dependencies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: remove unnecessary dependency `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/synthez_codegen-1e8d47797741ef33) [INFO] running `Command { std: "docker" "inspect" "8973b6207c8a3de205fc0544a3231013dbea4f40a33d788c9f8afb367ecaddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8973b6207c8a3de205fc0544a3231013dbea4f40a33d788c9f8afb367ecaddcd", kill_on_drop: false }` [INFO] [stdout] 8973b6207c8a3de205fc0544a3231013dbea4f40a33d788c9f8afb367ecaddcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7d50f607ad2cc2d41ed9f1e9473b5f7444fd60648486aafa57c773ae24a11e9 [INFO] running `Command { std: "docker" "start" "-a" "a7d50f607ad2cc2d41ed9f1e9473b5f7444fd60648486aafa57c773ae24a11e9", kill_on_drop: false }` [INFO] [stderr] warning: external crate `proc_macro2` unused in `synthez_codegen`: remove the dependency or add `use proc_macro2 as _;` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] note: the lint level is defined here [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:75:5 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 75 | unused_crate_dependencies, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: remove unnecessary dependency `proc_macro2` [INFO] [stderr] [INFO] [stderr] warning: `synthez-codegen` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/synthez_codegen-1e8d47797741ef33) [INFO] [stderr] Doc-tests synthez-codegen [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 312) ... ignored [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 350) ... ignored [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 362) ... ignored [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 173) - compile fail ... ok [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 366) ... FAILED [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 263) ... FAILED [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - derive_to_tokens (line 425) ... FAILED [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 316) ... FAILED [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - derive_parse_attrs (line 188) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_parse_attrs (line 366) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 3 | use synthez::{field, parse, ParseAttrs}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, ParseAttrs)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `parse` [INFO] [stdout] --> src/lib.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[parse(value, fallback = field::if_empty(parse::attr::doc))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | let my_attrs = MyAttrs::parse_attrs("my_attr", &from_attr); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:394:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | let my_attrs = MyAttrs::parse_attrs("my_attr", &from_doc); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_parse_attrs (line 263) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 3 | use synthez::ParseAttrs; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, ParseAttrs)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[parse(ident, dedup = last, alias = named)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:274:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[parse(value, dedup = first)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[parse(ident, dedup = unique, args(foo, bar, baz))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:289:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | let my_attrs = MyAttrs::parse_attrs("my_attr", &input); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 40 | let my_attrs = MyAttrs::parse_attrs("my_attr", &wrong); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_parse_attrs (line 109) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 5 | use synthez::{ParseAttrs, Spanning}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default, ParseAttrs, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[parse(ident)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[parse(value)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[parse(value(spaced))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[parse(map)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[parse(nested)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | let my_attrs = MyAttrs::parse_attrs("my_attr", &input); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default, ParseAttrs, PartialEq)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 31 | nested: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_to_tokens (line 425) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `synthez` [INFO] [stdout] --> src/lib.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 2 | use synthez::{proc_macro2::TokenStream, quote::quote, ToTokens}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 2 | use synthez::{proc_macro2::TokenStream, quote::quote, ToTokens}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ToTokens` [INFO] [stdout] --> src/lib.rs:428:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(ToTokens)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_tokens` in this scope [INFO] [stdout] --> src/lib.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[to_tokens(append(foo_tokens, baz_tokens))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> src/lib.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 10 | quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] proc_macro::quote [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> src/lib.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 16 | quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] proc_macro::quote [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> src/lib.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 26 | quote! { #dummy }.to_string(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] proc_macro::quote [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> src/lib.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 27 | quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] proc_macro::quote [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenStream` in this scope [INFO] [stdout] --> src/lib.rs:433:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn foo_tokens(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro2::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro::bridge::server::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use syn::__private::TokenStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenStream` in this scope [INFO] [stdout] --> src/lib.rs:439:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn baz_tokens(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro2::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use proc_macro::bridge::server::TokenStream; [INFO] [stdout] | [INFO] [stdout] 2 | use syn::__private::TokenStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, 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 - derive_parse_attrs (line 316) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 4 | use synthez::ParseAttrs; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Default, ParseAttrs)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:323:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[parse(value, validate = not_foo)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let my_attrs = MyAttrs::parse_attrs("my_attr", &wrong); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_parse_attrs (line 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 3 | use synthez::ParseAttrs; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, ParseAttrs)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[parse(value, arg = value)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[parse(args(vals, values))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:228:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[parse(alias = v_a_l)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | let my_attrs = MyAttrs::parse_attrs("my_attr", &input); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | let my_attrs = MyAttrs::parse_attrs("my_attr", &wrong); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_parse_attrs (line 188) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `synthez` [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 3 | use synthez::ParseAttrs; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `synthez` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `ParseAttrs` [INFO] [stdout] --> src/lib.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, ParseAttrs)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[parse(value, alias = value)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parse` in this scope [INFO] [stdout] --> src/lib.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[parse(aliases(vals, values))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse_attrs` found for struct `MyAttrs` in the current scope [INFO] [stdout] --> src/lib.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyAttrs { [INFO] [stdout] | -------------- function or associated item `parse_attrs` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | let my_attrs = MyAttrs::parse_attrs("my_attr", &input); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MyAttrs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse_attrs`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `synthez_core::ParseAttrs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 109) [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 188) [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 220) [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 263) [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 316) [INFO] [stdout] src/lib.rs - derive_parse_attrs (line 366) [INFO] [stdout] src/lib.rs - derive_to_tokens (line 425) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a7d50f607ad2cc2d41ed9f1e9473b5f7444fd60648486aafa57c773ae24a11e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d50f607ad2cc2d41ed9f1e9473b5f7444fd60648486aafa57c773ae24a11e9", kill_on_drop: false }` [INFO] [stdout] a7d50f607ad2cc2d41ed9f1e9473b5f7444fd60648486aafa57c773ae24a11e9