[INFO] fetching crate cargo-lambda-metadata 1.0.0... [INFO] checking cargo-lambda-metadata-1.0.0 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate cargo-lambda-metadata 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cargo-lambda-metadata 1.0.0 on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-lambda-metadata 1.0.0 [INFO] finished tweaking crates.io crate cargo-lambda-metadata 1.0.0 [INFO] tweaked toml for crates.io crate cargo-lambda-metadata 1.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.7.0 [INFO] [stderr] Downloaded aws-smithy-runtime-api v0.57.2 [INFO] [stderr] Downloaded aws-types v0.57.2 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded env-file-reader v0.3.0 [INFO] [stderr] Downloaded aws-http v0.57.2 [INFO] [stderr] Downloaded aws-credential-types v0.57.2 [INFO] [stderr] Downloaded aws-smithy-async v0.57.2 [INFO] [stderr] Downloaded aws-sigv4 v0.57.2 [INFO] [stderr] Downloaded aws-smithy-runtime v0.57.2 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded aws-smithy-types v0.57.2 [INFO] [stderr] Downloaded aws-runtime v0.57.2 [INFO] [stderr] Downloaded aws-sdk-lambda v0.35.1 [INFO] [stderr] Downloaded aws-smithy-json v0.57.2 [INFO] [stderr] Downloaded aws-smithy-http v0.57.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc2aa74f643a27dd196a1ff5b1b7770644876c696ff771a540799d0486cb6ec6 [INFO] running `Command { std: "docker" "start" "-a" "bc2aa74f643a27dd196a1ff5b1b7770644876c696ff771a540799d0486cb6ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc2aa74f643a27dd196a1ff5b1b7770644876c696ff771a540799d0486cb6ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2aa74f643a27dd196a1ff5b1b7770644876c696ff771a540799d0486cb6ec6", kill_on_drop: false }` [INFO] [stdout] bc2aa74f643a27dd196a1ff5b1b7770644876c696ff771a540799d0486cb6ec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18818ec2f6082a216149fe6a30d1378289c5e61c1f74702b6cba85efb94e0235 [INFO] running `Command { std: "docker" "start" "-a" "18818ec2f6082a216149fe6a30d1378289c5e61c1f74702b6cba85efb94e0235", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling aws-types v0.57.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking aws-smithy-types v0.57.2 [INFO] [stderr] Checking aws-smithy-async v0.57.2 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking aws-smithy-runtime-api v0.57.2 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking aws-smithy-json v0.57.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking miette v4.7.1 [INFO] [stderr] Checking remove_dir_all v0.7.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking aws-credential-types v0.57.2 [INFO] [stderr] Checking aws-smithy-http v0.57.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking aws-http v0.57.2 [INFO] [stderr] Checking aws-sigv4 v0.57.2 [INFO] [stderr] Checking aws-runtime v0.57.2 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v0.57.2 [INFO] [stderr] Compiling env-file-reader v0.3.0 [INFO] [stderr] Checking aws-sdk-lambda v0.35.1 [INFO] [stderr] Checking cargo-lambda-metadata v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/cargo.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 507 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] 508 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.64s [INFO] running `Command { std: "docker" "inspect" "18818ec2f6082a216149fe6a30d1378289c5e61c1f74702b6cba85efb94e0235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18818ec2f6082a216149fe6a30d1378289c5e61c1f74702b6cba85efb94e0235", kill_on_drop: false }` [INFO] [stdout] 18818ec2f6082a216149fe6a30d1378289c5e61c1f74702b6cba85efb94e0235 [INFO] checking cargo-lambda-metadata-1.0.0 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate cargo-lambda-metadata 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cargo-lambda-metadata 1.0.0 on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-lambda-metadata 1.0.0 [INFO] finished tweaking crates.io crate cargo-lambda-metadata 1.0.0 [INFO] tweaked toml for crates.io crate cargo-lambda-metadata 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8215e8e9a8fffb84357246806037faf251cd0a0cdf4d9abb4091c911d17c31e4 [INFO] running `Command { std: "docker" "start" "-a" "8215e8e9a8fffb84357246806037faf251cd0a0cdf4d9abb4091c911d17c31e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8215e8e9a8fffb84357246806037faf251cd0a0cdf4d9abb4091c911d17c31e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8215e8e9a8fffb84357246806037faf251cd0a0cdf4d9abb4091c911d17c31e4", kill_on_drop: false }` [INFO] [stdout] 8215e8e9a8fffb84357246806037faf251cd0a0cdf4d9abb4091c911d17c31e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281b6eeba50025e2eefadbeb9f693b5918abd17faaef3c75db33f8ae064b219d [INFO] running `Command { std: "docker" "start" "-a" "281b6eeba50025e2eefadbeb9f693b5918abd17faaef3c75db33f8ae064b219d", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling aws-types v0.57.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking aws-smithy-async v0.57.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Checking aws-smithy-types v0.57.2 [INFO] [stderr] Checking aws-smithy-runtime-api v0.57.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking aws-smithy-http v0.57.2 [INFO] [stderr] Checking aws-credential-types v0.57.2 [INFO] [stderr] Checking aws-smithy-json v0.57.2 [INFO] [stderr] Checking aws-sigv4 v0.57.2 [INFO] [stderr] Checking aws-http v0.57.2 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking miette v4.7.1 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aws-sigv4-0.57.2/src/http_request/settings.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 118 | / [ [INFO] [stdout] 119 | | // This header is calculated as part of the signing process, so if it's present, discard it [INFO] [stdout] 120 | | Cow::Borrowed(AUTHORIZATION.as_str()), [INFO] [stdout] | | ^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 121 | | // Changes when sent by proxy [INFO] [stdout] ... | [INFO] [stdout] 124 | | Cow::Borrowed(HEADER_NAME_X_RAY_TRACE_ID), [INFO] [stdout] 125 | | ] [INFO] [stdout] | |_____________- cast requires that borrow lasts for `'static` [INFO] [stdout] 126 | .to_vec(), [INFO] [stdout] 127 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aws-sigv4-0.57.2/src/http_request/settings.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 118 | / [ [INFO] [stdout] 119 | | // This header is calculated as part of the signing process, so if it's present, discard it [INFO] [stdout] 120 | | Cow::Borrowed(AUTHORIZATION.as_str()), [INFO] [stdout] 121 | | // Changes when sent by proxy [INFO] [stdout] 122 | | Cow::Borrowed(USER_AGENT.as_str()), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 123 | | // Changes based on the request from the client [INFO] [stdout] 124 | | Cow::Borrowed(HEADER_NAME_X_RAY_TRACE_ID), [INFO] [stdout] 125 | | ] [INFO] [stdout] | |_____________- cast requires that borrow lasts for `'static` [INFO] [stdout] 126 | .to_vec(), [INFO] [stdout] 127 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-sigv4` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "281b6eeba50025e2eefadbeb9f693b5918abd17faaef3c75db33f8ae064b219d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281b6eeba50025e2eefadbeb9f693b5918abd17faaef3c75db33f8ae064b219d", kill_on_drop: false }` [INFO] [stdout] 281b6eeba50025e2eefadbeb9f693b5918abd17faaef3c75db33f8ae064b219d