[INFO] cloning repository https://github.com/ukihot/dippo-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ukihot/dippo-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukihot%2Fdippo-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukihot%2Fdippo-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aaaf0bbe76b21272f23338fa299555e84858ddf5 [INFO] testing ukihot/dippo-sample against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukihot%2Fdippo-sample" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ukihot/dippo-sample on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ukihot/dippo-sample [INFO] finished tweaking git repo https://github.com/ukihot/dippo-sample [INFO] tweaked toml for git repo https://github.com/ukihot/dippo-sample written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ukihot/dippo-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing ukihot/dippo-sample against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukihot%2Fdippo-sample" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ukihot/dippo-sample on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ukihot/dippo-sample [INFO] finished tweaking git repo https://github.com/ukihot/dippo-sample [INFO] tweaked toml for git repo https://github.com/ukihot/dippo-sample written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ukihot/dippo-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a06ffc05d2973d17f36716dc946edca4892abce81a4b9e8a4adb91d925317a6 [INFO] running `Command { std: "docker" "start" "-a" "0a06ffc05d2973d17f36716dc946edca4892abce81a4b9e8a4adb91d925317a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a06ffc05d2973d17f36716dc946edca4892abce81a4b9e8a4adb91d925317a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a06ffc05d2973d17f36716dc946edca4892abce81a4b9e8a4adb91d925317a6", kill_on_drop: false }` [INFO] [stdout] 0a06ffc05d2973d17f36716dc946edca4892abce81a4b9e8a4adb91d925317a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bd42737980b60db10fc3fede27f5ea03fc968ea265527687764c57c3095f116 [INFO] running `Command { std: "docker" "start" "-a" "1bd42737980b60db10fc3fede27f5ea03fc968ea265527687764c57c3095f116", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling dippo v0.1.0 (/opt/rustwide/workdir/dippo) [INFO] [stdout] warning: trait `AsAny` is never used [INFO] [stdout] --> dippo/src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait AsAny { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dippo-sample v0.1.0 (/opt/rustwide/workdir/dippo-sample) [INFO] [stdout] error[E0423]: expected value, found struct `UserInteractor` [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | container.stockpile::(UserInteractor); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use struct literal syntax instead: `UserInteractor { repository: val, output: val, factory: val }` [INFO] [stdout] | [INFO] [stdout] ::: dippo-sample/src/applications/user_usecase/user_interactor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub struct UserInteractor { [INFO] [stdout] 9 | | repository: R, [INFO] [stdout] 10 | | output: O, [INFO] [stdout] 11 | | factory: F, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- `UserInteractor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn UserRepository` cannot be known at compilation time [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | container.stockpile::(UserRepositoryImpl); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn UserRepository` [INFO] [stdout] note: required by an implicit `Sized` bound in `DippotamusContainer::stockpile` [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `DippotamusContainer::stockpile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | container.stockpile::(UserRepositoryImpl); [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^^^^^ expected `dyn UserRepository`, found `UserRepositoryImpl` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `dyn UserRepository` [INFO] [stdout] found struct `UserRepositoryImpl` [INFO] [stdout] = help: `UserRepositoryImpl` implements `UserRepository` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn UserOutputPort` cannot be known at compilation time [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | container.stockpile::(UserPresenter); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn UserOutputPort` [INFO] [stdout] note: required by an implicit `Sized` bound in `DippotamusContainer::stockpile` [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `DippotamusContainer::stockpile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | container.stockpile::(UserPresenter); [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^ expected `dyn UserOutputPort`, found `UserPresenter` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `dyn UserOutputPort` [INFO] [stdout] found struct `UserPresenter` [INFO] [stdout] = help: `UserPresenter` implements `UserOutputPort` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn UserInputPort` cannot be known at compilation time [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | container.stockpile::(UserInteractor); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn UserInputPort` [INFO] [stdout] note: required by an implicit `Sized` bound in `DippotamusContainer::stockpile` [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `DippotamusContainer::stockpile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn UserFactory` cannot be known at compilation time [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | container.stockpile::(DefaultUserFactory); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn UserFactory` [INFO] [stdout] note: required by an implicit `Sized` bound in `DippotamusContainer::stockpile` [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `DippotamusContainer::stockpile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dippo-sample/src/dippotamus.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | container.stockpile::(DefaultUserFactory); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^ expected `dyn UserFactory`, found `DefaultUserFactory` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `dyn UserFactory` [INFO] [stdout] found struct `DefaultUserFactory` [INFO] [stdout] = help: `DefaultUserFactory` implements `UserFactory` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stockpile(&mut self, service: T) -> Result<(), StockpileError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn UserInputPort` cannot be known at compilation time [INFO] [stdout] --> dippo-sample/src/main.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | let user_interactor = container.spit_up::().unwrap(); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn UserInputPort` [INFO] [stdout] note: required by an implicit `Sized` bound in `DippotamusContainer::spit_up` [INFO] [stdout] --> /opt/rustwide/workdir/dippo/src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn spit_up(&self) -> Result<&T, SpitUpError> { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `DippotamusContainer::spit_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&dyn UserInputPort: UserInputPort` is not satisfied [INFO] [stdout] --> dippo-sample/src/main.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let controller = UserController::new(user_interactor); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^ the trait `UserInputPort` is not implemented for `&dyn UserInputPort` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `UserInputPort` is implemented for `UserInteractor` [INFO] [stdout] note: required by a bound in `UserController::::new` [INFO] [stdout] --> dippo-sample/src/presentations/controller.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl UserController { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `UserController::::new` [INFO] [stdout] 8 | pub fn new(input_port: I) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&dyn UserInputPort: UserInputPort` is not satisfied [INFO] [stdout] --> dippo-sample/src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let controller = UserController::new(user_interactor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `UserInputPort` is not implemented for `&dyn UserInputPort` [INFO] [stdout] | [INFO] [stdout] = help: the trait `UserInputPort` is implemented for `UserInteractor` [INFO] [stdout] note: required by a bound in `UserController` [INFO] [stdout] --> dippo-sample/src/presentations/controller.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UserController { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `UserController` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `register` exists for struct `UserController<&dyn UserInputPort>`, but its trait bounds were not satisfied [INFO] [stdout] --> dippo-sample/src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | controller.register(1, "Alice".to_string(), "alice@grillware.com".to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `UserController<&dyn UserInputPort>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: dippo-sample/src/presentations/controller.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UserController { [INFO] [stdout] | ------------------------------------------- method `register` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `&dyn UserInputPort: UserInputPort` was not satisfied [INFO] [stdout] --> dippo-sample/src/presentations/controller.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl UserController { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dippo-sample` (bin "dippo-sample") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "1bd42737980b60db10fc3fede27f5ea03fc968ea265527687764c57c3095f116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd42737980b60db10fc3fede27f5ea03fc968ea265527687764c57c3095f116", kill_on_drop: false }` [INFO] [stdout] 1bd42737980b60db10fc3fede27f5ea03fc968ea265527687764c57c3095f116