[INFO] fetching crate lambda_http 0.8.4... [INFO] testing lambda_http-0.8.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lambda_http 0.8.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate lambda_http 0.8.4 [INFO] finished tweaking crates.io crate lambda_http 0.8.4 [INFO] tweaked toml for crates.io crate lambda_http 0.8.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda_http 0.8.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lambda_http 0.8.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cdba9f014be67050d42682959d67a5ea2cb57b2dfc64e1b09fb5afc5c0b5cfd [INFO] running `Command { std: "docker" "start" "-a" "9cdba9f014be67050d42682959d67a5ea2cb57b2dfc64e1b09fb5afc5c0b5cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cdba9f014be67050d42682959d67a5ea2cb57b2dfc64e1b09fb5afc5c0b5cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdba9f014be67050d42682959d67a5ea2cb57b2dfc64e1b09fb5afc5c0b5cfd", kill_on_drop: false }` [INFO] [stdout] 9cdba9f014be67050d42682959d67a5ea2cb57b2dfc64e1b09fb5afc5c0b5cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e97bf50e867571ed3bb451360fc5e8a37eb45efdc2c79bffad3232b7671cd6 [INFO] running `Command { std: "docker" "start" "-a" "76e97bf50e867571ed3bb451360fc5e8a37eb45efdc2c79bffad3232b7671cd6", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling query_map v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-serde v1.1.3 [INFO] [stderr] Compiling aws_lambda_events v0.12.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling lambda_runtime_api_client v0.8.0 [INFO] [stderr] Compiling lambda_runtime v0.8.3 [INFO] [stderr] Compiling lambda_http v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aws_lambda_events::encodings::Body as LambdaEventBody` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use aws_lambda_events::encodings::Body as LambdaEventBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionResponse`, `service_fn`, and `tower` [INFO] [stdout] --> src/streaming.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | self, service_fn, tower, tower::ServiceExt, Error, FunctionResponse, LambdaEvent, MetadataPrelude, Service, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.38s [INFO] running `Command { std: "docker" "inspect" "76e97bf50e867571ed3bb451360fc5e8a37eb45efdc2c79bffad3232b7671cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e97bf50e867571ed3bb451360fc5e8a37eb45efdc2c79bffad3232b7671cd6", kill_on_drop: false }` [INFO] [stdout] 76e97bf50e867571ed3bb451360fc5e8a37eb45efdc2c79bffad3232b7671cd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43bad116b8881d9b722913e684137d3b41bc798b3c8e18dc1b5e34b9d7e464ad [INFO] running `Command { std: "docker" "start" "-a" "43bad116b8881d9b722913e684137d3b41bc798b3c8e18dc1b5e34b9d7e464ad", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `aws_lambda_events::encodings::Body as LambdaEventBody` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use aws_lambda_events::encodings::Body as LambdaEventBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionResponse`, `service_fn`, and `tower` [INFO] [stdout] --> src/streaming.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | self, service_fn, tower, tower::ServiceExt, Error, FunctionResponse, LambdaEvent, MetadataPrelude, Service, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lambda_http v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../lambda-events/src/fixtures/example-apigw-request.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/deserializer.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let data = include_bytes!("../../lambda-events/src/fixtures/example-apigw-request.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../lambda-events/src/fixtures/example-apigw-v2-request-iam.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/deserializer.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let data = include_bytes!("../../lambda-events/src/fixtures/example-apigw-v2-request-iam.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../lambda-events/src/fixtures/example-alb-lambda-target-request-multivalue-headers.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/deserializer.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let data = include_bytes!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 76 | | "../../lambda-events/src/fixtures/example-alb-lambda-target-request-multivalue-headers.json" [INFO] [stdout] 77 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../lambda-events/src/fixtures/example-apigw-websocket-request-without-method.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/deserializer.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | include_bytes!("../../lambda-events/src/fixtures/example-apigw-websocket-request-without-method.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::encodings::Body as LambdaEventBody` [INFO] [stdout] --> src/streaming.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use aws_lambda_events::encodings::Body as LambdaEventBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionResponse`, `service_fn`, and `tower` [INFO] [stdout] --> src/streaming.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | self, service_fn, tower, tower::ServiceExt, Error, FunctionResponse, LambdaEvent, MetadataPrelude, Service, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lambda_http` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43bad116b8881d9b722913e684137d3b41bc798b3c8e18dc1b5e34b9d7e464ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43bad116b8881d9b722913e684137d3b41bc798b3c8e18dc1b5e34b9d7e464ad", kill_on_drop: false }` [INFO] [stdout] 43bad116b8881d9b722913e684137d3b41bc798b3c8e18dc1b5e34b9d7e464ad