[INFO] fetching crate posthog-rs 0.2.2... [INFO] checking posthog-rs-0.2.2 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate posthog-rs 0.2.2 into /workspace/builds/worker-62/source [INFO] validating manifest of crates.io crate posthog-rs 0.2.2 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate posthog-rs 0.2.2 [INFO] finished tweaking crates.io crate posthog-rs 0.2.2 [INFO] tweaked toml for crates.io crate posthog-rs 0.2.2 written to /workspace/builds/worker-62/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f51e3ad394b4591d4886ef54ef6aa18ef7a6a91a133b87123f7f68f3bfc76a5 [INFO] running `Command { std: "docker" "start" "-a" "7f51e3ad394b4591d4886ef54ef6aa18ef7a6a91a133b87123f7f68f3bfc76a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f51e3ad394b4591d4886ef54ef6aa18ef7a6a91a133b87123f7f68f3bfc76a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f51e3ad394b4591d4886ef54ef6aa18ef7a6a91a133b87123f7f68f3bfc76a5", kill_on_drop: false }` [INFO] [stdout] 7f51e3ad394b4591d4886ef54ef6aa18ef7a6a91a133b87123f7f68f3bfc76a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c83078e47fd83b796bace728cc13f8f5e93c6eb6277ef577c91190fdd07ab73b [INFO] running `Command { std: "docker" "start" "-a" "c83078e47fd83b796bace728cc13f8f5e93c6eb6277ef577c91190fdd07ab73b", 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] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio v1.14.0 [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] Compiling quote v1.0.10 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking posthog-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `POSTHOG_API_KEY` not defined [INFO] [stdout] --> src/lib.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | let client = crate::client(env!("POSTHOG_API_KEY")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/lib.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | use chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `posthog-rs` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c83078e47fd83b796bace728cc13f8f5e93c6eb6277ef577c91190fdd07ab73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83078e47fd83b796bace728cc13f8f5e93c6eb6277ef577c91190fdd07ab73b", kill_on_drop: false }` [INFO] [stdout] c83078e47fd83b796bace728cc13f8f5e93c6eb6277ef577c91190fdd07ab73b