[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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] 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] validating manifest of git repo https://github.com/oboard/mocketd on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 wasmtime-winch v23.0.2 [INFO] [stderr] Downloaded winch-codegen v0.21.2 [INFO] [stderr] Downloaded ittapi v0.4.0 [INFO] [stderr] Downloaded wasmtime-slab v23.0.2 [INFO] [stderr] Downloaded wasmtime-jit-debug v23.0.2 [INFO] [stderr] Downloaded wasmtime-asm-macros v23.0.2 [INFO] [stderr] Downloaded cranelift-native v0.110.2 [INFO] [stderr] Downloaded cranelift-bforest v0.110.2 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.110.2 [INFO] [stderr] Downloaded redox_users v0.4.5 [INFO] [stderr] Downloaded cranelift-control v0.110.2 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v23.0.2 [INFO] [stderr] Downloaded cranelift-wasm v0.110.2 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.110.2 [INFO] [stderr] Downloaded cranelift-isle v0.110.2 [INFO] [stderr] Downloaded wit-parser v0.212.0 [INFO] [stderr] Downloaded wasmtime-component-macro v23.0.2 [INFO] [stderr] Downloaded ittapi-sys v0.4.0 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded wasmparser v0.212.0 [INFO] [stderr] Downloaded wasmtime-environ v23.0.2 [INFO] [stderr] Downloaded wast v215.0.0 [INFO] [stderr] Downloaded wasmtime-cranelift v23.0.2 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded wasm-encoder v0.212.0 [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 cranelift-entity v0.110.2 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded wasmtime v23.0.2 [INFO] [stderr] Downloaded wasmtime-cache v23.0.2 [INFO] [stderr] Downloaded wasmtime-fiber v23.0.2 [INFO] [stderr] Downloaded wasm-encoder v0.215.0 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v23.0.2 [INFO] [stderr] Downloaded wasmtime-component-util v23.0.2 [INFO] [stderr] Downloaded cranelift-bitset v0.110.2 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v23.0.2 [INFO] [stderr] Downloaded wasmtime-types v23.0.2 [INFO] [stderr] Downloaded wat v1.215.0 [INFO] [stderr] Downloaded libc v0.2.156 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded cranelift-codegen v0.110.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db8cd04aa835aedbe889f222e0931c69015e416711f50ee329e3c33513732b48 [INFO] running `Command { std: "docker" "start" "-a" "db8cd04aa835aedbe889f222e0931c69015e416711f50ee329e3c33513732b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db8cd04aa835aedbe889f222e0931c69015e416711f50ee329e3c33513732b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8cd04aa835aedbe889f222e0931c69015e416711f50ee329e3c33513732b48", kill_on_drop: false }` [INFO] [stdout] db8cd04aa835aedbe889f222e0931c69015e416711f50ee329e3c33513732b48 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a90e50e0104793c537a8678cd57ddcffcb1e6e5866ca82a37d212a0861596d2b [INFO] running `Command { std: "docker" "start" "-a" "a90e50e0104793c537a8678cd57ddcffcb1e6e5866ca82a37d212a0861596d2b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling libc v0.2.156 [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 autocfg v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling cranelift-codegen-shared v0.110.2 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling arbitrary v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cranelift-codegen-meta v0.110.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling cranelift-control v0.110.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wasm-encoder v0.215.0 [INFO] [stderr] Compiling wasm-encoder v0.212.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling wasmtime-component-util v23.0.2 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling wasmtime-component-macro v23.0.2 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling wasmtime-cache v23.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling wasmtime-asm-macros v23.0.2 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling wast v215.0.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v23.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling wasmtime-slab v23.0.2 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling wasmparser v0.212.0 [INFO] [stderr] Compiling cranelift-codegen v0.110.2 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling memfd v0.6.4 [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 tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [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 wasmtime-wit-bindgen v23.0.2 [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 toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [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 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(store: &mut Store, 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(store: &mut Store, 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 [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 [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 [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 [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 [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 [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 [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 [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 1m 43s [INFO] running `Command { std: "docker" "inspect" "a90e50e0104793c537a8678cd57ddcffcb1e6e5866ca82a37d212a0861596d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90e50e0104793c537a8678cd57ddcffcb1e6e5866ca82a37d212a0861596d2b", kill_on_drop: false }` [INFO] [stdout] a90e50e0104793c537a8678cd57ddcffcb1e6e5866ca82a37d212a0861596d2b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 15b1bcad310fed92877ad24809bb8545317ee5d1b4aea0d68937c4c53d69f8cc [INFO] running `Command { std: "docker" "start" "-a" "15b1bcad310fed92877ad24809bb8545317ee5d1b4aea0d68937c4c53d69f8cc", 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(store: &mut Store, 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(store: &mut Store, 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 [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 [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 [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 [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 [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 [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 [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 [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 8.55s [INFO] running `Command { std: "docker" "inspect" "15b1bcad310fed92877ad24809bb8545317ee5d1b4aea0d68937c4c53d69f8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b1bcad310fed92877ad24809bb8545317ee5d1b4aea0d68937c4c53d69f8cc", kill_on_drop: false }` [INFO] [stdout] 15b1bcad310fed92877ad24809bb8545317ee5d1b4aea0d68937c4c53d69f8cc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bcd8d31a49dd0633ff0486da45d043bbc3ffa254fb7971407bdfafd88769ef1c [INFO] running `Command { std: "docker" "start" "-a" "bcd8d31a49dd0633ff0486da45d043bbc3ffa254fb7971407bdfafd88769ef1c", 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(store: &mut Store, 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(store: &mut Store, 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 [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 [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 [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 [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 [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 [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 [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 [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.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mocketd-16f9964e55b6a15a) [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" "bcd8d31a49dd0633ff0486da45d043bbc3ffa254fb7971407bdfafd88769ef1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd8d31a49dd0633ff0486da45d043bbc3ffa254fb7971407bdfafd88769ef1c", kill_on_drop: false }` [INFO] [stdout] bcd8d31a49dd0633ff0486da45d043bbc3ffa254fb7971407bdfafd88769ef1c