[INFO] crate shaku_derive 0.5.0 is already in cache [INFO] testing shaku_derive-0.5.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate shaku_derive 0.5.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate shaku_derive 0.5.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28aa469b7c2cf00e386b1687c52e687c61788c340d2963c7e8498e82b5b0f5f9 [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" "28aa469b7c2cf00e386b1687c52e687c61788c340d2963c7e8498e82b5b0f5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28aa469b7c2cf00e386b1687c52e687c61788c340d2963c7e8498e82b5b0f5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28aa469b7c2cf00e386b1687c52e687c61788c340d2963c7e8498e82b5b0f5f9", kill_on_drop: false }` [INFO] [stdout] 28aa469b7c2cf00e386b1687c52e687c61788c340d2963c7e8498e82b5b0f5f9 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91207d901f070181451b6ec73ff74601338eb731f45e853b411e58a8c41234ba [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" "91207d901f070181451b6ec73ff74601338eb731f45e853b411e58a8c41234ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling shaku_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.09s [INFO] running `Command { std: "docker" "inspect" "91207d901f070181451b6ec73ff74601338eb731f45e853b411e58a8c41234ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91207d901f070181451b6ec73ff74601338eb731f45e853b411e58a8c41234ba", kill_on_drop: false }` [INFO] [stdout] 91207d901f070181451b6ec73ff74601338eb731f45e853b411e58a8c41234ba [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b743ccfb70468ce6ae617fdf2609c88305dea7d2089b46ea77a75811b06de2e [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" "9b743ccfb70468ce6ae617fdf2609c88305dea7d2089b46ea77a75811b06de2e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trybuild v1.0.30 [INFO] [stderr] Compiling shaku_derive v0.5.0 (/opt/rustwide/workdir) [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 type 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: could not compile `shaku_derive`. [INFO] [stderr] [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[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 type or module `shaku` [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 type 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[E0433]: failed to resolve: use of undeclared type or module `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MyComponentParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MyComponentParameters` [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 type 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MyComponentParameters` [INFO] [stdout] --> tests/default_parameters.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let parameters = MyComponentParameters::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `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] For more information about this error, try `rustc --explain E0432`. [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 type 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: 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: 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: 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: 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 7 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" "9b743ccfb70468ce6ae617fdf2609c88305dea7d2089b46ea77a75811b06de2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b743ccfb70468ce6ae617fdf2609c88305dea7d2089b46ea77a75811b06de2e", kill_on_drop: false }` [INFO] [stdout] 9b743ccfb70468ce6ae617fdf2609c88305dea7d2089b46ea77a75811b06de2e