[INFO] cloning repository https://github.com/thomaschaplin/rusty-weather [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomaschaplin/rusty-weather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaschaplin%2Frusty-weather", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaschaplin%2Frusty-weather'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63a06c86e8aa9bcb55279241ca5a1e24c675a496 [INFO] checking thomaschaplin/rusty-weather against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaschaplin%2Frusty-weather" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomaschaplin/rusty-weather 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 git repo https://github.com/thomaschaplin/rusty-weather [INFO] finished tweaking git repo https://github.com/thomaschaplin/rusty-weather [INFO] tweaked toml for git repo https://github.com/thomaschaplin/rusty-weather written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/thomaschaplin/rusty-weather already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.11 [INFO] [stderr] Downloaded dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Downloaded dotenv_codegen v0.15.0 [INFO] [stderr] Downloaded structopt v0.3.18 [INFO] [stderr] Downloaded pin-project-lite v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 1a3add2451a9edf5aad7dfdf700a69983a423b753d01eda6a0a1527ec6bf5dbc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a3add2451a9edf5aad7dfdf700a69983a423b753d01eda6a0a1527ec6bf5dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3add2451a9edf5aad7dfdf700a69983a423b753d01eda6a0a1527ec6bf5dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3add2451a9edf5aad7dfdf700a69983a423b753d01eda6a0a1527ec6bf5dbc", kill_on_drop: false }` [INFO] [stdout] 1a3add2451a9edf5aad7dfdf700a69983a423b753d01eda6a0a1527ec6bf5dbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87082fabab1e29a4243c81ef65aa9e9140927b99208ba733919fa01d24dd673e [INFO] running `Command { std: "docker" "start" "-a" "87082fabab1e29a4243c81ef65aa9e9140927b99208ba733919fa01d24dd673e", 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] tokio v0.2.22: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.1.9 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.24 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.18 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.11 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking structopt v0.3.18 [INFO] [stderr] Checking pin-project v0.4.24 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking rust-weather v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let api_key = dotenv!("API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error loading .env file: path not found [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/main.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let api_key = dotenv!("API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-weather` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let api_key = dotenv!("API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error loading .env file: path not found [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/main.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let api_key = dotenv!("API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [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" "87082fabab1e29a4243c81ef65aa9e9140927b99208ba733919fa01d24dd673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87082fabab1e29a4243c81ef65aa9e9140927b99208ba733919fa01d24dd673e", kill_on_drop: false }` [INFO] [stdout] 87082fabab1e29a4243c81ef65aa9e9140927b99208ba733919fa01d24dd673e