[INFO] fetching crate shaku_derive 0.5.0... [INFO] checking shaku_derive-0.5.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate shaku_derive 0.5.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate shaku_derive 0.5.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f2ff827aa2b200c34a2dd5e56f0d61be16ba44bfb30a738445df2fa0591547 [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" "53f2ff827aa2b200c34a2dd5e56f0d61be16ba44bfb30a738445df2fa0591547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f2ff827aa2b200c34a2dd5e56f0d61be16ba44bfb30a738445df2fa0591547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f2ff827aa2b200c34a2dd5e56f0d61be16ba44bfb30a738445df2fa0591547", kill_on_drop: false }` [INFO] [stdout] 53f2ff827aa2b200c34a2dd5e56f0d61be16ba44bfb30a738445df2fa0591547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b1218920fd73ce0a064cb9dfa888cb624f34b76e3d216cd522381c860a8a88c [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" "0b1218920fd73ce0a064cb9dfa888cb624f34b76e3d216cd522381c860a8a88c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking shaku_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.6 [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[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: 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/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_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: 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] [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/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: 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: 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[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[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: 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[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] [stderr] error: could not compile `shaku_derive` [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [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] For more information about an error, try `rustc --explain E0422`. [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[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] [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] [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: 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" "0b1218920fd73ce0a064cb9dfa888cb624f34b76e3d216cd522381c860a8a88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1218920fd73ce0a064cb9dfa888cb624f34b76e3d216cd522381c860a8a88c", kill_on_drop: false }` [INFO] [stdout] 0b1218920fd73ce0a064cb9dfa888cb624f34b76e3d216cd522381c860a8a88c