[INFO] fetching crate typed-headers 0.2.0... [INFO] checking typed-headers-0.2.0 against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] extracting crate typed-headers 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate typed-headers 0.2.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 typed-headers 0.2.0 [INFO] finished tweaking crates.io crate typed-headers 0.2.0 [INFO] tweaked toml for crates.io crate typed-headers 0.2.0 written to /workspace/builds/worker-3-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9b48fee2ea23ce848183946f243a6a0bad7e367f7c005a61f12ba71cd42547ef [INFO] running `Command { std: "docker" "start" "-a" "9b48fee2ea23ce848183946f243a6a0bad7e367f7c005a61f12ba71cd42547ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b48fee2ea23ce848183946f243a6a0bad7e367f7c005a61f12ba71cd42547ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b48fee2ea23ce848183946f243a6a0bad7e367f7c005a61f12ba71cd42547ef", kill_on_drop: false }` [INFO] [stdout] 9b48fee2ea23ce848183946f243a6a0bad7e367f7c005a61f12ba71cd42547ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9696efc91816009c85101fa644899ffe0741eb4fb90d390478e55d72b1f417f0 [INFO] running `Command { std: "docker" "start" "-a" "9696efc91816009c85101fa644899ffe0741eb4fb90d390478e55d72b1f417f0", kill_on_drop: false }` [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking typed-headers v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/impls/credentials.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QualityItem` is imported redundantly [INFO] [stdout] --> src/impls/accept.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::{util, Quality, QualityItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | use super::*; [INFO] [stdout] | -------- the item `QualityItem` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/impls/credentials.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/impls/http_date.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(HttpDate(DateTime::from_utc(naive, Utc))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/impls/http_date.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(HttpDate(DateTime::from_utc(naive, Utc))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "9696efc91816009c85101fa644899ffe0741eb4fb90d390478e55d72b1f417f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9696efc91816009c85101fa644899ffe0741eb4fb90d390478e55d72b1f417f0", kill_on_drop: false }` [INFO] [stdout] 9696efc91816009c85101fa644899ffe0741eb4fb90d390478e55d72b1f417f0 [INFO] checking typed-headers-0.2.0 against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] extracting crate typed-headers 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate typed-headers 0.2.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 typed-headers 0.2.0 [INFO] finished tweaking crates.io crate typed-headers 0.2.0 [INFO] tweaked toml for crates.io crate typed-headers 0.2.0 written to /workspace/builds/worker-3-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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d230e5e5f2b69e6581157dd11d764113d614ffc06a3c879b114cd5cd37b2fa97 [INFO] running `Command { std: "docker" "start" "-a" "d230e5e5f2b69e6581157dd11d764113d614ffc06a3c879b114cd5cd37b2fa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d230e5e5f2b69e6581157dd11d764113d614ffc06a3c879b114cd5cd37b2fa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d230e5e5f2b69e6581157dd11d764113d614ffc06a3c879b114cd5cd37b2fa97", kill_on_drop: false }` [INFO] [stdout] d230e5e5f2b69e6581157dd11d764113d614ffc06a3c879b114cd5cd37b2fa97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8587805d6860641084db1f5fb492180354afd036ff14da0fa1294ef2959f3f47 [INFO] running `Command { std: "docker" "start" "-a" "8587805d6860641084db1f5fb492180354afd036ff14da0fa1294ef2959f3f47", kill_on_drop: false }` [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking typed-headers v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/impls/credentials.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QualityItem` is imported redundantly [INFO] [stdout] --> src/impls/accept.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::{util, Quality, QualityItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | use super::*; [INFO] [stdout] | -------- the item `QualityItem` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/impls/credentials.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/impls/http_date.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(HttpDate(DateTime::from_utc(naive, Utc))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/impls/http_date.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(HttpDate(DateTime::from_utc(naive, Utc))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/accept.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / header! { [INFO] [stdout] 7 | | /// `Accept` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-5.3.2) [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// The `Accept` header field can be used by user agents to specify [INFO] [stdout] ... | [INFO] [stdout] 31 | | (Accept, ACCEPT) => (QualityItem)* [INFO] [stdout] | | ------ temporary value created here [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/accept_encoding.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Accept-Encoding` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-5.3.4) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 28 | | (AcceptEncoding, ACCEPT_ENCODING) => (QualityItem)* [INFO] [stdout] | | --------------- temporary value created here [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/allow.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Allow` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-7.4.1) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Allow` header field lists the set of methods advertised as [INFO] [stdout] ... | [INFO] [stdout] 23 | | (Allow, ALLOW) => (Method)* [INFO] [stdout] | | ----- temporary value created here [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/authorization.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Authorization` header, defined in [RFC7235](https://tools.ietf.org/html/rfc7235#section-4.2) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Authorization` header field allows a user agent to authenticate [INFO] [stdout] ... | [INFO] [stdout] 23 | | (Authorization, AUTHORIZATION) => [Credentials] [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/content_encoding.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Content-Encoding` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.2.2) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 26 | | (ContentEncoding, CONTENT_ENCODING) => (ContentCoding)+ [INFO] [stdout] | | ---------------- temporary value created here [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/content_length.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | &CONTENT_LENGTH [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/content_type.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Content-Type` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.1.5) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 27 | | (ContentType, CONTENT_TYPE) => [Mime] [INFO] [stdout] | | ------------ temporary value created here [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/accept.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / header! { [INFO] [stdout] 7 | | /// `Accept` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-5.3.2) [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// The `Accept` header field can be used by user agents to specify [INFO] [stdout] ... | [INFO] [stdout] 31 | | (Accept, ACCEPT) => (QualityItem)* [INFO] [stdout] | | ------ temporary value created here [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/accept_encoding.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Accept-Encoding` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-5.3.4) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 28 | | (AcceptEncoding, ACCEPT_ENCODING) => (QualityItem)* [INFO] [stdout] | | --------------- temporary value created here [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/allow.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Allow` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-7.4.1) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Allow` header field lists the set of methods advertised as [INFO] [stdout] ... | [INFO] [stdout] 23 | | (Allow, ALLOW) => (Method)* [INFO] [stdout] | | ----- temporary value created here [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/host.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &HOST [INFO] [stdout] | ^---- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/authorization.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Authorization` header, defined in [RFC7235](https://tools.ietf.org/html/rfc7235#section-4.2) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Authorization` header field allows a user agent to authenticate [INFO] [stdout] ... | [INFO] [stdout] 23 | | (Authorization, AUTHORIZATION) => [Credentials] [INFO] [stdout] | | ------------- temporary value created here [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/proxy_authorization.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Proxy-Authorization` header, defined in [RFC7235](https://tools.ietf.org/html/rfc7235#section-4.4) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Proxy-Authorization` header field allows a user agent to authenticate [INFO] [stdout] ... | [INFO] [stdout] 24 | | (ProxyAuthorization, PROXY_AUTHORIZATION) => [Credentials] [INFO] [stdout] | | ------------------- temporary value created here [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/content_encoding.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Content-Encoding` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.2.2) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 26 | | (ContentEncoding, CONTENT_ENCODING) => (ContentCoding)+ [INFO] [stdout] | | ---------------- temporary value created here [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/content_length.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | &CONTENT_LENGTH [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/retry_after.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | &RETRY_AFTER [INFO] [stdout] | ^----------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/content_type.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Content-Type` header, defined in [INFO] [stdout] 7 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.1.5) [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 27 | | (ContentType, CONTENT_TYPE) => [Mime] [INFO] [stdout] | | ------------ temporary value created here [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/host.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &HOST [INFO] [stdout] | ^---- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | &$n [INFO] [stdout] | ^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: src/impls/proxy_authorization.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / header! { [INFO] [stdout] 6 | | /// `Proxy-Authorization` header, defined in [RFC7235](https://tools.ietf.org/html/rfc7235#section-4.4) [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// The `Proxy-Authorization` header field allows a user agent to authenticate [INFO] [stdout] ... | [INFO] [stdout] 24 | | (ProxyAuthorization, PROXY_AUTHORIZATION) => [Credentials] [INFO] [stdout] | | ------------------- temporary value created here [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `typed-headers` (lib) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/impls/retry_after.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | &RETRY_AFTER [INFO] [stdout] | ^----------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `typed-headers` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8587805d6860641084db1f5fb492180354afd036ff14da0fa1294ef2959f3f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8587805d6860641084db1f5fb492180354afd036ff14da0fa1294ef2959f3f47", kill_on_drop: false }` [INFO] [stdout] 8587805d6860641084db1f5fb492180354afd036ff14da0fa1294ef2959f3f47