[INFO] fetching crate longan-nano 0.3.0... [INFO] building longan-nano-0.3.0 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate longan-nano 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking crates.io crate longan-nano 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate longan-nano 0.3.0 [INFO] tweaked toml for crates.io crate longan-nano 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate longan-nano 0.3.0 on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate longan-nano 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded uluru v2.2.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded r0 v1.0.0 [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded st7735-lcd v0.8.1 [INFO] [stderr] Downloaded riscv-rt v0.8.0 [INFO] [stderr] Downloaded gd32vf103xx-hal v0.5.0 [INFO] [stderr] Downloaded heapless v0.7.5 [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] [stderr] Downloaded cortex-m v0.7.3 [INFO] [stderr] Downloaded embedded-sdmmc v0.3.0 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded embedded-graphics-core v0.3.3 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded az v1.1.2 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded float-cmp v0.8.0 [INFO] [stderr] Downloaded gd32vf103-pac v0.4.0 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded atomic-polyfill v0.1.3 [INFO] [stderr] Downloaded embedded-graphics v0.7.1 [INFO] [stderr] Downloaded ushell v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9a3eef4e72549ac7a46fa8ecf8f4986d471806ccebe35a6a7af11a6d5ca125c [INFO] running `Command { std: "docker" "start" "-a" "d9a3eef4e72549ac7a46fa8ecf8f4986d471806ccebe35a6a7af11a6d5ca125c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9a3eef4e72549ac7a46fa8ecf8f4986d471806ccebe35a6a7af11a6d5ca125c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a3eef4e72549ac7a46fa8ecf8f4986d471806ccebe35a6a7af11a6d5ca125c", kill_on_drop: false }` [INFO] [stdout] d9a3eef4e72549ac7a46fa8ecf8f4986d471806ccebe35a6a7af11a6d5ca125c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4808e7351299f9dc7f14834e37542af19ebeefbe909d75e8ab846c810a90689e [INFO] running `Command { std: "docker" "start" "-a" "4808e7351299f9dc7f14834e37542af19ebeefbe909d75e8ab846c810a90689e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gd32vf103xx-hal v0.5.0 [INFO] [stderr] Compiling longan-nano v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling gd32vf103-pac v0.4.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | STDOUT.replace(SerialWrapper(tx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.01s [INFO] running `Command { std: "docker" "inspect" "4808e7351299f9dc7f14834e37542af19ebeefbe909d75e8ab846c810a90689e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4808e7351299f9dc7f14834e37542af19ebeefbe909d75e8ab846c810a90689e", kill_on_drop: false }` [INFO] [stdout] 4808e7351299f9dc7f14834e37542af19ebeefbe909d75e8ab846c810a90689e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] db86b6876d73c71b9a5f006d83d23ddc6ac1f922dddb515a466d9ca2efe48d42 [INFO] running `Command { std: "docker" "start" "-a" "db86b6876d73c71b9a5f006d83d23ddc6ac1f922dddb515a466d9ca2efe48d42", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling az v1.1.2 [INFO] [stderr] Compiling heapless v0.7.5 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling r0 v1.0.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling riscv-rt v0.8.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | STDOUT.replace(SerialWrapper(tx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling uluru v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ushell v0.3.3 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling longan-nano v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | STDOUT.replace(SerialWrapper(tx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(stdout) = STDOUT.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "db86b6876d73c71b9a5f006d83d23ddc6ac1f922dddb515a466d9ca2efe48d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db86b6876d73c71b9a5f006d83d23ddc6ac1f922dddb515a466d9ca2efe48d42", kill_on_drop: false }` [INFO] [stdout] db86b6876d73c71b9a5f006d83d23ddc6ac1f922dddb515a466d9ca2efe48d42