[INFO] fetching crate lambda_http 0.4.1... [INFO] testing lambda_http-0.4.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate lambda_http 0.4.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate lambda_http 0.4.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lambda_http 0.4.1 [INFO] finished tweaking crates.io crate lambda_http 0.4.1 [INFO] tweaked toml for crates.io crate lambda_http 0.4.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate lambda_http 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lambda_runtime v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", 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] a1a50abc48d4ddf940d81a3793b00fd2d42d9d4e9d5d94bab1c2bd03d142d9a0 [INFO] running `Command { std: "docker" "start" "-a" "a1a50abc48d4ddf940d81a3793b00fd2d42d9d4e9d5d94bab1c2bd03d142d9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1a50abc48d4ddf940d81a3793b00fd2d42d9d4e9d5d94bab1c2bd03d142d9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a50abc48d4ddf940d81a3793b00fd2d42d9d4e9d5d94bab1c2bd03d142d9a0", kill_on_drop: false }` [INFO] [stdout] a1a50abc48d4ddf940d81a3793b00fd2d42d9d4e9d5d94bab1c2bd03d142d9a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "build" "--frozen" "--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] 5af314ad9ffb4dbdd3140eaa5a5501fb34cbfe3939f9e2714fd3bb473baa760b [INFO] running `Command { std: "docker" "start" "-a" "5af314ad9ffb4dbdd3140eaa5a5501fb34cbfe3939f9e2714fd3bb473baa760b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling lambda_runtime v0.4.1 [INFO] [stderr] Compiling lambda_http v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.95s [INFO] running `Command { std: "docker" "inspect" "5af314ad9ffb4dbdd3140eaa5a5501fb34cbfe3939f9e2714fd3bb473baa760b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af314ad9ffb4dbdd3140eaa5a5501fb34cbfe3939f9e2714fd3bb473baa760b", kill_on_drop: false }` [INFO] [stdout] 5af314ad9ffb4dbdd3140eaa5a5501fb34cbfe3939f9e2714fd3bb473baa760b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa358b77c140d2b0cce22377ca9a6542787ca8c8be21d0d41c8a8dfd6cecfe84 [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" "aa358b77c140d2b0cce22377ca9a6542787ca8c8be21d0d41c8a8dfd6cecfe84", kill_on_drop: false }` [INFO] [stderr] Compiling lambda_http v0.4.1 (/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 assert!() 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(), format!("event was not parsed as expected {:?}", result)); [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event is was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event is was not parsed as expected {:?} given {}", result, input) [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 8.03s [INFO] running `Command { std: "docker" "inspect" "aa358b77c140d2b0cce22377ca9a6542787ca8c8be21d0d41c8a8dfd6cecfe84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa358b77c140d2b0cce22377ca9a6542787ca8c8be21d0d41c8a8dfd6cecfe84", kill_on_drop: false }` [INFO] [stdout] aa358b77c140d2b0cce22377ca9a6542787ca8c8be21d0d41c8a8dfd6cecfe84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "test" "--frozen", 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] 9930f75b016f313e2f611bef72b72984592b80df8c6591da1380adac44610151 [INFO] running `Command { std: "docker" "start" "-a" "9930f75b016f313e2f611bef72b72984592b80df8c6591da1380adac44610151", 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 assert!() 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(), format!("event was not parsed as expected {:?}", result)); [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event is was not parsed as expected {:?} given {}", result, input) [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 assert!() 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 - format!("event is was not parsed as expected {:?} given {}", result, input) [INFO] [stderr] 715 + "event is was not parsed as expected {:?} given {}", result, input [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lambda_http` (lib test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lambda_http-ddc191ea232176a0) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test body::tests::from_bytes ... ok [INFO] [stdout] test body::tests::from_cow_str ... ok [INFO] [stdout] test body::tests::from_str ... ok [INFO] [stdout] test body::tests::from_unit ... ok [INFO] [stdout] test body::tests::serialize_binary ... ok [INFO] [stdout] test ext::tests::requests_can_mock_path_parameters_ext ... ok [INFO] [stdout] test ext::tests::requests_can_mock_query_string_parameters_ext ... ok [INFO] [stdout] test body::tests::serialize_text ... ok [INFO] [stdout] test body::tests::serialize_empty ... ok [INFO] [stdout] test ext::tests::requests_can_mock_stage_variables_ext ... ok [INFO] [stdout] test body::tests::body_has_default ... ok [INFO] [stdout] test body::tests::from_cow_bytes ... ok [INFO] [stdout] test body::tests::from_string ... ok [INFO] [stdout] test request::tests::deserializes_apigw_v2_request_events ... ok [INFO] [stdout] test request::tests::deserializes_minimal_apigw_v2_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_multi_value_request_events ... ok [INFO] [stdout] test request::tests::deserializes_alb_multi_value_request_events ... ok [INFO] [stdout] test request::tests::deserialize_with_null ... ok [INFO] [stdout] test ext::tests::requests_omiting_content_types_do_not_support_parseable_payloads ... ok [INFO] [stdout] test ext::tests::requests_match_form_post_content_type_with_charset ... ok [INFO] [stdout] test ext::tests::requests_match_json_content_type_with_charset ... ok [INFO] [stdout] test ext::tests::requests_have_form_post_parsable_payloads ... ok [INFO] [stdout] test ext::tests::requests_have_json_parseable_payloads ... ok [INFO] [stdout] test request::tests::deserializes_apigw_request_events ... ok [INFO] [stdout] test request::tests::deserializes_alb_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_request_events_from_readables ... ok [INFO] [stdout] test response::tests::json_into_response ... ok [INFO] [stdout] test strmap::tests::str_map_default_is_empty ... ok [INFO] [stdout] test strmap::tests::str_map_get ... ok [INFO] [stdout] test response::tests::serialize_body_for_api_gateway_v2 ... ok [INFO] [stdout] test response::tests::serialize_body_for_alb ... ok [INFO] [stdout] test response::tests::serialize_body_for_api_gateway ... ok [INFO] [stdout] test strmap::tests::str_map_get_all ... ok [INFO] [stdout] test strmap::tests::str_map_iter ... ok [INFO] [stdout] test response::tests::serialize_cookies ... ok [INFO] [stdout] test response::tests::serialize_multi_value_headers ... ok [INFO] [stdout] test response::tests::text_into_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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/request.rs - request::from_str (line 583) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 36) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - 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 51) ... ok [INFO] [stdout] test src/response.rs - response::IntoResponse (line 169) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 27) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.79s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9930f75b016f313e2f611bef72b72984592b80df8c6591da1380adac44610151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9930f75b016f313e2f611bef72b72984592b80df8c6591da1380adac44610151", kill_on_drop: false }` [INFO] [stdout] 9930f75b016f313e2f611bef72b72984592b80df8c6591da1380adac44610151