[INFO] fetching crate lambda_handler 0.1.3...
[INFO] checking lambda_handler-0.1.3 against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] extracting crate lambda_handler 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate lambda_handler 0.1.3
[INFO] finished tweaking crates.io crate lambda_handler 0.1.3
[INFO] tweaked toml for crates.io crate lambda_handler 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lambda_handler 0.1.3 on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lambda_handler 0.1.3 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:37:1
[INFO] [stderr]    |
[INFO] [stderr] 37 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `lambda_handler` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844
[INFO] running `Command { std: "docker" "start" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:37:1
[INFO] [stderr]    |
[INFO] [stderr] 37 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `lambda_handler` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking flate2 v1.0.27
[INFO] [stderr]     Checking tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling darling_core v0.20.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]    Compiling darling_macro v0.20.3
[INFO] [stderr]    Compiling darling v0.20.3
[INFO] [stderr]    Compiling serde_with_macros v3.3.0
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking query_map v0.7.0
[INFO] [stderr]     Checking serde_dynamo v4.2.7
[INFO] [stderr]     Checking serde_path_to_error v0.1.14
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking serde_with v3.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking http-serde v1.1.3
[INFO] [stderr]     Checking aws_lambda_events v0.11.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking lambda_runtime_api_client v0.8.0
[INFO] [stderr]     Checking lambda_runtime v0.8.2
[INFO] [stderr]     Checking lambda_handler v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0038]: the trait `AwsEvent` is not dyn compatible
[INFO] [stdout]   --> src/events.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub type LambdaFn<R> = Box<dyn Fn(LambdaEvent<Box<dyn AwsEvent>>) -> LambdaFuture<R> + Send + Sync>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `AwsEvent` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/events.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait AwsEvent: Send + Sync + Sized + DeserializeOwned {
[INFO] [stdout]    |           --------                ^^^^^   ^^^^^^^^^^^^^^^^ ...because it requires `Self: Sized`
[INFO] [stdout]    |           |                       |
[INFO] [stdout]    |           |                       ...because it requires `Self: Sized`
[INFO] [stdout]    |           this trait is not dyn compatible...
[INFO] [stdout]    = help: the following types implement `AwsEvent`:
[INFO] [stdout]              aws_lambda_events::s3::S3Event
[INFO] [stdout]              aws_lambda_events::sns::SnsEvent
[INFO] [stdout]              aws_lambda_events::sqs::SqsEvent
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `AwsEvent` for this new enum and using it instead
[INFO] [stdout]    = note: `AwsEvent` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lambda_handler` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0038]: the trait `AwsEvent` is not dyn compatible
[INFO] [stdout]   --> src/events.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub type LambdaFn<R> = Box<dyn Fn(LambdaEvent<Box<dyn AwsEvent>>) -> LambdaFuture<R> + Send + Sync>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `AwsEvent` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/events.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait AwsEvent: Send + Sync + Sized + DeserializeOwned {
[INFO] [stdout]    |           --------                ^^^^^   ^^^^^^^^^^^^^^^^ ...because it requires `Self: Sized`
[INFO] [stdout]    |           |                       |
[INFO] [stdout]    |           |                       ...because it requires `Self: Sized`
[INFO] [stdout]    |           this trait is not dyn compatible...
[INFO] [stdout]    = help: the following types implement `AwsEvent`:
[INFO] [stdout]              aws_lambda_events::s3::S3Event
[INFO] [stdout]              aws_lambda_events::sns::SnsEvent
[INFO] [stdout]              aws_lambda_events::sqs::SqsEvent
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `AwsEvent` for this new enum and using it instead
[INFO] [stdout]    = note: `AwsEvent` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lambda_handler` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844", kill_on_drop: false }`
[INFO] [stdout] 4e9e7c83c4c273218fa7b64bb00de1e04149606c49be31e425f15095d82fe844
