[INFO] cloning repository https://github.com/richardanaya/virtual-dom-rs-counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richardanaya/virtual-dom-rs-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardanaya%2Fvirtual-dom-rs-counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardanaya%2Fvirtual-dom-rs-counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fdfd9f9c6ca6b63f1d71549321e622653551d02 [INFO] checking richardanaya/virtual-dom-rs-counter against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardanaya%2Fvirtual-dom-rs-counter" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richardanaya/virtual-dom-rs-counter on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richardanaya/virtual-dom-rs-counter [INFO] finished tweaking git repo https://github.com/richardanaya/virtual-dom-rs-counter [INFO] tweaked toml for git repo https://github.com/richardanaya/virtual-dom-rs-counter written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/richardanaya/virtual-dom-rs-counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5766a9eaecb2bcb8d897252187a208c0cedabc24199c2ba0df1471d458b956fd [INFO] running `Command { std: "docker" "start" "-a" "5766a9eaecb2bcb8d897252187a208c0cedabc24199c2ba0df1471d458b956fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5766a9eaecb2bcb8d897252187a208c0cedabc24199c2ba0df1471d458b956fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5766a9eaecb2bcb8d897252187a208c0cedabc24199c2ba0df1471d458b956fd", kill_on_drop: false }` [INFO] [stdout] 5766a9eaecb2bcb8d897252187a208c0cedabc24199c2ba0df1471d458b956fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90a06207c49cd9b520e77425e2290e9ebbb06ece95236ed56a0d94d380e379d4 [INFO] running `Command { std: "docker" "start" "-a" "90a06207c49cd9b520e77425e2290e9ebbb06ece95236ed56a0d94d380e379d4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.45 (as host dependency): default [INFO] [stderr] [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.29 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.29 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.29 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.29 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.23 [INFO] [stderr] Checking js-sys v0.3.6 [INFO] [stderr] Compiling web-sys v0.3.6 [INFO] [stderr] Checking virtual-node v0.0.1 (https://github.com/chinedufn/percy#8f680a30) [INFO] [stderr] Checking virtual-dom-rs v0.4.1 (https://github.com/chinedufn/percy#8f680a30) [INFO] [stderr] Checking dom v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `virtual_dom_rs::JsCast` [INFO] [stdout] --> src/actions/auto_increment_async.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use virtual_dom_rs::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `JsCast` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/auto_increment_async.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn auto_increment_async(_state: Rc, dispatch: Rc) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(AppAction)` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/auto_increment_async.rs:8:87 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn auto_increment_async(_state: Rc, dispatch: Rc) -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub increment: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub decrement: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub auto: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reducers/app.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | static s:Box)->i32> = create_selector(&cache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Rc)->i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selector.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Box) -> i32> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Rc) -> i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | listeners: Rc>>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | handler: Box) -> VirtualNode>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T, Rc) -> VirtualNode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | handler: Box) -> VirtualNode>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Fn(P)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn add_listener(&self, listener: Box) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unchecked_ref` found for reference `&wasm_bindgen::JsValue` in the current scope [INFO] [stdout] --> src/actions/auto_increment_async.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | a.as_ref().unchecked_ref(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&wasm_bindgen::JsValue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use wasm_bindgen::JsCast;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dom` due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `virtual_dom_rs::JsCast` [INFO] [stdout] --> src/actions/auto_increment_async.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use virtual_dom_rs::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `JsCast` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/auto_increment_async.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn auto_increment_async(_state: Rc, dispatch: Rc) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(AppAction)` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/auto_increment_async.rs:8:87 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn auto_increment_async(_state: Rc, dispatch: Rc) -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub increment: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub decrement: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/counter.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub auto: Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reducers/app.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | static s:Box)->i32> = create_selector(&cache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Rc)->i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selector.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Box) -> i32> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Rc) -> i32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | listeners: Rc>>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | handler: Box) -> VirtualNode>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T, Rc) -> VirtualNode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | handler: Box) -> VirtualNode>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Fn(P)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn add_listener(&self, listener: Box) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unchecked_ref` found for reference `&wasm_bindgen::JsValue` in the current scope [INFO] [stdout] --> src/actions/auto_increment_async.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | a.as_ref().unchecked_ref(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&wasm_bindgen::JsValue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use wasm_bindgen::JsCast;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "90a06207c49cd9b520e77425e2290e9ebbb06ece95236ed56a0d94d380e379d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a06207c49cd9b520e77425e2290e9ebbb06ece95236ed56a0d94d380e379d4", kill_on_drop: false }` [INFO] [stdout] 90a06207c49cd9b520e77425e2290e9ebbb06ece95236ed56a0d94d380e379d4