[INFO] cloning repository https://github.com/oboard/mocketd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oboard/mocketd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 195313406f671d28abc7198603e08b1635642861
[INFO] testing oboard/mocketd against nightly-2025-01-18 for randomize-layout-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foboard%2Fmocketd" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/oboard/mocketd on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/oboard/mocketd
[INFO] finished tweaking git repo https://github.com/oboard/mocketd
[INFO] tweaked toml for git repo https://github.com/oboard/mocketd written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/oboard/mocketd 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" "+nightly-2025-01-18" "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 wat v1.215.0
[INFO] [stderr]   Downloaded wasmtime-winch v23.0.2
[INFO] [stderr]   Downloaded leb128 v0.2.5
[INFO] [stderr]   Downloaded winch-codegen v0.21.2
[INFO] [stderr]   Downloaded wasm-encoder v0.215.0
[INFO] [stderr]   Downloaded wasmtime-component-util v23.0.2
[INFO] [stderr]   Downloaded wasmtime-asm-macros v23.0.2
[INFO] [stderr]   Downloaded libredox v0.1.3
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded anstyle-parse v0.2.5
[INFO] [stderr]   Downloaded is_terminal_polyfill v1.70.1
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.7
[INFO] [stderr]   Downloaded cranelift-isle v0.110.2
[INFO] [stderr]   Downloaded cc v1.1.13
[INFO] [stderr]   Downloaded wasmtime-component-macro v23.0.2
[INFO] [stderr]   Downloaded wit-parser v0.212.0
[INFO] [stderr]   Downloaded ittapi-sys v0.4.0
[INFO] [stderr]   Downloaded unicode-width v0.1.13
[INFO] [stderr]   Downloaded clap_builder v4.5.15
[INFO] [stderr]   Downloaded wasmtime-environ v23.0.2
[INFO] [stderr]   Downloaded serde_json v1.0.125
[INFO] [stderr]   Downloaded wasmparser v0.212.0
[INFO] [stderr]   Downloaded gimli v0.28.1
[INFO] [stderr]   Downloaded syn v2.0.74
[INFO] [stderr]   Downloaded wasmtime v23.0.2
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded regalloc2 v0.9.3
[INFO] [stderr]   Downloaded wasmtime-cranelift v23.0.2
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.110.2
[INFO] [stderr]   Downloaded cpp_demangle v0.4.3
[INFO] [stderr]   Downloaded indexmap v2.4.0
[INFO] [stderr]   Downloaded serde v1.0.208
[INFO] [stderr]   Downloaded cranelift-wasm v0.110.2
[INFO] [stderr]   Downloaded wasm-encoder v0.212.0
[INFO] [stderr]   Downloaded clap v4.5.16
[INFO] [stderr]   Downloaded addr2line v0.21.0
[INFO] [stderr]   Downloaded cranelift-bforest v0.110.2
[INFO] [stderr]   Downloaded cranelift-frontend v0.110.2
[INFO] [stderr]   Downloaded postcard v1.0.8
[INFO] [stderr]   Downloaded wasmprinter v0.212.0
[INFO] [stderr]   Downloaded serde_derive v1.0.208
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] [stderr]   Downloaded fxprof-processed-profile v0.6.0
[INFO] [stderr]   Downloaded directories-next v2.0.0
[INFO] [stderr]   Downloaded zstd v0.13.2
[INFO] [stderr]   Downloaded wasmtime-cache v23.0.2
[INFO] [stderr]   Downloaded wasmtime-wit-bindgen v23.0.2
[INFO] [stderr]   Downloaded zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]   Downloaded libc v0.2.156
[INFO] [stderr]   Downloaded cobs v0.2.3
[INFO] [stderr]   Downloaded cranelift-entity v0.110.2
[INFO] [stderr]   Downloaded colorchoice v1.0.2
[INFO] [stderr]   Downloaded anstyle v1.0.8
[INFO] [stderr]   Downloaded clap_lex v0.7.2
[INFO] [stderr]   Downloaded debugid v0.8.0
[INFO] [stderr]   Downloaded memfd v0.6.4
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded redox_users v0.4.5
[INFO] [stderr]   Downloaded dirs-sys-next v0.1.2
[INFO] [stderr]   Downloaded cpufeatures v0.2.13
[INFO] [stderr]   Downloaded cranelift-codegen v0.110.2
[INFO] [stderr]   Downloaded zstd-safe v7.2.1
[INFO] [stderr]   Downloaded id-arena v2.2.1
[INFO] [stderr]   Downloaded utf8parse v0.2.2
[INFO] [stderr]   Downloaded mach2 v0.4.2
[INFO] [stderr]   Downloaded sptr v0.3.2
[INFO] [stderr]   Downloaded unicode-xid v0.2.4
[INFO] [stderr]   Downloaded wasmtime-fiber v23.0.2
[INFO] [stderr]   Downloaded cranelift-native v0.110.2
[INFO] [stderr]   Downloaded cranelift-control v0.110.2
[INFO] [stderr]   Downloaded slice-group-by v0.3.1
[INFO] [stderr]   Downloaded rustc-hash v1.1.0
[INFO] [stderr]   Downloaded fallible-iterator v0.3.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.0
[INFO] [stderr]   Downloaded embedded-io v0.4.0
[INFO] [stderr]   Downloaded wasmtime-types v23.0.2
[INFO] [stderr]   Downloaded ittapi v0.4.0
[INFO] [stderr]   Downloaded winapi-util v0.1.9
[INFO] [stderr]   Downloaded termcolor v1.4.1
[INFO] [stderr]   Downloaded wasmtime-jit-debug v23.0.2
[INFO] [stderr]   Downloaded wasmtime-jit-icache-coherence v23.0.2
[INFO] [stderr]   Downloaded wasmtime-slab v23.0.2
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.110.2
[INFO] [stderr]   Downloaded wasmtime-versioned-export-macros v23.0.2
[INFO] [stderr]   Downloaded cranelift-bitset v0.110.2
[INFO] [stderr]   Downloaded wast v215.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59a0346d9d32bf56536ff4ffec7334671fbe4256d33ce8f67197dccb42cdc808
[INFO] running `Command { std: "docker" "start" "-a" "59a0346d9d32bf56536ff4ffec7334671fbe4256d33ce8f67197dccb42cdc808", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59a0346d9d32bf56536ff4ffec7334671fbe4256d33ce8f67197dccb42cdc808", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59a0346d9d32bf56536ff4ffec7334671fbe4256d33ce8f67197dccb42cdc808", kill_on_drop: false }`
[INFO] [stdout] 59a0346d9d32bf56536ff4ffec7334671fbe4256d33ce8f67197dccb42cdc808
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f5947b93e23ae2711db734edd55545cfc4af8db7683d420fc32c8f8bf606080
[INFO] running `Command { std: "docker" "start" "-a" "0f5947b93e23ae2711db734edd55545cfc4af8db7683d420fc32c8f8bf606080", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.74
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling libc v0.2.156
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling cranelift-isle v0.110.2
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.110.2
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.110.2
[INFO] [stderr]    Compiling arbitrary v1.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling slice-group-by v0.3.1
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling cpp_demangle v0.4.3
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling embedded-io v0.4.0
[INFO] [stderr]    Compiling cranelift-control v0.110.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling wasmtime-component-util v23.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling wasm-encoder v0.212.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling wasm-encoder v0.215.0
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling wasmtime-component-macro v23.0.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling colorchoice v1.0.2
[INFO] [stderr]    Compiling cc v1.1.13
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling wasmtime-cache v23.0.2
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling directories-next v2.0.0
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling wasmtime-asm-macros v23.0.2
[INFO] [stderr]    Compiling debugid v0.8.0
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling clap_builder v4.5.15
[INFO] [stderr]    Compiling wasmtime-jit-icache-coherence v23.0.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling wast v215.0.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sptr v0.3.2
[INFO] [stderr]    Compiling wasmtime-slab v23.0.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling ittapi-sys v0.4.0
[INFO] [stderr]    Compiling cranelift-codegen v0.110.2
[INFO] [stderr]    Compiling ittapi v0.4.0
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling clap v4.5.16
[INFO] [stderr]    Compiling wasmparser v0.212.0
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling wasmtime-versioned-export-macros v23.0.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling memfd v0.6.4
[INFO] [stderr]    Compiling wasmtime-fiber v23.0.2
[INFO] [stderr]    Compiling wasmtime v23.0.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[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.2
[INFO] [stderr]    Compiling postcard v1.0.8
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling cranelift-entity v0.110.2
[INFO] [stderr]    Compiling regalloc2 v0.9.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cranelift-bforest v0.110.2
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling fxprof-processed-profile v0.6.0
[INFO] [stderr]    Compiling wasmtime-wit-bindgen v23.0.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling object v0.36.3
[INFO] [stderr]    Compiling toml_edit v0.22.20
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling wasmtime-jit-debug v23.0.2
[INFO] [stderr]    Compiling wasmtime-types v23.0.2
[INFO] [stderr]    Compiling wasmprinter v0.212.0
[INFO] [stderr]    Compiling wasmtime-environ v23.0.2
[INFO] [stderr]    Compiling cranelift-frontend v0.110.2
[INFO] [stderr]    Compiling cranelift-native v0.110.2
[INFO] [stderr]    Compiling cranelift-wasm v0.110.2
[INFO] [stderr]    Compiling wasmtime-cranelift v23.0.2
[INFO] [stderr]    Compiling mocketd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `h_rd` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h_re` is never used
[INFO] [stdout]    --> src/main.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_event` is never used
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         handle_receive(json_value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         let _ = handle_receive(json_value);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:153:26
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 2m 28s
[INFO] running `Command { std: "docker" "inspect" "0f5947b93e23ae2711db734edd55545cfc4af8db7683d420fc32c8f8bf606080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f5947b93e23ae2711db734edd55545cfc4af8db7683d420fc32c8f8bf606080", kill_on_drop: false }`
[INFO] [stdout] 0f5947b93e23ae2711db734edd55545cfc4af8db7683d420fc32c8f8bf606080
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6883ffdcb55206c0809d611e48848b5a86ba65e4066bc913d36afd219c53093
[INFO] running `Command { std: "docker" "start" "-a" "d6883ffdcb55206c0809d611e48848b5a86ba65e4066bc913d36afd219c53093", kill_on_drop: false }`
[INFO] [stderr]    Compiling mocketd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `h_rd` is never used
[INFO] [stdout]    --> src/main.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `h_re` is never used
[INFO] [stdout]    --> src/main.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_event` is never used
[INFO] [stdout]    --> src/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         handle_receive(json_value);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         let _ = handle_receive(json_value);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:153:26
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/main.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 2.46s
[INFO] running `Command { std: "docker" "inspect" "d6883ffdcb55206c0809d611e48848b5a86ba65e4066bc913d36afd219c53093", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6883ffdcb55206c0809d611e48848b5a86ba65e4066bc913d36afd219c53093", kill_on_drop: false }`
[INFO] [stdout] d6883ffdcb55206c0809d611e48848b5a86ba65e4066bc913d36afd219c53093
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ddba1fa8b872c682fb382885208e0340efe6626f0a49c221454c48193e3431ce
[INFO] running `Command { std: "docker" "start" "-a" "ddba1fa8b872c682fb382885208e0340efe6626f0a49c221454c48193e3431ce", kill_on_drop: false }`
[INFO] [stderr] warning: function `h_rd` is never used
[INFO] [stderr]    --> src/main.rs:134:4
[INFO] [stderr]     |
[INFO] [stderr] 134 | fn h_rd<T>(store: &mut Store<T>, instance: &Instance, ch: i32) -> Result<()> {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `h_re` is never used
[INFO] [stderr]    --> src/main.rs:143:4
[INFO] [stderr]     |
[INFO] [stderr] 143 | fn h_re<T>(store: &mut Store<T>, instance: &Instance) -> Result<()> {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_event` is never used
[INFO] [stderr]    --> src/main.rs:152:4
[INFO] [stderr]     |
[INFO] [stderr] 152 | fn send_event(event_type: &str, data: Value) {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]   --> src/main.rs:77:25
[INFO] [stderr]    |
[INFO] [stderr] 77 |                         handle_receive(json_value);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 77 |                         let _ = handle_receive(json_value);
[INFO] [stderr]    |                         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/main.rs:153:26
[INFO] [stderr]     |
[INFO] [stderr] 153 |     let store = unsafe { WASM_STORE.as_mut() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]    --> src/main.rs:154:29
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let instance = unsafe { WASM_INSTANCE.as_ref() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]    --> src/main.rs:221:29
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let instance = unsafe { WASM_INSTANCE.as_ref().unwrap() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/main.rs:222:41
[INFO] [stderr]     |
[INFO] [stderr] 222 |     let mut store: Store<()> = unsafe { WASM_STORE.take().unwrap() };
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: `mocketd` (bin "mocketd" test) generated 8 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mocketd-7744fe71c08ddb5a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ddba1fa8b872c682fb382885208e0340efe6626f0a49c221454c48193e3431ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddba1fa8b872c682fb382885208e0340efe6626f0a49c221454c48193e3431ce", kill_on_drop: false }`
[INFO] [stdout] ddba1fa8b872c682fb382885208e0340efe6626f0a49c221454c48193e3431ce
