[INFO] fetching crate shaku_derive 0.5.0... [INFO] checking shaku_derive-0.5.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate shaku_derive 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate shaku_derive 0.5.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate shaku_derive 0.5.0 [INFO] finished tweaking crates.io crate shaku_derive 0.5.0 [INFO] tweaked toml for crates.io crate shaku_derive 0.5.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29360f5292a2170e13c4cc3467c18ce9c1f50e5b948096e4aa6ac046c009f0ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29360f5292a2170e13c4cc3467c18ce9c1f50e5b948096e4aa6ac046c009f0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29360f5292a2170e13c4cc3467c18ce9c1f50e5b948096e4aa6ac046c009f0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29360f5292a2170e13c4cc3467c18ce9c1f50e5b948096e4aa6ac046c009f0ff", kill_on_drop: false }` [INFO] [stdout] 29360f5292a2170e13c4cc3467c18ce9c1f50e5b948096e4aa6ac046c009f0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48b70e1b84c3e2f5845e42c5de7dbc90580b6d5c50f3423c256185529e8b03b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "48b70e1b84c3e2f5845e42c5de7dbc90580b6d5c50f3423c256185529e8b03b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Checking syn v1.0.57 [INFO] [stderr] Checking shaku_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [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 undeclared crate or module `shaku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_simple_component.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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 undeclared crate or module `shaku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_two_derives.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [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] [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] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_simple_component.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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 undeclared crate or module `shaku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/default_parameters.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_two_derives.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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_two_derives.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[shaku(interface = Foo)] [INFO] [stdout] | ^^^^^ [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] [INFO] [stderr] error: could not compile `shaku_derive` [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 undeclared crate or module `shaku` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[shaku(default = 10)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shaku` in this scope [INFO] [stdout] --> tests/default_parameters.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[shaku(default = MyStruct(20))] [INFO] [stdout] | ^^^^^ [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 undeclared crate or module `shaku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/generics.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyComponentParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | 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:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyComponentParameters` [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:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let parameters = MyComponentParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [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] [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] [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] [INFO] [stdout] error: cannot determine resolution for the derive macro `Component` [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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] [INFO] [stdout] error: cannot determine resolution for the derive macro `Provider` [INFO] [stdout] --> tests/generics.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Provider)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48b70e1b84c3e2f5845e42c5de7dbc90580b6d5c50f3423c256185529e8b03b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b70e1b84c3e2f5845e42c5de7dbc90580b6d5c50f3423c256185529e8b03b0", kill_on_drop: false }` [INFO] [stdout] 48b70e1b84c3e2f5845e42c5de7dbc90580b6d5c50f3423c256185529e8b03b0