[INFO] fetching crate shaku_derive 0.6.1... [INFO] checking shaku_derive-0.6.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate shaku_derive 0.6.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate shaku_derive 0.6.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e432f4ae0919599f82b8cd6abb362d454961f6d1bdc92bc5aede53c5c7e0365 [INFO] running `Command { std: "docker" "start" "-a" "9e432f4ae0919599f82b8cd6abb362d454961f6d1bdc92bc5aede53c5c7e0365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e432f4ae0919599f82b8cd6abb362d454961f6d1bdc92bc5aede53c5c7e0365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e432f4ae0919599f82b8cd6abb362d454961f6d1bdc92bc5aede53c5c7e0365", kill_on_drop: false }` [INFO] [stdout] 9e432f4ae0919599f82b8cd6abb362d454961f6d1bdc92bc5aede53c5c7e0365 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35290a271b719fe0f625ce6651a5860155cb1febd4daa8e5cd978fc2294aa88d [INFO] running `Command { std: "docker" "start" "-a" "35290a271b719fe0f625ce6651a5860155cb1febd4daa8e5cd978fc2294aa88d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.75 [INFO] [stderr] Checking shaku_derive v0.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.45 [INFO] [stderr] Migrating tests/compile_two_derives.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/compile_simple_component.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/shaku_derive_ui.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/generics.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/default_parameters.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/compile_non_dyn_inject.rs from 2018 edition to 2021 [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: 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: could not compile `shaku_derive` due to 8 previous errors [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 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: 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[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: 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[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:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[shaku(default)] [INFO] [stdout] | ^^^^^ [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] [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] [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] 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: aborting due to 10 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[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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/compile_non_dyn_inject.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | var5: Arc, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "35290a271b719fe0f625ce6651a5860155cb1febd4daa8e5cd978fc2294aa88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35290a271b719fe0f625ce6651a5860155cb1febd4daa8e5cd978fc2294aa88d", kill_on_drop: false }` [INFO] [stdout] 35290a271b719fe0f625ce6651a5860155cb1febd4daa8e5cd978fc2294aa88d