[INFO] fetching crate shaku 0.6.1... [INFO] testing shaku-0.6.1 against beta-2021-09-08 for beta-1.56-1 [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 beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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" "+beta-2021-09-08" "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-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b89bcabe49c6e56c0c066563961c81a1ee11774bea3bb1b1283ca27a88145279 [INFO] running `Command { std: "docker" "start" "-a" "b89bcabe49c6e56c0c066563961c81a1ee11774bea3bb1b1283ca27a88145279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b89bcabe49c6e56c0c066563961c81a1ee11774bea3bb1b1283ca27a88145279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89bcabe49c6e56c0c066563961c81a1ee11774bea3bb1b1283ca27a88145279", kill_on_drop: false }` [INFO] [stdout] b89bcabe49c6e56c0c066563961c81a1ee11774bea3bb1b1283ca27a88145279 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6274b0e8409e039c90ac6363466ca510999db1a24989629ca9c193b92bc1629 [INFO] running `Command { std: "docker" "start" "-a" "c6274b0e8409e039c90ac6363466ca510999db1a24989629ca9c193b92bc1629", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [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 14.06s [INFO] running `Command { std: "docker" "inspect" "c6274b0e8409e039c90ac6363466ca510999db1a24989629ca9c193b92bc1629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6274b0e8409e039c90ac6363466ca510999db1a24989629ca9c193b92bc1629", kill_on_drop: false }` [INFO] [stdout] c6274b0e8409e039c90ac6363466ca510999db1a24989629ca9c193b92bc1629 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4849fdbf09e64e6c969d5689def28bb9f23bc04fa324d22406d917a1bbdd888 [INFO] running `Command { std: "docker" "start" "-a" "d4849fdbf09e64e6c969d5689def28bb9f23bc04fa324d22406d917a1bbdd888", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling trybuild v1.0.40 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling getrandom v0.1.16 [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 serde v1.0.123 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling shaku v0.6.1 (/opt/rustwide/workdir) [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d4849fdbf09e64e6c969d5689def28bb9f23bc04fa324d22406d917a1bbdd888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4849fdbf09e64e6c969d5689def28bb9f23bc04fa324d22406d917a1bbdd888", kill_on_drop: false }` [INFO] [stdout] d4849fdbf09e64e6c969d5689def28bb9f23bc04fa324d22406d917a1bbdd888