[INFO] fetching crate async-stm32f1xx 0.3.0... [INFO] checking async-stm32f1xx-0.3.0 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate async-stm32f1xx 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate async-stm32f1xx 0.3.0 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/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-8/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" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt-parser v0.1.0 [INFO] [stderr] Downloaded defmt v0.1.3 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] [stderr] Downloaded panic-probe v0.1.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded defmt-macros v0.1.1 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dac7da22a15bbc241cbd3fb5703d0d73f141e7a209806beba0059a5e08eb9722 [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" "dac7da22a15bbc241cbd3fb5703d0d73f141e7a209806beba0059a5e08eb9722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dac7da22a15bbc241cbd3fb5703d0d73f141e7a209806beba0059a5e08eb9722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac7da22a15bbc241cbd3fb5703d0d73f141e7a209806beba0059a5e08eb9722", kill_on_drop: false }` [INFO] [stdout] dac7da22a15bbc241cbd3fb5703d0d73f141e7a209806beba0059a5e08eb9722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f232efc7bfb81192e554cfabbc244e847dd4e582897310430633dbf349802d4 [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" "1f232efc7bfb81192e554cfabbc244e847dd4e582897310430633dbf349802d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.54 [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] 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] Checking nb v1.0.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] Compiling defmt-parser v0.1.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling panic-probe v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [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] Checking futures-channel v0.3.8 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [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 pest v2.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling semver-parser v0.10.1 [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 defmt-rtt v0.1.0 [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 (/opt/rustwide/workdir) [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[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[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[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[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[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] [stderr] error: could not compile `async-stm32f1xx` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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: 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[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[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: 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[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: 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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1f232efc7bfb81192e554cfabbc244e847dd4e582897310430633dbf349802d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f232efc7bfb81192e554cfabbc244e847dd4e582897310430633dbf349802d4", kill_on_drop: false }` [INFO] [stdout] 1f232efc7bfb81192e554cfabbc244e847dd4e582897310430633dbf349802d4