[INFO] cloning repository https://github.com/tmsdev82/yew-css-and-js-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmsdev82/yew-css-and-js-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmsdev82%2Fyew-css-and-js-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmsdev82%2Fyew-css-and-js-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90d4ee05e37062722848752b68cba794b20ec9dd [INFO] testing tmsdev82/yew-css-and-js-tutorial against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmsdev82%2Fyew-css-and-js-tutorial" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmsdev82/yew-css-and-js-tutorial 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/tmsdev82/yew-css-and-js-tutorial [INFO] finished tweaking git repo https://github.com/tmsdev82/yew-css-and-js-tutorial [INFO] tweaked toml for git repo https://github.com/tmsdev82/yew-css-and-js-tutorial written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tmsdev82/yew-css-and-js-tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-history v0.1.0 [INFO] [stderr] Downloaded gloo-net v0.2.3 [INFO] [stderr] Downloaded gloo-worker v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3ddc3dc952b845b33fb20f64b0f39965d502666395f3a129a0625385824516bf [INFO] running `Command { std: "docker" "start" "-a" "3ddc3dc952b845b33fb20f64b0f39965d502666395f3a129a0625385824516bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ddc3dc952b845b33fb20f64b0f39965d502666395f3a129a0625385824516bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ddc3dc952b845b33fb20f64b0f39965d502666395f3a129a0625385824516bf", kill_on_drop: false }` [INFO] [stdout] 3ddc3dc952b845b33fb20f64b0f39965d502666395f3a129a0625385824516bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cd9d2d75bd999fada58937a9086d70a4256420ba2554d2aa257666d1aefa5233 [INFO] running `Command { std: "docker" "start" "-a" "cd9d2d75bd999fada58937a9086d70a4256420ba2554d2aa257666d1aefa5233", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.81 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling wasm-bindgen v0.2.81 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.81 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.81 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling js-sys v0.3.58 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.58 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.31 [INFO] [stderr] Compiling gloo-timers v0.2.4 [INFO] [stderr] Compiling serde-wasm-bindgen v0.3.1 [INFO] [stderr] Compiling gloo-utils v0.1.4 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.2.1 [INFO] [stderr] Compiling gloo-worker v0.2.0 [INFO] [stderr] Compiling gloo-net v0.2.3 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-history v0.1.0 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling gloo v0.8.0 [INFO] [stderr] Compiling yew-css-and-js-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `draw_timer` is never read [INFO] [stdout] --> src/chart_component.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ChartComponent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub draw_timer: Timeout [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `MyChart` is not local [INFO] [stdout] | `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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 36.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.81 [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" "cd9d2d75bd999fada58937a9086d70a4256420ba2554d2aa257666d1aefa5233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9d2d75bd999fada58937a9086d70a4256420ba2554d2aa257666d1aefa5233", kill_on_drop: false }` [INFO] [stdout] cd9d2d75bd999fada58937a9086d70a4256420ba2554d2aa257666d1aefa5233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e0997907c7ec14b40b462f2f705838fd0d3af227b776663eabea350537a805b9 [INFO] running `Command { std: "docker" "start" "-a" "e0997907c7ec14b40b462f2f705838fd0d3af227b776663eabea350537a805b9", kill_on_drop: false }` [INFO] [stderr] Compiling yew-css-and-js-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `draw_timer` is never read [INFO] [stdout] --> src/chart_component.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ChartComponent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub draw_timer: Timeout [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `MyChart` is not local [INFO] [stdout] | `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stdout] | ^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | `JsObject` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] 11 | pub type MyChart; [INFO] [stdout] | ------- `MyChart` 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.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.81 [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" "e0997907c7ec14b40b462f2f705838fd0d3af227b776663eabea350537a805b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0997907c7ec14b40b462f2f705838fd0d3af227b776663eabea350537a805b9", kill_on_drop: false }` [INFO] [stdout] e0997907c7ec14b40b462f2f705838fd0d3af227b776663eabea350537a805b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4531489ee868acd948c31fc93c9360f84fd490f6313e03c6e0c9daf3386d6af9 [INFO] running `Command { std: "docker" "start" "-a" "4531489ee868acd948c31fc93c9360f84fd490f6313e03c6e0c9daf3386d6af9", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field `draw_timer` is never read [INFO] [stderr] --> src/chart_component.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct ChartComponent { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | pub draw_timer: Timeout [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | `MyChart` is not local [INFO] [stderr] | `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.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_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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/bindings.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen(module = "/js/my_chart.js")] [INFO] [stderr] | ^------------------------------------------ [INFO] [stderr] | | [INFO] [stderr] | `JsObject` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_MyChart` [INFO] [stderr] 10 | extern "C" { [INFO] [stderr] 11 | pub type MyChart; [INFO] [stderr] | ------- `MyChart` 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: `yew-css-and-js-tutorial` (bin "yew-css-and-js-tutorial" test) generated 17 warnings [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.81 [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/main.rs (/opt/rustwide/target/debug/deps/yew_css_and_js_tutorial-5e97ebfdaeae4730) [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" "4531489ee868acd948c31fc93c9360f84fd490f6313e03c6e0c9daf3386d6af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4531489ee868acd948c31fc93c9360f84fd490f6313e03c6e0c9daf3386d6af9", kill_on_drop: false }` [INFO] [stdout] 4531489ee868acd948c31fc93c9360f84fd490f6313e03c6e0c9daf3386d6af9