[INFO] cloning repository https://github.com/MajorTom3K1M/wasm-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MajorTom3K1M/wasm-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajorTom3K1M%2Fwasm-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajorTom3K1M%2Fwasm-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f25cc468cbfbf64e9933a5c3868b39fe13725362 [INFO] testing MajorTom3K1M/wasm-chat against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMajorTom3K1M%2Fwasm-chat" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MajorTom3K1M/wasm-chat on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MajorTom3K1M/wasm-chat [INFO] finished tweaking git repo https://github.com/MajorTom3K1M/wasm-chat [INFO] tweaked toml for git repo https://github.com/MajorTom3K1M/wasm-chat written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MajorTom3K1M/wasm-chat 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notify v4.0.18 [INFO] [stderr] Downloaded pathdiff v0.2.2 [INFO] [stderr] Downloaded open v2.1.3 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.2.0 [INFO] [stderr] Downloaded cargo-lock v7.1.0 [INFO] [stderr] Downloaded time v0.3.26 [INFO] [stderr] Downloaded remove_dir_all v0.7.0 [INFO] [stderr] Downloaded nipper v0.1.9 [INFO] [stderr] Downloaded trunk v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c2391c9cf09a10a750f8f963bf81c7f7c993ed99a204ee23691973f1f9fd074 [INFO] running `Command { std: "docker" "start" "-a" "1c2391c9cf09a10a750f8f963bf81c7f7c993ed99a204ee23691973f1f9fd074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c2391c9cf09a10a750f8f963bf81c7f7c993ed99a204ee23691973f1f9fd074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2391c9cf09a10a750f8f963bf81c7f7c993ed99a204ee23691973f1f9fd074", kill_on_drop: false }` [INFO] [stdout] 1c2391c9cf09a10a750f8f963bf81c7f7c993ed99a204ee23691973f1f9fd074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 657d7a93c865feb4ab7c5e938c15221e8fcbbd3ee6f0be8eb79fd128b085cdd6 [INFO] running `Command { std: "docker" "start" "-a" "657d7a93c865feb4ab7c5e938c15221e8fcbbd3ee6f0be8eb79fd128b085cdd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: wasmchat v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `trunk` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling serde-wasm-bindgen v0.2.0 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling wasmchat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Date` [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Math::random` [INFO] [stdout] --> src/services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Math::random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::info` [INFO] [stdout] --> src/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web_sys::console::info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::time_stamp` [INFO] [stdout] --> src/services.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use web_sys::console::time_stamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/services.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/services.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | fn destroy(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `useroffline_callback` [INFO] [stdout] --> src/services.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let useroffline_callback = move |username: String| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_useroffline_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `thisUser` should have a snake case name [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | thisUser: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `this_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `withPresence` should have a snake case name [INFO] [stdout] --> src/services.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub withPresence: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `with_presence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "657d7a93c865feb4ab7c5e938c15221e8fcbbd3ee6f0be8eb79fd128b085cdd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657d7a93c865feb4ab7c5e938c15221e8fcbbd3ee6f0be8eb79fd128b085cdd6", kill_on_drop: false }` [INFO] [stdout] 657d7a93c865feb4ab7c5e938c15221e8fcbbd3ee6f0be8eb79fd128b085cdd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45bb0086bb7803b871eed741b4b381e1e52b498aa3123bdad2fc23eb0f5cb136 [INFO] running `Command { std: "docker" "start" "-a" "45bb0086bb7803b871eed741b4b381e1e52b498aa3123bdad2fc23eb0f5cb136", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: wasmchat v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `trunk` which is missing a lib target [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Date` [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Math::random` [INFO] [stdout] --> src/services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Math::random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::info` [INFO] [stdout] --> src/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web_sys::console::info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::time_stamp` [INFO] [stdout] --> src/services.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use web_sys::console::time_stamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/services.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/services.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | fn destroy(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `useroffline_callback` [INFO] [stdout] --> src/services.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let useroffline_callback = move |username: String| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_useroffline_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `thisUser` should have a snake case name [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | thisUser: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `this_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmchat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `withPresence` should have a snake case name [INFO] [stdout] --> src/services.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub withPresence: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `with_presence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Date` [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_sys::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::Math::random` [INFO] [stdout] --> src/services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Math::random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::info` [INFO] [stdout] --> src/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web_sys::console::info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::time_stamp` [INFO] [stdout] --> src/services.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use web_sys::console::time_stamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/services.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/services.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | fn destroy(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `useroffline_callback` [INFO] [stdout] --> src/services.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let useroffline_callback = move |username: String| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_useroffline_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `thisUser` should have a snake case name [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | thisUser: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `this_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/services.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stdout] 20 | extern "C" { [INFO] [stdout] 21 | pub type PubNub; [INFO] [stdout] | ------ `PubNub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `withPresence` should have a snake case name [INFO] [stdout] --> src/services.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub withPresence: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `with_presence` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "45bb0086bb7803b871eed741b4b381e1e52b498aa3123bdad2fc23eb0f5cb136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45bb0086bb7803b871eed741b4b381e1e52b498aa3123bdad2fc23eb0f5cb136", kill_on_drop: false }` [INFO] [stdout] 45bb0086bb7803b871eed741b4b381e1e52b498aa3123bdad2fc23eb0f5cb136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9eeb163f7f774059f8c5f60cbceb139c9a066b4967c5a89ccfd5f2bf155d697b [INFO] running `Command { std: "docker" "start" "-a" "9eeb163f7f774059f8c5f60cbceb139c9a066b4967c5a89ccfd5f2bf155d697b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: wasmchat v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `trunk` which is missing a lib target [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `js_sys::Date` [INFO] [stderr] --> src/services.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use js_sys::Date; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `js_sys::Math::random` [INFO] [stderr] --> src/services.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use js_sys::Math::random; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_sys::console::info` [INFO] [stderr] --> src/services.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use web_sys::console::info; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web_sys::console::time_stamp` [INFO] [stderr] --> src/services.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use web_sys::console::time_stamp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/services.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/services.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:234:27 [INFO] [stderr] | [INFO] [stderr] 234 | fn destroy(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `useroffline_callback` [INFO] [stderr] --> src/services.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | let useroffline_callback = move |username: String| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_useroffline_callback` [INFO] [stderr] [INFO] [stderr] warning: structure field `thisUser` should have a snake case name [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | thisUser: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `this_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | `PubNub` is not local [INFO] [stderr] | `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | -^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/services.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `JsObject` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_PubNub` [INFO] [stderr] 20 | extern "C" { [INFO] [stderr] 21 | pub type PubNub; [INFO] [stderr] | ------ `PubNub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `withPresence` should have a snake case name [INFO] [stderr] --> src/services.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | pub withPresence: bool, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `with_presence` [INFO] [stderr] [INFO] [stderr] warning: `wasmchat` (lib) generated 26 warnings (run `cargo fix --lib -p wasmchat` to apply 6 suggestions) [INFO] [stderr] warning: unused import: `yew::prelude::*` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use yew::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wasmchat` (bin "wasmchat" test) generated 1 warning (run `cargo fix --bin "wasmchat" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `wasmchat` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmchat-7cd07932b8e1d580) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wasmchat-700aef1685284402) [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] [stderr] Doc-tests wasmchat [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" "9eeb163f7f774059f8c5f60cbceb139c9a066b4967c5a89ccfd5f2bf155d697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eeb163f7f774059f8c5f60cbceb139c9a066b4967c5a89ccfd5f2bf155d697b", kill_on_drop: false }` [INFO] [stdout] 9eeb163f7f774059f8c5f60cbceb139c9a066b4967c5a89ccfd5f2bf155d697b