[INFO] cloning repository https://github.com/benkeil/rust-lambda-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benkeil/rust-lambda-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] efb8d9c5bf86838958a6d654e02b4f86beb2d601
[INFO] checking benkeil/rust-lambda-poc against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/benkeil/rust-lambda-poc on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/benkeil/rust-lambda-poc
[INFO] finished tweaking git repo https://github.com/benkeil/rust-lambda-poc
[INFO] tweaked toml for git repo https://github.com/benkeil/rust-lambda-poc written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/benkeil/rust-lambda-poc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8fd6b8a501e220aa086b3b1c54a1d794e8a8102ad272c4b8345a8a33004f07d1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8fd6b8a501e220aa086b3b1c54a1d794e8a8102ad272c4b8345a8a33004f07d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8fd6b8a501e220aa086b3b1c54a1d794e8a8102ad272c4b8345a8a33004f07d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fd6b8a501e220aa086b3b1c54a1d794e8a8102ad272c4b8345a8a33004f07d1", kill_on_drop: false }`
[INFO] [stdout] 8fd6b8a501e220aa086b3b1c54a1d794e8a8102ad272c4b8345a8a33004f07d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a185b566a25cf061d3cc5e71245f1688455abbd75a114c2717d754a50f347ebe
[INFO] running `Command { std: "docker" "start" "-a" "a185b566a25cf061d3cc5e71245f1688455abbd75a114c2717d754a50f347ebe", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking fmt v0.1.0
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]     Checking futures-channel v0.3.7
[INFO] [stderr]     Checking tracing-subscriber v0.2.15
[INFO] [stderr]     Checking dirs-sys v0.3.5
[INFO] [stderr]    Compiling rusoto_core v0.45.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-stream-impl v0.2.1
[INFO] [stderr]    Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime#13aa8f01)
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking futures-util v0.3.7
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking async-stream v0.2.1
[INFO] [stderr]     Checking core v1.0.0 (/opt/rustwide/workdir/code/core)
[INFO] [stderr]     Checking tracing v0.1.21
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> code/core/src/use_cases/hello_world_use_case.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |     async fn execute(&self) -> Send;
[INFO] [stdout]   |                                ^^^^ help: use `dyn`: `dyn Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `execute` has an incompatible type for trait
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[async_trait]
[INFO] [stdout]    | -------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 13 | #[async_trait]
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | expected trait object, found `()`
[INFO] [stdout]    | help: change the output type to match the trait: `Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]               found fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
[INFO] [stdout]    = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> code/core/src/use_cases/hello_world_use_case.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |     async fn execute(&self) -> Send;
[INFO] [stdout]   |                                ^^^^ help: use `dyn`: `dyn Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `execute` has an incompatible type for trait
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[async_trait]
[INFO] [stdout]    | -------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 13 | #[async_trait]
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | expected trait object, found `()`
[INFO] [stdout]    | help: change the output type to match the trait: `Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]               found fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
[INFO] [stdout]    = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |       async fn execute(&self) {
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 16 | |         let list = self.storage_repository.list();
[INFO] [stdout] 17 | |         let list = list.await;
[INFO] [stdout] 18 | |         println!("Bucket: {:?}", list);
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         // }
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^ future returned by `__execute` is not `Send`
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `HelloWorldUseCase`, the trait `Sync` is not implemented for `(dyn StorageRepository + 'static)`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     async fn execute(&self) {
[INFO] [stdout]    |                       ---- has type `&HelloWorldUseCase` which is not `Send`
[INFO] [stdout] 16 |         let list = self.storage_repository.list();
[INFO] [stdout] 17 |         let list = list.await;
[INFO] [stdout]    |                    ^^^^^^^^^^ await occurs here, with `self` maybe used later
[INFO] [stdout] ...
[INFO] [stdout] 22 |     }
[INFO] [stdout]    |     - `self` is later dropped here
[INFO] [stdout]    = note: required for the cast to the object type `dyn Future<Output = ()> + Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `core` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |       async fn execute(&self) {
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 16 | |         let list = self.storage_repository.list();
[INFO] [stdout] 17 | |         let list = list.await;
[INFO] [stdout] 18 | |         println!("Bucket: {:?}", list);
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         // }
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^ future returned by `__execute` is not `Send`
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `HelloWorldUseCase`, the trait `Sync` is not implemented for `(dyn StorageRepository + 'static)`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     async fn execute(&self) {
[INFO] [stdout]    |                       ---- has type `&HelloWorldUseCase` which is not `Send`
[INFO] [stdout] 16 |         let list = self.storage_repository.list();
[INFO] [stdout] 17 |         let list = list.await;
[INFO] [stdout]    |                    ^^^^^^^^^^ await occurs here, with `self` maybe used later
[INFO] [stdout] ...
[INFO] [stdout] 22 |     }
[INFO] [stdout]    |     - `self` is later dropped here
[INFO] [stdout]    = note: required for the cast to the object type `dyn Future<Output = ()> + Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a185b566a25cf061d3cc5e71245f1688455abbd75a114c2717d754a50f347ebe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a185b566a25cf061d3cc5e71245f1688455abbd75a114c2717d754a50f347ebe", kill_on_drop: false }`
[INFO] [stdout] a185b566a25cf061d3cc5e71245f1688455abbd75a114c2717d754a50f347ebe
