[INFO] fetching crate lambda_http 0.3.0... [INFO] testing lambda_http-0.3.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate lambda_http 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate lambda_http 0.3.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lambda_http 0.3.0 [INFO] finished tweaking crates.io crate lambda_http 0.3.0 [INFO] tweaked toml for crates.io crate lambda_http 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate lambda_http 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1562f73bd734b6671613a21bf3ca85099d229b9bc6806f88073385a0f5caca64 [INFO] running `Command { std: "docker" "start" "-a" "1562f73bd734b6671613a21bf3ca85099d229b9bc6806f88073385a0f5caca64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1562f73bd734b6671613a21bf3ca85099d229b9bc6806f88073385a0f5caca64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1562f73bd734b6671613a21bf3ca85099d229b9bc6806f88073385a0f5caca64", kill_on_drop: false }` [INFO] [stdout] 1562f73bd734b6671613a21bf3ca85099d229b9bc6806f88073385a0f5caca64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32483dda78bb372cc4826df450566c692d14a8dad71ebea733a5bb2f5cc5c512 [INFO] running `Command { std: "docker" "start" "-a" "32483dda78bb372cc4826df450566c692d14a8dad71ebea733a5bb2f5cc5c512", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing-subscriber v0.2.17 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling tokio-stream v0.1.4 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling lambda_runtime v0.3.0 [INFO] [stderr] Compiling lambda_http v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.98s [INFO] running `Command { std: "docker" "inspect" "32483dda78bb372cc4826df450566c692d14a8dad71ebea733a5bb2f5cc5c512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32483dda78bb372cc4826df450566c692d14a8dad71ebea733a5bb2f5cc5c512", kill_on_drop: false }` [INFO] [stdout] 32483dda78bb372cc4826df450566c692d14a8dad71ebea733a5bb2f5cc5c512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf77d4eb62e9faed10faebee87b520ba4f87d5ccaee34bf7419c4448a8dafcde [INFO] running `Command { std: "docker" "start" "-a" "bf77d4eb62e9faed10faebee87b520ba4f87d5ccaee34bf7419c4448a8dafcde", kill_on_drop: false }` [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling lambda_http v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:612:33 [INFO] [stdout] | [INFO] [stdout] 612 | assert!(result.is_ok(), format!("event was not parsed as expected {:?}", result)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 612 | assert!(result.is_ok(), "event was not parsed as expected {:?}", result); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 623 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 638 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 661 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 679 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:694:13 [INFO] [stdout] | [INFO] [stdout] 694 | format!("event is was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 694 | "event is was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | format!("event is was not parsed as expected {:?} given {}", result, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 715 | "event is was not parsed as expected {:?} given {}", result, input [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "bf77d4eb62e9faed10faebee87b520ba4f87d5ccaee34bf7419c4448a8dafcde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf77d4eb62e9faed10faebee87b520ba4f87d5ccaee34bf7419c4448a8dafcde", kill_on_drop: false }` [INFO] [stdout] bf77d4eb62e9faed10faebee87b520ba4f87d5ccaee34bf7419c4448a8dafcde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ed1db45497d57969673607c748a1c82c3ac3342cf7be823bdf2e76e183bdcdf [INFO] running `Command { std: "docker" "start" "-a" "0ed1db45497d57969673607c748a1c82c3ac3342cf7be823bdf2e76e183bdcdf", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:612:33 [INFO] [stderr] | [INFO] [stderr] 612 | assert!(result.is_ok(), format!("event was not parsed as expected {:?}", result)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 612 | assert!(result.is_ok(), "event was not parsed as expected {:?}", result); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:623:13 [INFO] [stderr] | [INFO] [stderr] 623 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 623 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:638:13 [INFO] [stderr] | [INFO] [stderr] 638 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 638 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:661:13 [INFO] [stderr] | [INFO] [stderr] 661 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 661 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:679:13 [INFO] [stderr] | [INFO] [stderr] 679 | format!("event was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 679 | "event was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:694:13 [INFO] [stderr] | [INFO] [stderr] 694 | format!("event is was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 694 | "event is was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/request.rs:715:13 [INFO] [stderr] | [INFO] [stderr] 715 | format!("event is was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 715 | "event is was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lambda_http-88f8256eb61ce521) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test body::tests::from_cow_str ... ok [INFO] [stdout] test body::tests::from_cow_bytes ... ok [INFO] [stdout] test body::tests::from_string ... ok [INFO] [stdout] test body::tests::from_str ... ok [INFO] [stdout] test body::tests::from_unit ... ok [INFO] [stdout] test body::tests::serialize_text ... ok [INFO] [stdout] test ext::tests::requests_can_mock_query_string_parameters_ext ... ok [INFO] [stdout] test ext::tests::requests_can_mock_stage_variables_ext ... ok [INFO] [stdout] test body::tests::serialize_empty ... ok [INFO] [stdout] test ext::tests::requests_match_json_content_type_with_charset ... ok [INFO] [stdout] test ext::tests::requests_omiting_content_types_do_not_support_parseable_payloads ... ok [INFO] [stdout] test request::tests::deserializes_alb_request_events ... ok [INFO] [stdout] test body::tests::from_bytes ... ok [INFO] [stdout] test request::tests::deserializes_apigw_multi_value_request_events ... ok [INFO] [stdout] test ext::tests::requests_can_mock_path_parameters_ext ... ok [INFO] [stdout] test response::tests::json_into_response ... ok [INFO] [stdout] test response::tests::serialize_cookies ... ok [INFO] [stdout] test strmap::tests::str_map_default_is_empty ... ok [INFO] [stdout] test response::tests::serialize_body_for_api_gateway ... ok [INFO] [stdout] test strmap::tests::str_map_iter ... ok [INFO] [stdout] test strmap::tests::str_map_get ... ok [INFO] [stdout] test request::tests::deserialize_with_null ... ok [INFO] [stdout] test response::tests::serialize_body_for_api_gateway_v2 ... ok [INFO] [stdout] test body::tests::body_has_default ... ok [INFO] [stdout] test request::tests::deserializes_alb_multi_value_request_events ... ok [INFO] [stdout] test strmap::tests::str_map_get_all ... ok [INFO] [stdout] test response::tests::serialize_body_for_alb ... ok [INFO] [stdout] test body::tests::serialize_binary ... ok [INFO] [stdout] test ext::tests::requests_have_json_parseable_payloads ... ok [INFO] [stdout] test response::tests::serialize_multi_value_headers ... ok [INFO] [stdout] test response::tests::text_into_response ... ok [INFO] [stdout] test ext::tests::requests_match_form_post_content_type_with_charset ... ok [INFO] [stdout] test ext::tests::requests_have_form_post_parsable_payloads ... ok [INFO] [stdout] test request::tests::deserializes_apigw_request_events_from_readables ... ok [INFO] [stdout] test request::tests::deserializes_minimal_apigw_v2_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_v2_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_request_events ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests lambda_http [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/request.rs - request::from_reader (line 560) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 36) - compile ... ok [INFO] [stdout] test src/request.rs - request::from_str (line 583) - compile ... ok [INFO] [stdout] test src/ext.rs - ext::RequestExt (line 68) - compile ... ok [INFO] [stdout] test src/body.rs - body::Body (line 38) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 27) ... ok [INFO] [stdout] test src/response.rs - response::IntoResponse (line 169) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 51) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ed1db45497d57969673607c748a1c82c3ac3342cf7be823bdf2e76e183bdcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed1db45497d57969673607c748a1c82c3ac3342cf7be823bdf2e76e183bdcdf", kill_on_drop: false }` [INFO] [stdout] 0ed1db45497d57969673607c748a1c82c3ac3342cf7be823bdf2e76e183bdcdf