[INFO] cloning repository https://github.com/MauricioZapata00/240726-rust-todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MauricioZapata00/240726-rust-todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMauricioZapata00%2F240726-rust-todo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMauricioZapata00%2F240726-rust-todo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 374116332e43d5e4fad4dc18d7c4b7328823d89d [INFO] checking MauricioZapata00/240726-rust-todo-app/374116332e43d5e4fad4dc18d7c4b7328823d89d against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMauricioZapata00%2F240726-rust-todo-app" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MauricioZapata00/240726-rust-todo-app on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MauricioZapata00/240726-rust-todo-app [INFO] finished tweaking git repo https://github.com/MauricioZapata00/240726-rust-todo-app [INFO] tweaked toml for git repo https://github.com/MauricioZapata00/240726-rust-todo-app written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MauricioZapata00/240726-rust-todo-app 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bec490ae843f876245ada00c9155e73c88f36733eb002429044bfd1dda48359 [INFO] running `Command { std: "docker" "start" "-a" "9bec490ae843f876245ada00c9155e73c88f36733eb002429044bfd1dda48359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bec490ae843f876245ada00c9155e73c88f36733eb002429044bfd1dda48359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bec490ae843f876245ada00c9155e73c88f36733eb002429044bfd1dda48359", kill_on_drop: false }` [INFO] [stdout] 9bec490ae843f876245ada00c9155e73c88f36733eb002429044bfd1dda48359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41aa918913504d2ad3667a8979c67ede99169f29ff1f93d2b076399745e96aa1 [INFO] running `Command { std: "docker" "start" "-a" "41aa918913504d2ad3667a8979c67ede99169f29ff1f93d2b076399745e96aa1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Checking infrastructure v0.1.0 (/opt/rustwide/workdir/infrastructure) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stderr] Checking application v0.1.0 (/opt/rustwide/workdir/application) [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> application/src/use_case/services/business/get_all_todos_use_case.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | async fn process(&self) -> Result, Box>{ [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 16 | | self.todo_repository.get_all_todos().await [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> application/src/use_case/services/business/get_all_todos_use_case.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | async fn process(&self) -> Result, Box>{ [INFO] [stdout] | ^^^^ has type `&GetAllTodosService` which is not `Send`, because `GetAllTodosService` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, Box<...>>> + Send>>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 14 | impl GetAllTodosUseCase for GetAllTodosService { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> application/src/use_case/services/business/get_all_todos_use_case.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | async fn process(&self) -> Result, Box>{ [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 16 | | self.todo_repository.get_all_todos().await [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> application/src/use_case/services/business/get_all_todos_use_case.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | async fn process(&self) -> Result, Box>{ [INFO] [stdout] | ^^^^ has type `&GetAllTodosService` which is not `Send`, because `GetAllTodosService` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, Box<...>>> + Send>>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 14 | impl GetAllTodosUseCase for GetAllTodosService { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> application/src/use_case/services/business/validate_todo_use_case.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self) -> Result>{ [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 18 | | let todos_result: Result, Box> = self.todo_repository [INFO] [stdout] 19 | | .get_all_todos().await; [INFO] [stdout] 20 | | let todos = match todos_result { [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(true) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> application/src/use_case/services/business/validate_todo_use_case.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self) -> Result>{ [INFO] [stdout] | ^^^^ has type `&ValidateTodoService` which is not `Send`, because `ValidateTodoService` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin>> + Send>>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 16 | impl ValidateTodoUseCase for ValidateTodoService { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> application/src/use_case/services/business/validate_todo_use_case.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self) -> Result>{ [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 18 | | let todos_result: Result, Box> = self.todo_repository [INFO] [stdout] 19 | | .get_all_todos().await; [INFO] [stdout] 20 | | let todos = match todos_result { [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(true) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> application/src/use_case/services/business/validate_todo_use_case.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self) -> Result>{ [INFO] [stdout] | ^^^^ has type `&ValidateTodoService` which is not `Send`, because `ValidateTodoService` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin>> + Send>>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 16 | impl ValidateTodoUseCase for ValidateTodoService { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `application` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `application` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "41aa918913504d2ad3667a8979c67ede99169f29ff1f93d2b076399745e96aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41aa918913504d2ad3667a8979c67ede99169f29ff1f93d2b076399745e96aa1", kill_on_drop: false }` [INFO] [stdout] 41aa918913504d2ad3667a8979c67ede99169f29ff1f93d2b076399745e96aa1