[INFO] fetching crate lambda_http 0.4.1... [INFO] testing lambda_http-0.4.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate lambda_http 0.4.1 into /workspace/builds/worker-41/source [INFO] validating manifest of crates.io crate lambda_http 0.4.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-41/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac400b9d52a3485b8d01376e1554fd37e84118daf0cedaf22545cddb44b95a4 [INFO] running `Command { std: "docker" "start" "-a" "8ac400b9d52a3485b8d01376e1554fd37e84118daf0cedaf22545cddb44b95a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac400b9d52a3485b8d01376e1554fd37e84118daf0cedaf22545cddb44b95a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac400b9d52a3485b8d01376e1554fd37e84118daf0cedaf22545cddb44b95a4", kill_on_drop: false }` [INFO] [stdout] 8ac400b9d52a3485b8d01376e1554fd37e84118daf0cedaf22545cddb44b95a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cd1ed25e49216c7c23738e7c4df0db7edfb1f3a9d6a19e5361d2fe1671c9945 [INFO] running `Command { std: "docker" "start" "-a" "1cd1ed25e49216c7c23738e7c4df0db7edfb1f3a9d6a19e5361d2fe1671c9945", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing-subscriber v0.2.20 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [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 31.95s [INFO] running `Command { std: "docker" "inspect" "1cd1ed25e49216c7c23738e7c4df0db7edfb1f3a9d6a19e5361d2fe1671c9945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd1ed25e49216c7c23738e7c4df0db7edfb1f3a9d6a19e5361d2fe1671c9945", kill_on_drop: false }` [INFO] [stdout] 1cd1ed25e49216c7c23738e7c4df0db7edfb1f3a9d6a19e5361d2fe1671c9945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f74d230a8446871dc7fba3da8a2c86583b9995e04456db5007d2225a42245c91 [INFO] running `Command { std: "docker" "start" "-a" "f74d230a8446871dc7fba3da8a2c86583b9995e04456db5007d2225a42245c91", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling maplit v1.0.2 [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 4.90s [INFO] running `Command { std: "docker" "inspect" "f74d230a8446871dc7fba3da8a2c86583b9995e04456db5007d2225a42245c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74d230a8446871dc7fba3da8a2c86583b9995e04456db5007d2225a42245c91", kill_on_drop: false }` [INFO] [stdout] f74d230a8446871dc7fba3da8a2c86583b9995e04456db5007d2225a42245c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81459035461fa7b6004cf98a7fae668bf7953d16a008374d01fdff167c3b0fbd [INFO] running `Command { std: "docker" "start" "-a" "81459035461fa7b6004cf98a7fae668bf7953d16a008374d01fdff167c3b0fbd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.77s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lambda_http-87cc9147913d0217) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test body::tests::body_has_default ... ok [INFO] [stdout] test body::tests::from_bytes ... ok [INFO] [stdout] test body::tests::from_cow_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_string ... ok [INFO] [stdout] test body::tests::from_unit ... ok [INFO] [stdout] test body::tests::serialize_binary ... ok [INFO] [stdout] test body::tests::serialize_empty ... ok [INFO] [stdout] test body::tests::serialize_text ... 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 ext::tests::requests_can_mock_stage_variables_ext ... 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 ext::tests::requests_match_form_post_content_type_with_charset ... ok [INFO] [stdout] test ext::tests::requests_omiting_content_types_do_not_support_parseable_payloads ... ok [INFO] [stdout] test ext::tests::requests_match_json_content_type_with_charset ... ok [INFO] [stdout] test request::tests::deserialize_with_null ... ok [INFO] [stdout] test request::tests::deserializes_alb_request_events ... ok [INFO] [stdout] test request::tests::deserializes_alb_multi_value_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_request_events ... ok [INFO] [stdout] test request::tests::deserializes_apigw_multi_value_request_events ... 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_request_events_from_readables ... ok [INFO] [stdout] test response::tests::json_into_response ... 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 response::tests::serialize_body_for_api_gateway_v2 ... 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] test strmap::tests::str_map_default_is_empty ... ok [INFO] [stdout] test strmap::tests::str_map_get ... ok [INFO] [stdout] test strmap::tests::str_map_get_all ... ok [INFO] [stdout] test strmap::tests::str_map_iter ... 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_str (line 583) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 36) - compile ... ok [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/ext.rs - ext::RequestExt (line 68) - compile ... 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] test src/body.rs - body::Body (line 38) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81459035461fa7b6004cf98a7fae668bf7953d16a008374d01fdff167c3b0fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81459035461fa7b6004cf98a7fae668bf7953d16a008374d01fdff167c3b0fbd", kill_on_drop: false }` [INFO] [stdout] 81459035461fa7b6004cf98a7fae668bf7953d16a008374d01fdff167c3b0fbd