[INFO] fetching crate hancock 0.2.0-alpha.1...
[INFO] checking hancock-0.2.0-alpha.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate hancock 0.2.0-alpha.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate hancock 0.2.0-alpha.1
[INFO] finished tweaking crates.io crate hancock 0.2.0-alpha.1
[INFO] tweaked toml for crates.io crate hancock 0.2.0-alpha.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hancock 0.2.0-alpha.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 21 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.12.3 (available: v0.22.1)
[INFO] [stderr]       Adding http v0.2.12 (available: v1.3.1)
[INFO] [stderr]       Adding sfv v0.9.4 (available: v0.14.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7afef057587aa3a18dc610d9d0c518639fa069dc7bf502cac68a21c9f9a90e46
[INFO] running `Command { std: "docker" "start" "-a" "7afef057587aa3a18dc610d9d0c518639fa069dc7bf502cac68a21c9f9a90e46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7afef057587aa3a18dc610d9d0c518639fa069dc7bf502cac68a21c9f9a90e46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7afef057587aa3a18dc610d9d0c518639fa069dc7bf502cac68a21c9f9a90e46", kill_on_drop: false }`
[INFO] [stdout] 7afef057587aa3a18dc610d9d0c518639fa069dc7bf502cac68a21c9f9a90e46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff5c45f727a3efddae13cdd191f8baf13973dcb1b8566ba083686db6d3d949bc
[INFO] running `Command { std: "docker" "start" "-a" "ff5c45f727a3efddae13cdd191f8baf13973dcb1b8566ba083686db6d3d949bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking sfv v0.9.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking hancock v0.2.0-alpha.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `indexmap::map::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.
[INFO] [stdout]    --> src/httpbis.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |                         .remove("name")
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `indexmap::map::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.
[INFO] [stdout]    --> src/httpbis.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |                         .remove("name")
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/httpbis.rs:759:5
[INFO] [stdout]     |
[INFO] [stdout] 759 |     req: Option<&http::Request<B>>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Response` is never constructed
[INFO] [stdout]    --> src/httpbis.rs:657:5
[INFO] [stdout]     |
[INFO] [stdout] 655 | enum RequestOrResponseRef<'a, B> {
[INFO] [stdout]     |      -------------------- variant in this enum
[INFO] [stdout] 656 |     Request(&'a http::Request<B>),
[INFO] [stdout] 657 |     Response(&'a http::Response<B>),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:143:39
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn parse_from_request<B>(req: &http::Request<B>) -> Result<Vec<HttpSignature>, ParseError> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^                ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn parse_from_request<B>(req: &http::Request<B>) -> Result<Vec<HttpSignature<'_>>, ParseError> {
[INFO] [stdout]     |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/httpbis.rs:630:19
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub fn params(&self) -> &SignatureParams {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |         ||
[INFO] [stdout]     |                   |         |the same lifetime is hidden here
[INFO] [stdout]     |                   |         the same lifetime is elided here
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub fn params(&self) -> &SignatureParams<'_> {
[INFO] [stdout]     |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/httpbis.rs:759:5
[INFO] [stdout]     |
[INFO] [stdout] 759 |     req: Option<&http::Request<B>>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sig`
[INFO] [stdout]    --> src/httpbis.rs:919:57
[INFO] [stdout]     |
[INFO] [stdout] 919 |         let result = sig.verify_request(&req, |content, sig| {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_sig`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:143:39
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn parse_from_request<B>(req: &http::Request<B>) -> Result<Vec<HttpSignature>, ParseError> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^                ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn parse_from_request<B>(req: &http::Request<B>) -> Result<Vec<HttpSignature<'_>>, ParseError> {
[INFO] [stdout]     |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/httpbis.rs:630:19
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub fn params(&self) -> &SignatureParams {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |         ||
[INFO] [stdout]     |                   |         |the same lifetime is hidden here
[INFO] [stdout]     |                   |         the same lifetime is elided here
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 630 |     pub fn params(&self) -> &SignatureParams<'_> {
[INFO] [stdout]     |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]    --> src/httpbis.rs:919:62
[INFO] [stdout]     |
[INFO] [stdout] 919 |           let result = sig.verify_request(&req, |content, sig| {
[INFO] [stdout]     |  ______________________________________________________________^
[INFO] [stdout] 920 | |             assert_eq!(content, br#""@signature-params": ();created=1618884473;keyid="test-key-rsa-pss";nonce="b3k2pp5k7z-50gnwp.yemd""#);
[INFO] [stdout] 921 | |             Result::<_, std::convert::Infallible>::Ok(true)
[INFO] [stdout] 922 | |         }).unwrap();
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]    --> src/httpbis.rs:921:13
[INFO] [stdout]     |
[INFO] [stdout] 921 |             Result::<_, std::convert::Infallible>::Ok(true)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/httpbis.rs:940:23
[INFO] [stdout]     |
[INFO] [stdout] 940 |               |content| {
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 941 | |                 assert_eq!(
[INFO] [stdout] 942 | |                     content,
[INFO] [stdout] 943 | |                     br#""@signature-params": ();created=1618884473;nonce="b3k2pp5k7z-50gnwp.yemd""#
[INFO] [stdout] 944 | |                 );
[INFO] [stdout] 945 | |                 Result::<_, std::convert::Infallible>::Ok(Vec::new())
[INFO] [stdout] 946 | |             },
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/httpbis.rs:945:17
[INFO] [stdout]     |
[INFO] [stdout] 945 |                 Result::<_, std::convert::Infallible>::Ok(Vec::new())
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hancock` (lib test) due to 4 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ff5c45f727a3efddae13cdd191f8baf13973dcb1b8566ba083686db6d3d949bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff5c45f727a3efddae13cdd191f8baf13973dcb1b8566ba083686db6d3d949bc", kill_on_drop: false }`
[INFO] [stdout] ff5c45f727a3efddae13cdd191f8baf13973dcb1b8566ba083686db6d3d949bc
