[INFO] fetching crate shaku_derive 0.6.1... [INFO] checking shaku_derive-0.6.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate shaku_derive 0.6.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate shaku_derive 0.6.1 [INFO] finished tweaking crates.io crate shaku_derive 0.6.1 [INFO] tweaked toml for crates.io crate shaku_derive 0.6.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shaku_derive 0.6.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 951ec2fcd0f38a5186d57eb1f61886691cead1343dd753b13b14a373baf95140 [INFO] running `Command { std: "docker" "start" "-a" "951ec2fcd0f38a5186d57eb1f61886691cead1343dd753b13b14a373baf95140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "951ec2fcd0f38a5186d57eb1f61886691cead1343dd753b13b14a373baf95140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "951ec2fcd0f38a5186d57eb1f61886691cead1343dd753b13b14a373baf95140", kill_on_drop: false }` [INFO] [stdout] 951ec2fcd0f38a5186d57eb1f61886691cead1343dd753b13b14a373baf95140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66965a900c6cf828334c21845a2a9d694134b413a01db543ff39daee3fdddc58 [INFO] running `Command { std: "docker" "start" "-a" "66965a900c6cf828334c21845a2a9d694134b413a01db543ff39daee3fdddc58", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking shaku_derive v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/parser/key_value.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KeyValue { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | pub key: syn::Ident, [INFO] [stdout] 5 | pub eq_token: syn::Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/structures/module.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ModuleServices { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | pub components: ModuleItems, [INFO] [stdout] 45 | pub comma_token: syn::Token![,], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleServices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword_token`, `eq_token`, and `bracket_token` are never read [INFO] [stdout] --> src/structures/module.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ModuleItems [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub keyword_token: T, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub eq_token: token::Eq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub bracket_token: token::Bracket, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleItems` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/parser/key_value.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KeyValue { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | pub key: syn::Ident, [INFO] [stdout] 5 | pub eq_token: syn::Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/structures/module.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ModuleServices { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | pub components: ModuleItems, [INFO] [stdout] 45 | pub comma_token: syn::Token![,], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleServices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword_token`, `eq_token`, and `bracket_token` are never read [INFO] [stdout] --> src/structures/module.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ModuleItems [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub keyword_token: T, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub eq_token: token::Eq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub bracket_token: token::Bracket, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleItems` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/parser/key_value.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KeyValue { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 4 | pub key: syn::Ident, [INFO] [stdout] 5 | pub eq_token: syn::Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/structures/module.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ModuleServices { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | pub components: ModuleItems, [INFO] [stdout] 45 | pub comma_token: syn::Token![,], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleServices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword_token`, `eq_token`, and `bracket_token` are never read [INFO] [stdout] --> src/structures/module.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ModuleItems [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub keyword_token: T, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub eq_token: token::Eq, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub bracket_token: token::Bracket, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleItems` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shaku` [INFO] [stdout] --> tests/generics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use shaku::{Component, Interface, Provider}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shaku` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shaku`, use `cargo add shaku` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shaku` [INFO] [stdout] --> tests/compile_two_derives.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shaku::{Component, Interface}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shaku` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shaku`, use `cargo add shaku` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shaku` [INFO] [stdout] --> tests/default_parameters.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shaku::{Component, Interface}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shaku` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shaku`, use `cargo add shaku` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/generics.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[shaku(interface = MyComponent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(Component, Provider)] [INFO] [stdout] 13 | struct MyComponentImpl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shaku` [INFO] [stdout] --> tests/compile_simple_component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shaku::{Component, Interface}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shaku` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shaku`, use `cargo add shaku` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/generics.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[shaku(interface = MyProvider)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(Component, Provider)] [INFO] [stdout] 21 | struct MyProviderImpl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_two_derives.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[shaku(interface = Foo)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Component, Provider)] [INFO] [stdout] 9 | struct TestComponent1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_two_derives.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[shaku(inject)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_two_derives.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[shaku(interface = Foo)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(Component, Provider)] [INFO] [stdout] 16 | struct TestComponent2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/generics.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[shaku(inject)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_two_derives.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[shaku(inject)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_simple_component.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[shaku(interface = Foo)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Component, Provider)] [INFO] [stdout] 9 | struct TestComponent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_simple_component.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[shaku(inject)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_simple_component.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[shaku(interface = Bar)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Component, Provider)] [INFO] [stdout] 19 | struct BarImpl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku_derive` (test "compile_two_derives") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[shaku(interface = MyTrait)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Component, Provider)] [INFO] [stdout] 15 | struct MyComponent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[shaku(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[shaku(default = 10)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[shaku(default = MyStruct(20))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyComponentParameters` in this scope [INFO] [stdout] --> tests/default_parameters.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let parameters = MyComponentParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shaku` [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shaku::{Component, Interface}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shaku` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shaku`, use `cargo add shaku` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyComponentParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyComponentParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyComponentParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku_derive` (test "default_parameters") due to 9 previous errors [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[shaku(interface = Foo)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 10+ #[derive(Component, Provider)] [INFO] [stdout] 11| struct TestComponent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[shaku(inject)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[shaku(interface = Bar)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shaku` is an attribute that can be used by the derive macros `Component` and `Provider`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(Component, Provider)] [INFO] [stdout] 21 | struct BarImpl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku_derive` (test "compile_non_dyn_inject") due to 4 previous errors [INFO] [stderr] error: could not compile `shaku_derive` (test "compile_simple_component") due to 4 previous errors [INFO] [stderr] error: could not compile `shaku_derive` (test "generics") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "66965a900c6cf828334c21845a2a9d694134b413a01db543ff39daee3fdddc58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66965a900c6cf828334c21845a2a9d694134b413a01db543ff39daee3fdddc58", kill_on_drop: false }` [INFO] [stdout] 66965a900c6cf828334c21845a2a9d694134b413a01db543ff39daee3fdddc58