[INFO] fetching crate seedstudio-gd32v 0.1.0... [INFO] building seedstudio-gd32v-0.1.0 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate seedstudio-gd32v 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking crates.io crate seedstudio-gd32v 0.1.0 [INFO] finished tweaking crates.io crate seedstudio-gd32v 0.1.0 [INFO] tweaked toml for crates.io crate seedstudio-gd32v 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate seedstudio-gd32v 0.1.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 seedstudio-gd32v 0.1.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] Downloading crates ... [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded riscv-rt v0.6.1 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded riscv v0.5.4 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded gd32vf103xx-hal v0.2.0 [INFO] [stderr] Downloaded gd32vf103-pac v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b6606dc4ba0b940baf4525d0c277fd957c08c183b40ffb9fb0865d28a431ed55 [INFO] running `Command { std: "docker" "start" "-a" "b6606dc4ba0b940baf4525d0c277fd957c08c183b40ffb9fb0865d28a431ed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6606dc4ba0b940baf4525d0c277fd957c08c183b40ffb9fb0865d28a431ed55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6606dc4ba0b940baf4525d0c277fd957c08c183b40ffb9fb0865d28a431ed55", kill_on_drop: false }` [INFO] [stdout] b6606dc4ba0b940baf4525d0c277fd957c08c183b40ffb9fb0865d28a431ed55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 84c5240f14b6cb1f03bf3bbd7c346802273b3c0bb01fc031e8ca7db72d70301f [INFO] running `Command { std: "docker" "start" "-a" "84c5240f14b6cb1f03bf3bbd7c346802273b3c0bb01fc031e8ca7db72d70301f", kill_on_drop: false }` [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling gd32vf103xx-hal v0.2.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling seedstudio-gd32v v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling gd32vf103-pac v0.2.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | 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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | 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 11.35s [INFO] running `Command { std: "docker" "inspect" "84c5240f14b6cb1f03bf3bbd7c346802273b3c0bb01fc031e8ca7db72d70301f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c5240f14b6cb1f03bf3bbd7c346802273b3c0bb01fc031e8ca7db72d70301f", kill_on_drop: false }` [INFO] [stdout] 84c5240f14b6cb1f03bf3bbd7c346802273b3c0bb01fc031e8ca7db72d70301f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e74cae4101cb0dcdb5a7137aa9ac8d98960ea9d57b3385e156de86b4524e69cb [INFO] running `Command { std: "docker" "start" "-a" "e74cae4101cb0dcdb5a7137aa9ac8d98960ea9d57b3385e156de86b4524e69cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling riscv-rt v0.6.1 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | 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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | 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 riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling seedstudio-gd32v v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/stdout.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | 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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | 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.22s [INFO] running `Command { std: "docker" "inspect" "e74cae4101cb0dcdb5a7137aa9ac8d98960ea9d57b3385e156de86b4524e69cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74cae4101cb0dcdb5a7137aa9ac8d98960ea9d57b3385e156de86b4524e69cb", kill_on_drop: false }` [INFO] [stdout] e74cae4101cb0dcdb5a7137aa9ac8d98960ea9d57b3385e156de86b4524e69cb