[INFO] fetching crate papito_dom 0.1.1... [INFO] checking papito_dom-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate papito_dom 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate papito_dom 0.1.1 [INFO] finished tweaking crates.io crate papito_dom 0.1.1 [INFO] tweaked toml for crates.io crate papito_dom 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate papito_dom 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7331b811c561ef1a32f2ff15b2d8d7142afd70e428e15a3be5f05de45a0fb4db [INFO] running `Command { std: "docker" "start" "-a" "7331b811c561ef1a32f2ff15b2d8d7142afd70e428e15a3be5f05de45a0fb4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7331b811c561ef1a32f2ff15b2d8d7142afd70e428e15a3be5f05de45a0fb4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7331b811c561ef1a32f2ff15b2d8d7142afd70e428e15a3be5f05de45a0fb4db", kill_on_drop: false }` [INFO] [stdout] 7331b811c561ef1a32f2ff15b2d8d7142afd70e428e15a3be5f05de45a0fb4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ce04d539bf93506621f9a78a9a69ff03c509669a544947b4e67c98f2775620 [INFO] running `Command { std: "docker" "start" "-a" "49ce04d539bf93506621f9a78a9a69ff03c509669a544947b4e67c98f2775620", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking papito_dom v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vcomponent.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | instance: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | instance: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vcomponent.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vcomponent.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `props` is not a member of trait `Component` [INFO] [stdout] --> src/lib.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | / fn props(&self) -> &Self::Props { [INFO] [stdout] 398 | | &() [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____________^ not a member of trait `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `props` is not a member of trait `Component` [INFO] [stdout] --> src/lib.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | / fn props(&self) -> &Self::Props { [INFO] [stdout] 508 | | &() [INFO] [stdout] 509 | | } [INFO] [stdout] | |_____________^ not a member of trait `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `props` is not a member of trait `Component` [INFO] [stdout] --> src/lib.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | / fn props(&self) -> &Self::Props { [INFO] [stdout] 552 | | &() [INFO] [stdout] 553 | | } [INFO] [stdout] | |_____________^ not a member of trait `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `props` is not a member of trait `Component` [INFO] [stdout] --> src/lib.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | / fn props(&self) -> &Self::Props { [INFO] [stdout] 589 | | &() [INFO] [stdout] 590 | | } [INFO] [stdout] | |_____________^ not a member of trait `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ComponentOf` in this scope [INFO] [stdout] --> src/lib.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | impl ComponentOf for Button { [INFO] [stdout] | ^^^^^^^^^^^ help: a trait with a similar name exists: `Component` [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Component: Lifecycle { [INFO] [stdout] | ------------------------------ similarly named trait `Component` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ComponentOf` in this scope [INFO] [stdout] --> src/lib.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | impl ComponentOf for Button { [INFO] [stdout] | ^^^^^^^^^^^ help: a trait with a similar name exists: `Component` [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Component: Lifecycle { [INFO] [stdout] | ------------------------------ similarly named trait `Component` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ComponentOf` in this scope [INFO] [stdout] --> src/lib.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | impl ComponentOf for Button { [INFO] [stdout] | ^^^^^^^^^^^ help: a trait with a similar name exists: `Component` [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Component: Lifecycle { [INFO] [stdout] | ------------------------------ similarly named trait `Component` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ComponentOf` in this scope [INFO] [stdout] --> src/lib.rs:571:14 [INFO] [stdout] | [INFO] [stdout] 571 | impl ComponentOf for Div { [INFO] [stdout] | ^^^^^^^^^^^ help: a trait with a similar name exists: `Component` [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Component: Lifecycle { [INFO] [stdout] | ------------------------------ similarly named trait `Component` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | $crate::h($crate::li($n)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 234 | let node = h!(vec list); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `h` (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/vcomponent.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | instance: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | instance: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vcomponent.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vcomponent.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `update` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | fn update(&mut self, props: Self::Props) {} [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/traits.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&self, props: Self::Props); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected signature `fn(&test::should_create_a_component::ButtonComponent, ())` [INFO] [stdout] found signature `fn(&mut test::should_create_a_component::ButtonComponent, ())` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 396 - fn update(&mut self, props: Self::Props) {} [INFO] [stdout] 396 + fn update(&self, props: Self::Props) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `eq_props` [INFO] [stdout] --> src/lib.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | impl Component for ButtonComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `eq_props` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq_props(&self, rhs: &Self::Props) -> bool; [INFO] [stdout] | ---------------------------------------------- `eq_props` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:501:37 [INFO] [stdout] | [INFO] [stdout] 501 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 501 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `update` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | fn update(&mut self, props: Self::Props) {} [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/traits.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&self, props: Self::Props); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected signature `fn(&test::should_print_html_for_component::ButtonComponent, ())` [INFO] [stdout] found signature `fn(&mut test::should_print_html_for_component::ButtonComponent, ())` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 506 - fn update(&mut self, props: Self::Props) {} [INFO] [stdout] 506 + fn update(&self, props: Self::Props) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `eq_props` [INFO] [stdout] --> src/lib.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | impl Component for ButtonComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `eq_props` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq_props(&self, rhs: &Self::Props) -> bool; [INFO] [stdout] | ---------------------------------------------- `eq_props` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:545:37 [INFO] [stdout] | [INFO] [stdout] 545 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 545 | fn create(_: (), _: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `update` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:550:23 [INFO] [stdout] | [INFO] [stdout] 550 | fn update(&mut self, props: Self::Props) {} [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/traits.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&self, props: Self::Props); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected signature `fn(&test::should_print_html_for_nested_components::ButtonComponent, ())` [INFO] [stdout] found signature `fn(&mut test::should_print_html_for_nested_components::ButtonComponent, ())` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 550 - fn update(&mut self, props: Self::Props) {} [INFO] [stdout] 550 + fn update(&self, props: Self::Props) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `eq_props` [INFO] [stdout] --> src/lib.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | impl Component for ButtonComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `eq_props` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq_props(&self, rhs: &Self::Props) -> bool; [INFO] [stdout] | ---------------------------------------------- `eq_props` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:582:36 [INFO] [stdout] | [INFO] [stdout] 582 | fn create(_:(), _: Box) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 582 | fn create(_:(), _: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `update` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:587:23 [INFO] [stdout] | [INFO] [stdout] 587 | fn update(&mut self, props: Self::Props) {} [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/traits.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&self, props: Self::Props); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected signature `fn(&DivComponent, ())` [INFO] [stdout] found signature `fn(&mut DivComponent, ())` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 587 - fn update(&mut self, props: Self::Props) {} [INFO] [stdout] 587 + fn update(&self, props: Self::Props) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `eq_props` [INFO] [stdout] --> src/lib.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | impl Component for DivComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `eq_props` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq_props(&self, rhs: &Self::Props) -> bool; [INFO] [stdout] | ---------------------------------------------- `eq_props` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0405, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `papito_dom` (lib test) due to 18 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "49ce04d539bf93506621f9a78a9a69ff03c509669a544947b4e67c98f2775620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ce04d539bf93506621f9a78a9a69ff03c509669a544947b4e67c98f2775620", kill_on_drop: false }` [INFO] [stdout] 49ce04d539bf93506621f9a78a9a69ff03c509669a544947b4e67c98f2775620