[INFO] fetching crate posthog-rs 0.1.3... [INFO] checking posthog-rs-0.1.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate posthog-rs 0.1.3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate posthog-rs 0.1.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate posthog-rs 0.1.3 [INFO] finished tweaking crates.io crate posthog-rs 0.1.3 [INFO] tweaked toml for crates.io crate posthog-rs 0.1.3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ebbda7012a167409a6e411af7a9a65e5dbd6c4e00b8a1075002548304068fc9 [INFO] running `Command { std: "docker" "start" "-a" "3ebbda7012a167409a6e411af7a9a65e5dbd6c4e00b8a1075002548304068fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ebbda7012a167409a6e411af7a9a65e5dbd6c4e00b8a1075002548304068fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebbda7012a167409a6e411af7a9a65e5dbd6c4e00b8a1075002548304068fc9", kill_on_drop: false }` [INFO] [stdout] 3ebbda7012a167409a6e411af7a9a65e5dbd6c4e00b8a1075002548304068fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0173a5397b2abc8b9876210fa132092666d331e1cfb0160a57aa40366e529df [INFO] running `Command { std: "docker" "start" "-a" "b0173a5397b2abc8b9876210fa132092666d331e1cfb0160a57aa40366e529df", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.75 (as host dependency): full, visit [INFO] [stderr] tokio v1.10.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking posthog-rs v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: environment variable `POSTHOG_API_KEY` not defined [INFO] [stdout] --> src/lib.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | 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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `posthog-rs` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b0173a5397b2abc8b9876210fa132092666d331e1cfb0160a57aa40366e529df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0173a5397b2abc8b9876210fa132092666d331e1cfb0160a57aa40366e529df", kill_on_drop: false }` [INFO] [stdout] b0173a5397b2abc8b9876210fa132092666d331e1cfb0160a57aa40366e529df