[INFO] cloning repository https://github.com/Djudicael/wasm-bindgen-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Djudicael/wasm-bindgen-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDjudicael%2Fwasm-bindgen-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDjudicael%2Fwasm-bindgen-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a9e01c99abfb4b136f3fc41dfa2b46352994b7f [INFO] testing Djudicael/wasm-bindgen-practice against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDjudicael%2Fwasm-bindgen-practice" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Djudicael/wasm-bindgen-practice 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/Djudicael/wasm-bindgen-practice [INFO] finished tweaking git repo https://github.com/Djudicael/wasm-bindgen-practice [INFO] tweaked toml for git repo https://github.com/Djudicael/wasm-bindgen-practice written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Djudicael/wasm-bindgen-practice 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69a4ac04a12cfd50b81e260ffbe89ed56528b7cd3447a308479f8bb4bd7c2cec [INFO] running `Command { std: "docker" "start" "-a" "69a4ac04a12cfd50b81e260ffbe89ed56528b7cd3447a308479f8bb4bd7c2cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69a4ac04a12cfd50b81e260ffbe89ed56528b7cd3447a308479f8bb4bd7c2cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a4ac04a12cfd50b81e260ffbe89ed56528b7cd3447a308479f8bb4bd7c2cec", kill_on_drop: false }` [INFO] [stdout] 69a4ac04a12cfd50b81e260ffbe89ed56528b7cd3447a308479f8bb4bd7c2cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 40563dba81302a76a5fbed48f23b8e3e7667ef4154f44c78edc936791c217335 [INFO] running `Command { std: "docker" "start" "-a" "40563dba81302a76a5fbed48f23b8e3e7667ef4154f44c78edc936791c217335", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Compiling js-sys v0.3.60 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.33 [INFO] [stderr] Compiling web-sys v0.3.60 [INFO] [stderr] Compiling wasm_full_learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `req_frame::frame_run`, `web_gl::webgl`, and `webrtc::web_start` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | req_frame::frame_run, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | wasm_in_wasm::run_async, [INFO] [stdout] 12 | web_gl::webgl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | webrtc::web_start, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window` is never used [INFO] [stdout] --> src/req_frame.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_animation_frame` is never used [INFO] [stdout] --> src/req_frame.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `document` is never used [INFO] [stdout] --> src/req_frame.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn document() -> web_sys::Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body` is never used [INFO] [stdout] --> src/req_frame.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn body() -> web_sys::HtmlElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frame_run` is never used [INFO] [stdout] --> src/req_frame.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn frame_run() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webgl` is never used [INFO] [stdout] --> src/web_gl.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn webgl(document: &Document) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/web_gl.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn draw(context: &WebGl2RenderingContext, vert_count: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_shader` is never used [INFO] [stdout] --> src/web_gl.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn compile_shader( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_program` is never used [INFO] [stdout] --> src/web_gl.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn link_program( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web_start` is never used [INFO] [stdout] --> src/webrtc.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn web_start() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `MyClass` is not local [INFO] [stdout] | `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [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" "40563dba81302a76a5fbed48f23b8e3e7667ef4154f44c78edc936791c217335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40563dba81302a76a5fbed48f23b8e3e7667ef4154f44c78edc936791c217335", kill_on_drop: false }` [INFO] [stdout] 40563dba81302a76a5fbed48f23b8e3e7667ef4154f44c78edc936791c217335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] ae1e48a720b175a371b97c59c5f7a9eb515283f33c7bf4bc26182f44fb695072 [INFO] running `Command { std: "docker" "start" "-a" "ae1e48a720b175a371b97c59c5f7a9eb515283f33c7bf4bc26182f44fb695072", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `req_frame::frame_run`, `web_gl::webgl`, and `webrtc::web_start` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | req_frame::frame_run, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | wasm_in_wasm::run_async, [INFO] [stdout] 12 | web_gl::webgl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | webrtc::web_start, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window` is never used [INFO] [stdout] --> src/req_frame.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_animation_frame` is never used [INFO] [stdout] --> src/req_frame.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `document` is never used [INFO] [stdout] --> src/req_frame.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn document() -> web_sys::Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body` is never used [INFO] [stdout] --> src/req_frame.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn body() -> web_sys::HtmlElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frame_run` is never used [INFO] [stdout] --> src/req_frame.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn frame_run() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webgl` is never used [INFO] [stdout] --> src/web_gl.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn webgl(document: &Document) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/web_gl.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn draw(context: &WebGl2RenderingContext, vert_count: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_shader` is never used [INFO] [stdout] --> src/web_gl.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn compile_shader( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_program` is never used [INFO] [stdout] --> src/web_gl.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn link_program( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web_start` is never used [INFO] [stdout] --> src/webrtc.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn web_start() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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 wasm_full_learn 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `MyClass` is not local [INFO] [stdout] | `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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: unused imports: `req_frame::frame_run`, `web_gl::webgl`, and `webrtc::web_start` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | req_frame::frame_run, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | wasm_in_wasm::run_async, [INFO] [stdout] 12 | web_gl::webgl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | webrtc::web_start, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window` is never used [INFO] [stdout] --> src/req_frame.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_animation_frame` is never used [INFO] [stdout] --> src/req_frame.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `document` is never used [INFO] [stdout] --> src/req_frame.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn document() -> web_sys::Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `body` is never used [INFO] [stdout] --> src/req_frame.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn body() -> web_sys::HtmlElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frame_run` is never used [INFO] [stdout] --> src/req_frame.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn frame_run() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webgl` is never used [INFO] [stdout] --> src/web_gl.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn webgl(document: &Document) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/web_gl.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn draw(context: &WebGl2RenderingContext, vert_count: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_shader` is never used [INFO] [stdout] --> src/web_gl.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn compile_shader( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `link_program` is never used [INFO] [stdout] --> src/web_gl.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn link_program( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `web_start` is never used [INFO] [stdout] --> src/webrtc.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn web_start() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^ [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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `MyClass` is not local [INFO] [stdout] | `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stdout] ... [INFO] [stdout] 6 | pub type MyClass; [INFO] [stdout] | ------- `MyClass` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [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" "ae1e48a720b175a371b97c59c5f7a9eb515283f33c7bf4bc26182f44fb695072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1e48a720b175a371b97c59c5f7a9eb515283f33c7bf4bc26182f44fb695072", kill_on_drop: false }` [INFO] [stdout] ae1e48a720b175a371b97c59c5f7a9eb515283f33c7bf4bc26182f44fb695072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] e418682687e6ad06e04dcdb3156288040f76fb614690f767be8e05aecdbe79f1 [INFO] running `Command { std: "docker" "start" "-a" "e418682687e6ad06e04dcdb3156288040f76fb614690f767be8e05aecdbe79f1", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `req_frame::frame_run`, `web_gl::webgl`, and `webrtc::web_start` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | req_frame::frame_run, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | wasm_in_wasm::run_async, [INFO] [stderr] 12 | web_gl::webgl, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 13 | webrtc::web_start, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `window` is never used [INFO] [stderr] --> src/req_frame.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | fn window() -> web_sys::Window { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `request_animation_frame` is never used [INFO] [stderr] --> src/req_frame.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn request_animation_frame(f: &Closure) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `document` is never used [INFO] [stderr] --> src/req_frame.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn document() -> web_sys::Document { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `body` is never used [INFO] [stderr] --> src/req_frame.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn body() -> web_sys::HtmlElement { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `frame_run` is never used [INFO] [stderr] --> src/req_frame.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn frame_run() -> Result<(), JsValue> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `webgl` is never used [INFO] [stderr] --> src/web_gl.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn webgl(document: &Document) -> Result<(), JsValue> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw` is never used [INFO] [stderr] --> src/web_gl.rs:90:4 [INFO] [stderr] | [INFO] [stderr] 90 | fn draw(context: &WebGl2RenderingContext, vert_count: i32) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile_shader` is never used [INFO] [stderr] --> src/web_gl.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn compile_shader( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `link_program` is never used [INFO] [stderr] --> src/web_gl.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn link_program( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `web_start` is never used [INFO] [stderr] --> src/webrtc.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn web_start() -> Result<(), JsValue> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | `MyClass` is not local [INFO] [stderr] | `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [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_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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/defined_in_js.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[wasm_bindgen(module = "/www/defined-in-js.js")] [INFO] [stderr] | ^------------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `JsObject` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyClass` [INFO] [stderr] ... [INFO] [stderr] 6 | pub type MyClass; [INFO] [stderr] | ------- `MyClass` 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: `wasm_full_learn` (lib) generated 25 warnings (run `cargo fix --lib -p wasm_full_learn` to apply 1 suggestion) [INFO] [stderr] warning: `wasm_full_learn` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.83 [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/wasm_full_learn-eb4623cf3a1cbbc4) [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 wasm_full_learn [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" "e418682687e6ad06e04dcdb3156288040f76fb614690f767be8e05aecdbe79f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e418682687e6ad06e04dcdb3156288040f76fb614690f767be8e05aecdbe79f1", kill_on_drop: false }` [INFO] [stdout] e418682687e6ad06e04dcdb3156288040f76fb614690f767be8e05aecdbe79f1