[INFO] cloning repository https://github.com/gamemake-eng/Citris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gamemake-eng/Citris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamemake-eng%2FCitris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamemake-eng%2FCitris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66adffee2350a3e2793c91676bd57aaeda7f8045 [INFO] testing gamemake-eng/Citris/66adffee2350a3e2793c91676bd57aaeda7f8045 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamemake-eng%2FCitris" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gamemake-eng/Citris [INFO] finished tweaking git repo https://github.com/gamemake-eng/Citris [INFO] tweaked toml for git repo https://github.com/gamemake-eng/Citris written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gamemake-eng/Citris on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gamemake-eng/Citris 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-entity v0.110.1 [INFO] [stderr] Downloaded wat v1.215.0 [INFO] [stderr] Downloaded wasmtime-winch v23.0.1 [INFO] [stderr] Downloaded maybe-owned v0.3.4 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.110.1 [INFO] [stderr] Downloaded wiggle-macro v23.0.1 [INFO] [stderr] Downloaded xcursor v0.3.6 [INFO] [stderr] Downloaded wasmtime-cache v23.0.1 [INFO] [stderr] Downloaded shellexpand v2.1.2 [INFO] [stderr] Downloaded zerocopy v0.6.6 [INFO] [stderr] Downloaded winch-codegen v0.21.1 [INFO] [stderr] Downloaded cap-rand v3.2.0 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded io-extras v0.18.2 [INFO] [stderr] Downloaded cap-std v3.2.0 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded wast v35.0.2 [INFO] [stderr] Downloaded zerocopy-derive v0.6.6 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.110.1 [INFO] [stderr] Downloaded wasmtime v23.0.1 [INFO] [stderr] Downloaded zstd-safe v7.2.0 [INFO] [stderr] Downloaded postcard v1.0.8 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded cap-primitives v3.2.0 [INFO] [stderr] Downloaded ittapi-sys v0.4.0 [INFO] [stderr] Downloaded wasi-common v23.0.1 [INFO] [stderr] Downloaded zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Downloaded wasmtime-component-macro v23.0.1 [INFO] [stderr] Downloaded wasmprinter v0.212.0 [INFO] [stderr] Downloaded witx v0.9.1 [INFO] [stderr] Downloaded async-trait v0.1.81 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded wasmtime-asm-macros v23.0.1 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded cranelift-isle v0.110.1 [INFO] [stderr] Downloaded cranelift-wasm v0.110.1 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v23.0.1 [INFO] [stderr] Downloaded winapi-util v0.1.8 [INFO] [stderr] Downloaded wasmtime-environ v23.0.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.18 [INFO] [stderr] Downloaded cap-time-ext v3.2.0 [INFO] [stderr] Downloaded fs-set-times v0.20.1 [INFO] [stderr] Downloaded winx v0.36.3 [INFO] [stderr] Downloaded system-interface v0.27.2 [INFO] [stderr] Downloaded wiggle-generate v23.0.1 [INFO] [stderr] Downloaded ittapi v0.4.0 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v23.0.1 [INFO] [stderr] Downloaded serde_json v1.0.121 [INFO] [stderr] Downloaded cranelift-codegen v0.110.1 [INFO] [stderr] Downloaded wasmtime-jit-debug v23.0.1 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v23.0.1 [INFO] [stderr] Downloaded wasmtime-cranelift v23.0.1 [INFO] [stderr] Downloaded cranelift-native v0.110.1 [INFO] [stderr] Downloaded cranelift-frontend v0.110.1 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded wasmtime-component-util v23.0.1 [INFO] [stderr] Downloaded cranelift-bitset v0.110.1 [INFO] [stderr] Downloaded wast v215.0.0 [INFO] [stderr] Downloaded cap-fs-ext v3.2.0 [INFO] [stderr] Downloaded ambient-authority v0.0.2 [INFO] [stderr] Downloaded wiggle v23.0.1 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded wit-parser v0.212.0 [INFO] [stderr] Downloaded wasmtime-fiber v23.0.1 [INFO] [stderr] Downloaded wasmtime-slab v23.0.1 [INFO] [stderr] Downloaded cranelift-control v0.110.1 [INFO] [stderr] Downloaded wasm-encoder v0.215.0 [INFO] [stderr] Downloaded cranelift-bforest v0.110.1 [INFO] [stderr] Downloaded io-lifetimes v2.0.3 [INFO] [stderr] Downloaded fxprof-processed-profile v0.6.0 [INFO] [stderr] Downloaded wasmtime-types v23.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42e7ef37042a877629008d0b602c4fe07f51c08da0a73e7998ad9c4f760c9bd [INFO] running `Command { std: "docker" "start" "-a" "a42e7ef37042a877629008d0b602c4fe07f51c08da0a73e7998ad9c4f760c9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42e7ef37042a877629008d0b602c4fe07f51c08da0a73e7998ad9c4f760c9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42e7ef37042a877629008d0b602c4fe07f51c08da0a73e7998ad9c4f760c9bd", kill_on_drop: false }` [INFO] [stdout] a42e7ef37042a877629008d0b602c4fe07f51c08da0a73e7998ad9c4f760c9bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0038082e69970b6d9a8d0162bfea6f0cdaf428ef537c87aba9e10877b2138227 [INFO] running `Command { std: "docker" "start" "-a" "0038082e69970b6d9a8d0162bfea6f0cdaf428ef537c87aba9e10877b2138227", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling cranelift-isle v0.110.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-codegen-shared v0.110.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling cranelift-codegen-meta v0.110.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling io-lifetimes v2.0.3 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling arbitrary v1.3.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling io-extras v0.18.2 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cranelift-control v0.110.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cap-primitives v3.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ambient-authority v0.0.2 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wasmtime-component-util v23.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling maybe-owned v0.3.4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling wasm-encoder v0.212.0 [INFO] [stderr] Compiling wasm-encoder v0.215.0 [INFO] [stderr] Compiling wast v35.0.2 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling wasmtime-cache v23.0.1 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wasmtime-component-macro v23.0.1 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cap-std v3.2.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling cranelift-codegen v0.110.1 [INFO] [stderr] Compiling wasmparser v0.212.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wast v215.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wasmtime-asm-macros v23.0.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wiggle-macro v23.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v23.0.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling system-interface v0.27.2 [INFO] [stderr] Compiling wasmtime-slab v23.0.1 [INFO] [stderr] Compiling cap-fs-ext v3.2.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v23.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasmtime-fiber v23.0.1 [INFO] [stderr] Compiling wasmtime v23.0.1 [INFO] [stderr] Compiling fs-set-times v0.20.1 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling witx v0.9.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cap-time-ext v3.2.0 [INFO] [stderr] Compiling cap-rand v3.2.0 [INFO] [stderr] Compiling wiggle-generate v23.0.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling wat v1.215.0 [INFO] [stderr] Compiling wit-parser v0.212.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cranelift-bitset v0.110.1 [INFO] [stderr] Compiling postcard v1.0.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling cranelift-entity v0.110.1 [INFO] [stderr] Compiling cranelift-bforest v0.110.1 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling wasmtime-wit-bindgen v23.0.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling wasmtime-jit-debug v23.0.1 [INFO] [stderr] Compiling wasmtime-types v23.0.1 [INFO] [stderr] Compiling wasmprinter v0.212.0 [INFO] [stderr] Compiling wasmtime-environ v23.0.1 [INFO] [stderr] Compiling cranelift-frontend v0.110.1 [INFO] [stderr] Compiling cranelift-native v0.110.1 [INFO] [stderr] Compiling cranelift-wasm v0.110.1 [INFO] [stderr] Compiling wasmtime-cranelift v23.0.1 [INFO] [stderr] Compiling wiggle v23.0.1 [INFO] [stderr] Compiling wasi-common v23.0.1 [INFO] [stderr] Compiling project-heater v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpu_reg` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use gpu::{Gpu, gpu_reg}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | caller.data().gpu.cmd(cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gpu` does not live long enough [INFO] [stdout] --> src/main.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 22 | let mut gpu = Gpu::new(); [INFO] [stdout] | ------- binding `gpu` declared here [INFO] [stdout] ... [INFO] [stdout] 44 | gpu: &mut gpu, [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 51 | linker.module(&mut store, "", &module)?; [INFO] [stdout] | -------------------------------------- argument requires that `gpu` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 74 | } [INFO] [stdout] | - `gpu` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: requirements that the value outlives `'static` introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-23.0.1/src/runtime/linker.rs:779:38 [INFO] [stdout] | [INFO] [stdout] 779 | mut store: impl AsContextMut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | T: 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `gpu.frontbuf` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 44 | gpu: &mut gpu, [INFO] [stdout] | -------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 51 | linker.module(&mut store, "", &module)?; [INFO] [stdout] | -------------------------------------- argument requires that `gpu` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 70 | window.update_with_buffer(&gpu.frontbuf, 320, 240)?; [INFO] [stdout] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] note: requirements that the value outlives `'static` introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-23.0.1/src/runtime/linker.rs:779:38 [INFO] [stdout] | [INFO] [stdout] 779 | mut store: impl AsContextMut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | T: 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project-heater` (bin "project-heater") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0038082e69970b6d9a8d0162bfea6f0cdaf428ef537c87aba9e10877b2138227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0038082e69970b6d9a8d0162bfea6f0cdaf428ef537c87aba9e10877b2138227", kill_on_drop: false }` [INFO] [stdout] 0038082e69970b6d9a8d0162bfea6f0cdaf428ef537c87aba9e10877b2138227