[INFO] fetching crate shaku 0.6.1... [INFO] testing shaku-0.6.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate shaku 0.6.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate shaku 0.6.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aa0bb3dc6c06494daf7edc32cdf3d9126399049a0cf3a37ed5f05c62b326a4d [INFO] running `Command { std: "docker" "start" "-a" "3aa0bb3dc6c06494daf7edc32cdf3d9126399049a0cf3a37ed5f05c62b326a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aa0bb3dc6c06494daf7edc32cdf3d9126399049a0cf3a37ed5f05c62b326a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa0bb3dc6c06494daf7edc32cdf3d9126399049a0cf3a37ed5f05c62b326a4d", kill_on_drop: false }` [INFO] [stdout] 3aa0bb3dc6c06494daf7edc32cdf3d9126399049a0cf3a37ed5f05c62b326a4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 356f0476c290d0ed1ec18e1ac58c769c315d06a2530c98524e3a394d7ea7163d [INFO] running `Command { std: "docker" "start" "-a" "356f0476c290d0ed1ec18e1ac58c769c315d06a2530c98524e3a394d7ea7163d", 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 once_cell v1.5.2 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling shaku_derive v0.6.0 [INFO] [stderr] Compiling shaku v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.96s [INFO] running `Command { std: "docker" "inspect" "356f0476c290d0ed1ec18e1ac58c769c315d06a2530c98524e3a394d7ea7163d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356f0476c290d0ed1ec18e1ac58c769c315d06a2530c98524e3a394d7ea7163d", kill_on_drop: false }` [INFO] [stdout] 356f0476c290d0ed1ec18e1ac58c769c315d06a2530c98524e3a394d7ea7163d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecdaef91fe9c4ef16b47f9725568ac13b29640f6e54432dcd3cd4867e4c46e9a [INFO] running `Command { std: "docker" "start" "-a" "ecdaef91fe9c4ef16b47f9725568ac13b29640f6e54432dcd3cd4867e4c46e9a", kill_on_drop: false }` [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 cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling trybuild v1.0.40 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling shaku v0.6.1 (/opt/rustwide/workdir) [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: `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: 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: `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: 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] 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] [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] [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 by a bound in `HasProvider` [INFO] [stdout] --> /opt/rustwide/workdir/src/provider.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / pub trait HasProvider: ModuleInterface { [INFO] [stdout] 44 | | /// Create a service using the provider registered with the interface `I`. [INFO] [stdout] 45 | | /// Each call will create a new instance of the service. [INFO] [stdout] 46 | | /// [INFO] [stdout] ... | [INFO] [stdout] 72 | | fn provide(&self) -> Result, Box>; [INFO] [stdout] 73 | | } [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] [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: could not compile `shaku` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ecdaef91fe9c4ef16b47f9725568ac13b29640f6e54432dcd3cd4867e4c46e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdaef91fe9c4ef16b47f9725568ac13b29640f6e54432dcd3cd4867e4c46e9a", kill_on_drop: false }` [INFO] [stdout] ecdaef91fe9c4ef16b47f9725568ac13b29640f6e54432dcd3cd4867e4c46e9a