[INFO] cloning repository https://github.com/evopen/drink-counter-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evopen/drink-counter-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fdrink-counter-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fdrink-counter-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abd74eb11b8e7b11dc32301084e39ccaa71907eb [INFO] checking evopen/drink-counter-bot against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fdrink-counter-bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evopen/drink-counter-bot 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 git repo https://github.com/evopen/drink-counter-bot [INFO] finished tweaking git repo https://github.com/evopen/drink-counter-bot [INFO] tweaked toml for git repo https://github.com/evopen/drink-counter-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/evopen/drink-counter-bot 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] 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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55abc3799c9c637bd500a32e716b49bc6c3ab071ac4bdf542e44cc03c8d52dae [INFO] running `Command { std: "docker" "start" "-a" "55abc3799c9c637bd500a32e716b49bc6c3ab071ac4bdf542e44cc03c8d52dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55abc3799c9c637bd500a32e716b49bc6c3ab071ac4bdf542e44cc03c8d52dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55abc3799c9c637bd500a32e716b49bc6c3ab071ac4bdf542e44cc03c8d52dae", kill_on_drop: false }` [INFO] [stdout] 55abc3799c9c637bd500a32e716b49bc6c3ab071ac4bdf542e44cc03c8d52dae [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" "-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] a9bbdb66f4b3c00499beecb44c9d1895b7868845421738a7cb356c968b3742e0 [INFO] running `Command { std: "docker" "start" "-a" "a9bbdb66f4b3c00499beecb44c9d1895b7868845421738a7cb356c968b3742e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.3.1 [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" "a9bbdb66f4b3c00499beecb44c9d1895b7868845421738a7cb356c968b3742e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9bbdb66f4b3c00499beecb44c9d1895b7868845421738a7cb356c968b3742e0", kill_on_drop: false }` [INFO] [stdout] a9bbdb66f4b3c00499beecb44c9d1895b7868845421738a7cb356c968b3742e0