[INFO] fetching crate twilio-async 0.5.0... [INFO] checking twilio-async-0.5.0 against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] extracting crate twilio-async 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate twilio-async 0.5.0 on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate twilio-async 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twilio-async 0.5.0 [INFO] tweaked toml for crates.io crate twilio-async 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate twilio-async 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a80e6bd904db7ccd5296fc4655386bd2255fbdea4cc83e34194738b6f0004d81 [INFO] running `Command { std: "docker" "start" "-a" "a80e6bd904db7ccd5296fc4655386bd2255fbdea4cc83e34194738b6f0004d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a80e6bd904db7ccd5296fc4655386bd2255fbdea4cc83e34194738b6f0004d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80e6bd904db7ccd5296fc4655386bd2255fbdea4cc83e34194738b6f0004d81", kill_on_drop: false }` [INFO] [stdout] a80e6bd904db7ccd5296fc4655386bd2255fbdea4cc83e34194738b6f0004d81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1da7cfcc59ba46ab660169d9fb1377d7373c4bb1fe121fa078af2b68648354 [INFO] running `Command { std: "docker" "start" "-a" "8b1da7cfcc59ba46ab660169d9fb1377d7373c4bb1fe121fa078af2b68648354", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [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 log v0.4.14 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.27 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking twiml v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/typed-headers-0.2.0/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] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `typed-headers` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8b1da7cfcc59ba46ab660169d9fb1377d7373c4bb1fe121fa078af2b68648354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1da7cfcc59ba46ab660169d9fb1377d7373c4bb1fe121fa078af2b68648354", kill_on_drop: false }` [INFO] [stdout] 8b1da7cfcc59ba46ab660169d9fb1377d7373c4bb1fe121fa078af2b68648354