[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] testing benkeil/rust-lambda-poc against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc" "/workspace/builds/worker-75/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/benkeil/rust-lambda-poc on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-75/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" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hmac v0.8.1
[INFO] [stderr]   Downloaded base-x v0.2.7
[INFO] [stderr]   Downloaded rusoto_signature v0.45.0
[INFO] [stderr]   Downloaded aws_lambda_events v0.3.1
[INFO] [stderr]   Downloaded rusoto_s3 v0.45.0
[INFO] [stderr]   Downloaded rust-argon2 v0.8.2
[INFO] [stderr]   Downloaded zeroize v1.1.1
[INFO] [stderr]   Downloaded rusoto_core v0.45.0
[INFO] [stderr]   Downloaded sharded-slab v0.1.0
[INFO] [stderr]   Downloaded loom v0.3.6
[INFO] [stderr]   Downloaded fmt v0.1.0
[INFO] [stderr]   Downloaded rusoto_credential v0.45.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbe0cfbd1b45e20cbd18d7b0eff131383a7ebd0a171aa0b84514f6d936852933
[INFO] running `Command { std: "docker" "start" "-a" "fbe0cfbd1b45e20cbd18d7b0eff131383a7ebd0a171aa0b84514f6d936852933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbe0cfbd1b45e20cbd18d7b0eff131383a7ebd0a171aa0b84514f6d936852933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbe0cfbd1b45e20cbd18d7b0eff131383a7ebd0a171aa0b84514f6d936852933", kill_on_drop: false }`
[INFO] [stdout] fbe0cfbd1b45e20cbd18d7b0eff131383a7ebd0a171aa0b84514f6d936852933
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33177e28c303ed7e6e6648a078bcfd7ad4a439a283744e318e75f8607013bc4f
[INFO] running `Command { std: "docker" "start" "-a" "33177e28c303ed7e6e6648a078bcfd7ad4a439a283744e318e75f8607013bc4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling futures-core v0.3.7
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.7
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling futures-io v0.3.7
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling const_fn v0.4.3
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling fmt v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling sharded-slab v0.1.0
[INFO] [stderr]    Compiling rusoto_core v0.45.0
[INFO] [stderr]    Compiling futures-channel v0.3.7
[INFO] [stderr]    Compiling futures-task v0.3.7
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.11
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling tracing-subscriber v0.2.15
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.7
[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]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling async-stream v0.2.1
[INFO] [stderr]    Compiling core v1.0.0 (/opt/rustwide/workdir/code/core)
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling pin-project v1.0.1
[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] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "33177e28c303ed7e6e6648a078bcfd7ad4a439a283744e318e75f8607013bc4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33177e28c303ed7e6e6648a078bcfd7ad4a439a283744e318e75f8607013bc4f", kill_on_drop: false }`
[INFO] [stdout] 33177e28c303ed7e6e6648a078bcfd7ad4a439a283744e318e75f8607013bc4f
