[INFO] cloning repository https://github.com/Mort1B/wasm-rust-js [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mort1B/wasm-rust-js" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMort1B%2Fwasm-rust-js", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMort1B%2Fwasm-rust-js'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc2f43a4e7928b45c370406895b771883f2b5008 [INFO] checking Mort1B/wasm-rust-js/dc2f43a4e7928b45c370406895b771883f2b5008 against master#6a9758d4f38d4763bd437c48fa7e5246cecf8d04 for pr-124355 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMort1B%2Fwasm-rust-js" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mort1B/wasm-rust-js on toolchain 6a9758d4f38d4763bd437c48fa7e5246cecf8d04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mort1B/wasm-rust-js [INFO] finished tweaking git repo https://github.com/Mort1B/wasm-rust-js [INFO] tweaked toml for git repo https://github.com/Mort1B/wasm-rust-js written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mort1B/wasm-rust-js 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" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "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.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1a493806988ba59c39d8a00310ad9a02bfbe66f65c7cc37dcff988cc981c67a [INFO] running `Command { std: "docker" "start" "-a" "e1a493806988ba59c39d8a00310ad9a02bfbe66f65c7cc37dcff988cc981c67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1a493806988ba59c39d8a00310ad9a02bfbe66f65c7cc37dcff988cc981c67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a493806988ba59c39d8a00310ad9a02bfbe66f65c7cc37dcff988cc981c67a", kill_on_drop: false }` [INFO] [stdout] e1a493806988ba59c39d8a00310ad9a02bfbe66f65c7cc37dcff988cc981c67a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bbc5ed4412bb3e1645f3509e8d90ff226877eabd7d67f6a1755235d02c076c5 [INFO] running `Command { std: "docker" "start" "-a" "1bbc5ed4412bb3e1645f3509e8d90ff226877eabd7d67f6a1755235d02c076c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.33 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking serde-wasm-bindgen v0.3.1 [INFO] [stderr] Checking gloo-utils v0.1.5 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-net v0.2.4 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.0 [INFO] [stderr] Checking gloo-worker v0.2.1 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking gloo v0.8.0 [INFO] [stderr] Checking rust-js v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chart_component.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [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/chart_component.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [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:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 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: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 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:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ChartComponent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub draw_timer: Timeout, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `draw_timer` is never read [INFO] [stdout] --> src/chart_component.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ChartComponent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | 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, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_MyChart` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_MyChart` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.71s [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" "1bbc5ed4412bb3e1645f3509e8d90ff226877eabd7d67f6a1755235d02c076c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bbc5ed4412bb3e1645f3509e8d90ff226877eabd7d67f6a1755235d02c076c5", kill_on_drop: false }` [INFO] [stdout] 1bbc5ed4412bb3e1645f3509e8d90ff226877eabd7d67f6a1755235d02c076c5