[INFO] fetching crate shaku 0.6.1... [INFO] checking shaku-0.6.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate shaku 0.6.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate shaku 0.6.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shaku 0.6.1 [INFO] finished tweaking crates.io crate shaku 0.6.1 [INFO] tweaked toml for crates.io crate shaku 0.6.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate shaku 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48c81c4f45fc7c878ee7b4f1576687646dd806cd7599f08e37e4d98f3d09e93b [INFO] running `Command { std: "docker" "start" "-a" "48c81c4f45fc7c878ee7b4f1576687646dd806cd7599f08e37e4d98f3d09e93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c81c4f45fc7c878ee7b4f1576687646dd806cd7599f08e37e4d98f3d09e93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c81c4f45fc7c878ee7b4f1576687646dd806cd7599f08e37e4d98f3d09e93b", kill_on_drop: false }` [INFO] [stdout] 48c81c4f45fc7c878ee7b4f1576687646dd806cd7599f08e37e4d98f3d09e93b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68c513379de270b8480698fc8021f5d7de845b4ebee1bfa0a2109e3755a9ef3f [INFO] running `Command { std: "docker" "start" "-a" "68c513379de270b8480698fc8021f5d7de845b4ebee1bfa0a2109e3755a9ef3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling trybuild v1.0.40 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling shaku_derive v0.6.0 [INFO] [stderr] Checking shaku v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> examples/simple_no_macros.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | value: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dependency` [INFO] [stdout] --> examples/simple_no_macros.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dependency: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> examples/simple_with_macros.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | value: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dependency` [INFO] [stdout] --> examples/simple_with_macros.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | dependency: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `component_dependency` [INFO] [stdout] --> tests/multiple_submodules.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | component_dependency: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `provider_dependency` [INFO] [stdout] --> tests/multiple_submodules.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | provider_dependency: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `executor` [INFO] [stdout] --> tests/generic_modules.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | executor: E, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register_service` [INFO] [stdout] --> tests/generic_modules.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | register_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `my_component` [INFO] [stdout] --> tests/override_service.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | my_component: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `my_provider` [INFO] [stdout] --> tests/override_service.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | my_provider: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestModule: HasProvider<(dyn Repository + 'static)>` is not satisfied [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] 75 | | components = [ [INFO] [stdout] 76 | | DatabaseConnectionPool [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ the trait `HasProvider<(dyn Repository + 'static)>` is not implemented for `TestModule` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >::Interface>> [INFO] [stdout] > [INFO] [stdout] note: required because of the requirements on the impl of `Provider` for `ServiceImpl` [INFO] [stdout] --> tests/repository_service_provider.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Provider)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | #[shaku(interface = Service)] [INFO] [stdout] 62 | struct ServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestModule: HasProvider<(dyn Repository + 'static)>` is not satisfied [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] 75 | | components = [ [INFO] [stdout] 76 | | DatabaseConnectionPool [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ the trait `HasProvider<(dyn Repository + 'static)>` is not implemented for `TestModule` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >::Interface>> [INFO] [stdout] > [INFO] [stdout] note: required because of the requirements on the impl of `Provider` for `ServiceImpl` [INFO] [stdout] --> tests/repository_service_provider.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Provider)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | #[shaku(interface = Service)] [INFO] [stdout] 62 | struct ServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `TestModule` [INFO] [stdout] --> tests/repository_service_provider.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | TestModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Module` [INFO] [stdout] --> /opt/rustwide/workdir/src/module/module_traits.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Module: ModuleInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Module` [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestModule: HasProvider<(dyn Repository + 'static)>` is not satisfied [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] 75 | | components = [ [INFO] [stdout] 76 | | DatabaseConnectionPool [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ the trait `HasProvider<(dyn Repository + 'static)>` is not implemented for `TestModule` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >::Interface>> [INFO] [stdout] > [INFO] [stdout] note: required because of the requirements on the impl of `Provider` for `ServiceImpl` [INFO] [stdout] --> tests/repository_service_provider.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Provider)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | #[shaku(interface = Service)] [INFO] [stdout] 62 | struct ServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `TestModule` [INFO] [stdout] --> tests/repository_service_provider.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | TestModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `HasComponent` [INFO] [stdout] --> /opt/rustwide/workdir/src/component.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | pub trait HasComponent: ModuleInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `HasComponent` [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` due to 6 previous errors [INFO] [stdout] error[E0277]: the trait bound `TestModule: HasProvider<(dyn Repository + 'static)>` is not satisfied [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] 75 | | components = [ [INFO] [stdout] 76 | | DatabaseConnectionPool [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ the trait `HasProvider<(dyn Repository + 'static)>` is not implemented for `TestModule` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >::Interface>> [INFO] [stdout] > [INFO] [stdout] note: required because of the requirements on the impl of `Provider` for `ServiceImpl` [INFO] [stdout] --> tests/repository_service_provider.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Provider)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | #[shaku(interface = Service)] [INFO] [stdout] 62 | struct ServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `TestModule` [INFO] [stdout] --> tests/repository_service_provider.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | TestModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `HasProvider` [INFO] [stdout] --> /opt/rustwide/workdir/src/provider.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait HasProvider: ModuleInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `HasProvider` [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `TestModule: HasProvider<(dyn Repository + 'static)>` is not satisfied [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] 75 | | components = [ [INFO] [stdout] 76 | | DatabaseConnectionPool [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ the trait `HasProvider<(dyn Repository + 'static)>` is not implemented for `TestModule` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >::Interface>> [INFO] [stdout] > [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68c513379de270b8480698fc8021f5d7de845b4ebee1bfa0a2109e3755a9ef3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c513379de270b8480698fc8021f5d7de845b4ebee1bfa0a2109e3755a9ef3f", kill_on_drop: false }` [INFO] [stdout] 68c513379de270b8480698fc8021f5d7de845b4ebee1bfa0a2109e3755a9ef3f