[INFO] fetching crate papito_dom 0.1.1... [INFO] checking papito_dom-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate papito_dom 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate papito_dom 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ead5f282cf6fb7bc7314da7c5b584b1f6fc230b80cb078272c896f2cc4d063e1 [INFO] running `Command { std: "docker" "start" "-a" "ead5f282cf6fb7bc7314da7c5b584b1f6fc230b80cb078272c896f2cc4d063e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ead5f282cf6fb7bc7314da7c5b584b1f6fc230b80cb078272c896f2cc4d063e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead5f282cf6fb7bc7314da7c5b584b1f6fc230b80cb078272c896f2cc4d063e1", kill_on_drop: false }` [INFO] [stdout] ead5f282cf6fb7bc7314da7c5b584b1f6fc230b80cb078272c896f2cc4d063e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7856549dd2c8350553ed60af45019455ac498d312eee6c2ea2547c195a03bdef [INFO] running `Command { std: "docker" "start" "-a" "7856549dd2c8350553ed60af45019455ac498d312eee6c2ea2547c195a03bdef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | initializer: Box Box>, [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] warning: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [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 an object-safe 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: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 an object-safe 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: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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn create(props: Self::Props, notifier: Box) -> Self; [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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 | 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: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(&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 an object-safe 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(&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 an object-safe 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(&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 an object-safe 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(&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] error: aborting due to 16 previous errors; 11 warnings emitted [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 17 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7856549dd2c8350553ed60af45019455ac498d312eee6c2ea2547c195a03bdef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7856549dd2c8350553ed60af45019455ac498d312eee6c2ea2547c195a03bdef", kill_on_drop: false }` [INFO] [stdout] 7856549dd2c8350553ed60af45019455ac498d312eee6c2ea2547c195a03bdef