[INFO] fetching crate async-stm32f1xx 0.3.0... [INFO] checking async-stm32f1xx-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate async-stm32f1xx 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate async-stm32f1xx 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded defmt-parser v0.1.0 [INFO] [stderr] Downloaded defmt-macros v0.1.1 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded defmt v0.1.3 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded semver-parser v0.10.1 [INFO] [stderr] Downloaded as-slice v0.1.4 [INFO] [stderr] Downloaded cortex-m v0.6.4 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded panic-probe v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffbf449ed398f693c223883439e082509cb8da0af273fe4c502c3b13a87818de [INFO] running `Command { std: "docker" "start" "-a" "ffbf449ed398f693c223883439e082509cb8da0af273fe4c502c3b13a87818de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffbf449ed398f693c223883439e082509cb8da0af273fe4c502c3b13a87818de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbf449ed398f693c223883439e082509cb8da0af273fe4c502c3b13a87818de", kill_on_drop: false }` [INFO] [stdout] ffbf449ed398f693c223883439e082509cb8da0af273fe4c502c3b13a87818de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7101062030fbe40b08d1f4ef1148a0d2b9b03edc9e588ce72abd9b9564f03930 [INFO] running `Command { std: "docker" "start" "-a" "7101062030fbe40b08d1f4ef1148a0d2b9b03edc9e588ce72abd9b9564f03930", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling typenum v1.12.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 bare-metal v0.2.5 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling panic-probe v0.1.0 [INFO] [stderr] Compiling semver-parser v0.10.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling defmt v0.1.3 [INFO] [stderr] Checking as-slice v0.1.4 [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 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/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/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[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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/6-hello.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { &mut BUF } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { addr_of_mut!(BUF) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [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` (example "3-mutex") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-stm32f1xx` (example "1-yield") due to 2 previous errors [INFO] [stderr] error: could not compile `async-stm32f1xx` (example "2-share") due to 2 previous errors [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/7-echo.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { &mut BUF } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { addr_of_mut!(BUF) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/7-echo.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { &mut BUF } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { addr_of_mut!(BUF) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-stm32f1xx` (example "6-hello") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 1 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/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 1 previous error; 2 warnings emitted [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` (example "5-heartbeat") due to 2 previous errors [INFO] [stderr] error: could not compile `async-stm32f1xx` (example "7-echo") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-stm32f1xx` (example "4-channel") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7101062030fbe40b08d1f4ef1148a0d2b9b03edc9e588ce72abd9b9564f03930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7101062030fbe40b08d1f4ef1148a0d2b9b03edc9e588ce72abd9b9564f03930", kill_on_drop: false }` [INFO] [stdout] 7101062030fbe40b08d1f4ef1148a0d2b9b03edc9e588ce72abd9b9564f03930