[INFO] fetching crate async-stm32f1xx 0.3.0... [INFO] checking async-stm32f1xx-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate async-stm32f1xx 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate async-stm32f1xx 0.3.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded panic-probe v0.1.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ebd8747e7ed709338efe64c5b9e24d8b4acb92fb9c30844e7cc8efe2b40a5b0 [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" "5ebd8747e7ed709338efe64c5b9e24d8b4acb92fb9c30844e7cc8efe2b40a5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ebd8747e7ed709338efe64c5b9e24d8b4acb92fb9c30844e7cc8efe2b40a5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebd8747e7ed709338efe64c5b9e24d8b4acb92fb9c30844e7cc8efe2b40a5b0", kill_on_drop: false }` [INFO] [stdout] 5ebd8747e7ed709338efe64c5b9e24d8b4acb92fb9c30844e7cc8efe2b40a5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc8a2aab816a3d59a1305b31bc8f41e81d463cf9c0f7a153d70c45a3ad55551 [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" "6fc8a2aab816a3d59a1305b31bc8f41e81d463cf9c0f7a153d70c45a3ad55551", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling panic-probe v0.1.0 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling semver-parser v0.10.1 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling defmt v0.1.3 [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 pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking defmt-rtt v0.1.0 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stderr] Checking async-stm32f1xx v0.3.0 (/opt/rustwide/workdir) [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[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[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[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: 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/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] [stderr] error: could not compile `async-stm32f1xx` [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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[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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::_::interrupt::Mutex; [INFO] [stdout] | [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] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::_::interrupt::Mutex; [INFO] [stdout] | [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 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 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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/4-channel.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | channel.send(42).await; [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/4-channel.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | channel.send(42).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] running `Command { std: "docker" "inspect" "6fc8a2aab816a3d59a1305b31bc8f41e81d463cf9c0f7a153d70c45a3ad55551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc8a2aab816a3d59a1305b31bc8f41e81d463cf9c0f7a153d70c45a3ad55551", kill_on_drop: false }` [INFO] [stdout] 6fc8a2aab816a3d59a1305b31bc8f41e81d463cf9c0f7a153d70c45a3ad55551