[INFO] fetching crate coffeehouse 0.1.1... [INFO] checking coffeehouse-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate coffeehouse 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate coffeehouse 0.1.1 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 coffeehouse 0.1.1 [INFO] finished tweaking crates.io crate coffeehouse 0.1.1 [INFO] tweaked toml for crates.io crate coffeehouse 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate coffeehouse 0.1.1 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] 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-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] 4e78b8f1292ce1b8010c957c3f70986ce4a1d852facad08a135a60ff0fb9703e [INFO] running `Command { std: "docker" "start" "-a" "4e78b8f1292ce1b8010c957c3f70986ce4a1d852facad08a135a60ff0fb9703e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e78b8f1292ce1b8010c957c3f70986ce4a1d852facad08a135a60ff0fb9703e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e78b8f1292ce1b8010c957c3f70986ce4a1d852facad08a135a60ff0fb9703e", kill_on_drop: false }` [INFO] [stdout] 4e78b8f1292ce1b8010c957c3f70986ce4a1d852facad08a135a60ff0fb9703e [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] 7bc2c781a180a582cbe69066ee0e6cca4b54b3df571bf19ac60e95e6d46e7ec1 [INFO] running `Command { std: "docker" "start" "-a" "7bc2c781a180a582cbe69066ee0e6cca4b54b3df571bf19ac60e95e6d46e7ec1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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.60 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking idna v0.2.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.0 [INFO] [stderr] Checking coffeehouse v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/lydia.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/lydia.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/lydia.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coffeehouse` due to 3 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" "7bc2c781a180a582cbe69066ee0e6cca4b54b3df571bf19ac60e95e6d46e7ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc2c781a180a582cbe69066ee0e6cca4b54b3df571bf19ac60e95e6d46e7ec1", kill_on_drop: false }` [INFO] [stdout] 7bc2c781a180a582cbe69066ee0e6cca4b54b3df571bf19ac60e95e6d46e7ec1