[INFO] fetching crate async-stm32f1xx 0.3.0... [INFO] checking async-stm32f1xx-0.3.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate async-stm32f1xx 0.3.0 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate async-stm32f1xx 0.3.0 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] removed /workspace/builds/worker-33/source/.cargo/config [INFO] started tweaking crates.io crate async-stm32f1xx 0.3.0 [INFO] finished tweaking crates.io crate async-stm32f1xx 0.3.0 [INFO] tweaked toml for crates.io crate async-stm32f1xx 0.3.0 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate crates.io crate async-stm32f1xx 0.3.0 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-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] af8f0e71d6c34baeff744e8802cbf1002a1467a7edc3a0c78040da7df21b6979 [INFO] running `Command { std: "docker" "start" "-a" "af8f0e71d6c34baeff744e8802cbf1002a1467a7edc3a0c78040da7df21b6979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af8f0e71d6c34baeff744e8802cbf1002a1467a7edc3a0c78040da7df21b6979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8f0e71d6c34baeff744e8802cbf1002a1467a7edc3a0c78040da7df21b6979", kill_on_drop: false }` [INFO] [stdout] af8f0e71d6c34baeff744e8802cbf1002a1467a7edc3a0c78040da7df21b6979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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] 11c901815035aa89713c8c73fa43cb88aa20613cd809ca7ba46e03744c9b8406 [INFO] running `Command { std: "docker" "start" "-a" "11c901815035aa89713c8c73fa43cb88aa20613cd809ca7ba46e03744c9b8406", 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] stm32f1 v0.11.0: stm32f103 [INFO] [stderr] stm32f1xx-hal v0.7.0: device-selected, medium, stm32f103 [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling panic-probe v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling semver-parser v0.10.1 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling defmt v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling defmt-macros v0.1.1 [INFO] [stderr] Checking defmt-rtt v0.1.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stderr] Checking async-stm32f1xx v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/7-echo.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/4-channel.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/1-yield.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/2-share.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/5-heartbeat.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/3-mutex.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/6-hello.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/7-echo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_embedded::task; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-stm32f1xx` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_embedded` [INFO] [stdout] --> examples/4-channel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_embedded::{task, unsync::Channel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/4-channel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use async_embedded::{task, unsync::Channel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Channel` in this scope [INFO] [stdout] --> examples/4-channel.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | static mut CHANNEL: Channel = Channel::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::_::pwm::Channel; [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_hal::adc::Channel; [INFO] [stdout] | [INFO] [stdout] 17 | use stm32f1xx_hal::pwm::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Channel` [INFO] [stdout] --> examples/4-channel.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | static mut CHANNEL: Channel = Channel::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::_::pwm::Channel; [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_hal::adc::Channel; [INFO] [stdout] | [INFO] [stdout] 17 | use stm32f1xx_hal::pwm::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/1-yield.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_embedded::task; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/2-share.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use async_embedded::task; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/5-heartbeat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_embedded::task; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_embedded` [INFO] [stdout] --> examples/3-mutex.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use async_embedded::{task, unsync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/3-mutex.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use async_embedded::{task, unsync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> examples/3-mutex.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | static mut X: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> examples/3-mutex.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | static mut X: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_embedded` [INFO] [stdout] --> examples/6-hello.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_embedded::task; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `async_embedded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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" "11c901815035aa89713c8c73fa43cb88aa20613cd809ca7ba46e03744c9b8406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c901815035aa89713c8c73fa43cb88aa20613cd809ca7ba46e03744c9b8406", kill_on_drop: false }` [INFO] [stdout] 11c901815035aa89713c8c73fa43cb88aa20613cd809ca7ba46e03744c9b8406