[INFO] fetching crate async-stm32f1xx 0.3.0... [INFO] checking async-stm32f1xx-0.3.0 against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] extracting crate async-stm32f1xx 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate async-stm32f1xx 0.3.0 on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/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" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-probe v0.1.0 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58488ce0bdc6c53bb95704ee6b140c926ac82348caa87369a5b749321b39878c [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" "58488ce0bdc6c53bb95704ee6b140c926ac82348caa87369a5b749321b39878c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58488ce0bdc6c53bb95704ee6b140c926ac82348caa87369a5b749321b39878c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58488ce0bdc6c53bb95704ee6b140c926ac82348caa87369a5b749321b39878c", kill_on_drop: false }` [INFO] [stdout] 58488ce0bdc6c53bb95704ee6b140c926ac82348caa87369a5b749321b39878c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "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] 7cfa7c3ff96c9581c94b58af438f84d8c2b006821f2bd2d9f105e8e0b72581d3 [INFO] running `Command { std: "docker" "start" "-a" "7cfa7c3ff96c9581c94b58af438f84d8c2b006821f2bd2d9f105e8e0b72581d3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling panic-probe v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking cortex-m v0.6.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 cortex-m-rt v0.6.13 [INFO] [stderr] Checking defmt v0.1.3 [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 (/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[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/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/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/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/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: 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] [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: 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: 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" "7cfa7c3ff96c9581c94b58af438f84d8c2b006821f2bd2d9f105e8e0b72581d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfa7c3ff96c9581c94b58af438f84d8c2b006821f2bd2d9f105e8e0b72581d3", kill_on_drop: false }` [INFO] [stdout] 7cfa7c3ff96c9581c94b58af438f84d8c2b006821f2bd2d9f105e8e0b72581d3