[INFO] fetching crate simi 0.2.1... [INFO] testing simi-0.2.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate simi 0.2.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate simi 0.2.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking crates.io crate simi 0.2.1 [INFO] finished tweaking crates.io crate simi 0.2.1 [INFO] tweaked toml for crates.io crate simi 0.2.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6683e815bb2d536b97e6cfa3d6750d4afc6895d2fba4be692b9b312efe020c9d [INFO] running `Command { std: "docker" "start" "-a" "6683e815bb2d536b97e6cfa3d6750d4afc6895d2fba4be692b9b312efe020c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6683e815bb2d536b97e6cfa3d6750d4afc6895d2fba4be692b9b312efe020c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6683e815bb2d536b97e6cfa3d6750d4afc6895d2fba4be692b9b312efe020c9d", kill_on_drop: false }` [INFO] [stdout] 6683e815bb2d536b97e6cfa3d6750d4afc6895d2fba4be692b9b312efe020c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8e92382c0f8113990949e14246b4da96d6e43cc17d9dfabe357d6838daff9e [INFO] running `Command { std: "docker" "start" "-a" "3f8e92382c0f8113990949e14246b4da96d6e43cc17d9dfabe357d6838daff9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.75 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Compiling simi-macros v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling js-sys v0.3.52 [INFO] [stderr] Compiling web-sys v0.3.52 [INFO] [stderr] Compiling simi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 274 | map: std::collections::HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Callback = 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub type CallbackArg = Rc; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Fn(T)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | EventListener(Box), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | mut event_handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/sub_app.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | rc_main: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_event_listener(&mut self, main: &WeakMain) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ElementEventHandler = ::std::cell::Cell>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | fn create_event_listener(&mut self, main: &WeakMain) -> Box { //, simi_element: &mut Element) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | closure: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn no_arg(main: WeakMain, handler: H) -> Closure [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | Closure::wrap(Box::new(handler) as 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.51s [INFO] running `Command { std: "docker" "inspect" "3f8e92382c0f8113990949e14246b4da96d6e43cc17d9dfabe357d6838daff9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8e92382c0f8113990949e14246b4da96d6e43cc17d9dfabe357d6838daff9e", kill_on_drop: false }` [INFO] [stdout] 3f8e92382c0f8113990949e14246b4da96d6e43cc17d9dfabe357d6838daff9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f46c3e5d8354a859a8a49f832ee2d7cfc7c6c16c75b1fc7c71cb596eb5fdb7 [INFO] running `Command { std: "docker" "start" "-a" "01f46c3e5d8354a859a8a49f832ee2d7cfc7c6c16c75b1fc7c71cb596eb5fdb7", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 274 | map: std::collections::HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Callback = 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub type CallbackArg = Rc; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Fn(T)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | EventListener(Box), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | mut event_handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/sub_app.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | rc_main: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_event_listener(&mut self, main: &WeakMain) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ElementEventHandler = ::std::cell::Cell>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | fn create_event_listener(&mut self, main: &WeakMain) -> Box { //, simi_element: &mut Element) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | closure: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn no_arg(main: WeakMain, handler: H) -> Closure [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | Closure::wrap(Box::new(handler) as 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/app.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 274 | map: std::collections::HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Callback = 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callback.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub type CallbackArg = Rc; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Fn(T)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | EventListener(Box), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/element.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | mut event_handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dom/sub_app.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | rc_main: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | fn create_event_listener(&mut self, main: &WeakMain) -> Box; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ElementEventHandler = ::std::cell::Cell>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:53:76 [INFO] [stdout] | [INFO] [stdout] 53 | fn create_event_listener(&mut self, main: &WeakMain) -> Box { //, simi_element: &mut Element) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/element_events.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | closure: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stdout] ... [INFO] [stdout] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stdout] 89 | | ( [INFO] [stdout] 90 | | "Event handler for FocusEvent", [INFO] [stdout] 91 | | FocusEvent, [INFO] [stdout] ... | [INFO] [stdout] 130 | | ) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- in this macro invocation [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn no_arg(main: WeakMain, handler: H) -> Closure [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interop.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | Closure::wrap(Box::new(handler) as 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01f46c3e5d8354a859a8a49f832ee2d7cfc7c6c16c75b1fc7c71cb596eb5fdb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f46c3e5d8354a859a8a49f832ee2d7cfc7c6c16c75b1fc7c71cb596eb5fdb7", kill_on_drop: false }` [INFO] [stdout] 01f46c3e5d8354a859a8a49f832ee2d7cfc7c6c16c75b1fc7c71cb596eb5fdb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69dd1767dddc4f87568b11f89f1b1dcd12adf6f9a44e7ea91cb3bb3c7ab84277 [INFO] running `Command { std: "docker" "start" "-a" "69dd1767dddc4f87568b11f89f1b1dcd12adf6f9a44e7ea91cb3bb3c7ab84277", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app.rs:274:44 [INFO] [stderr] | [INFO] [stderr] 274 | map: std::collections::HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/callback.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | pub type Callback = Rc; [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/callback.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | pub type CallbackArg = Rc; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Fn(T)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dom/element.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | EventListener(Box), [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dom/element.rs:413:32 [INFO] [stderr] | [INFO] [stderr] 413 | mut event_handler: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dom/sub_app.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | rc_main: Box, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/element_events.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | fn create_event_listener(&mut self, main: &WeakMain) -> Box; [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/element_events.rs:22:64 [INFO] [stderr] | [INFO] [stderr] 22 | pub type ElementEventHandler = ::std::cell::Cell>>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EventHandler` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/element_events.rs:53:76 [INFO] [stderr] | [INFO] [stderr] 53 | fn create_event_listener(&mut self, main: &WeakMain) -> Box { //, simi_element: &mut Element) { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Listener` [INFO] [stderr] ... [INFO] [stderr] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stderr] 89 | | ( [INFO] [stderr] 90 | | "Event handler for FocusEvent", [INFO] [stderr] 91 | | FocusEvent, [INFO] [stderr] ... | [INFO] [stderr] 130 | | ) [INFO] [stderr] 131 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/element_events.rs:59:70 [INFO] [stderr] | [INFO] [stderr] 59 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stderr] ... [INFO] [stderr] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stderr] 89 | | ( [INFO] [stderr] 90 | | "Event handler for FocusEvent", [INFO] [stderr] 91 | | FocusEvent, [INFO] [stderr] ... | [INFO] [stderr] 130 | | ) [INFO] [stderr] 131 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/element_events.rs:72:30 [INFO] [stderr] | [INFO] [stderr] 72 | closure: Closure, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(web_sys::$HandlerType)` [INFO] [stderr] ... [INFO] [stderr] 88 | / impl_element_events_that_send_message_back_to_simi_app! { [INFO] [stderr] 89 | | ( [INFO] [stderr] 90 | | "Event handler for FocusEvent", [INFO] [stderr] 91 | | FocusEvent, [INFO] [stderr] ... | [INFO] [stderr] 130 | | ) [INFO] [stderr] 131 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] = note: this warning originates in the macro `impl_element_events_that_send_message_back_to_simi_app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interop.rs:38:67 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn no_arg(main: WeakMain, handler: H) -> Closure [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interop.rs:44:48 [INFO] [stderr] | [INFO] [stderr] 44 | Closure::wrap(Box::new(handler) as Box) [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:24:29 [INFO] [stderr] | [INFO] [stderr] 24 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: `simi` (lib) generated 15 warnings [INFO] [stderr] warning: `simi` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simi-747cfbb302725a70) [INFO] [stderr] Running tests/component/main.rs (/opt/rustwide/target/debug/deps/component-2256d87700c48804) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/elements/main.rs (/opt/rustwide/target/debug/deps/elements-5d333c9bc6d7c7c3) [INFO] [stdout] [INFO] [stderr] Running tests/for-loop/main.rs (/opt/rustwide/target/debug/deps/for_loop-aba636a315158ac5) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/if-clause/main.rs (/opt/rustwide/target/debug/deps/if_clause-03351c1f5c04d7bb) [INFO] [stdout] [INFO] [stderr] Running tests/match/main.rs (/opt/rustwide/target/debug/deps/match-51cf9a656077b88c) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/sub-apps/main.rs (/opt/rustwide/target/debug/deps/sub_apps-0068d6c97953435f) [INFO] [stdout] [INFO] [stderr] Doc-tests simi [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] [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] [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] [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] [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" "69dd1767dddc4f87568b11f89f1b1dcd12adf6f9a44e7ea91cb3bb3c7ab84277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69dd1767dddc4f87568b11f89f1b1dcd12adf6f9a44e7ea91cb3bb3c7ab84277", kill_on_drop: false }` [INFO] [stdout] 69dd1767dddc4f87568b11f89f1b1dcd12adf6f9a44e7ea91cb3bb3c7ab84277