[INFO] fetching crate papito_dom 0.1.1... [INFO] testing papito_dom-0.1.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate papito_dom 0.1.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate papito_dom 0.1.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "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 indexmap v1.9.3 (available: v2.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea7bbcc2e2619b1e429230b69c076fa68c617b27843144bb3430d89109e4d6b5 [INFO] running `Command { std: "docker" "start" "-a" "ea7bbcc2e2619b1e429230b69c076fa68c617b27843144bb3430d89109e4d6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea7bbcc2e2619b1e429230b69c076fa68c617b27843144bb3430d89109e4d6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7bbcc2e2619b1e429230b69c076fa68c617b27843144bb3430d89109e4d6b5", kill_on_drop: false }` [INFO] [stdout] ea7bbcc2e2619b1e429230b69c076fa68c617b27843144bb3430d89109e4d6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ed55ca6799ef100aba5a2b33103f88f788f9277415367773ff09c37d83d8f5 [INFO] running `Command { std: "docker" "start" "-a" "69ed55ca6799ef100aba5a2b33103f88f788f9277415367773ff09c37d83d8f5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling discard v1.0.4 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: stdweb v0.4.20 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "69ed55ca6799ef100aba5a2b33103f88f788f9277415367773ff09c37d83d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ed55ca6799ef100aba5a2b33103f88f788f9277415367773ff09c37d83d8f5", kill_on_drop: false }` [INFO] [stdout] 69ed55ca6799ef100aba5a2b33103f88f788f9277415367773ff09c37d83d8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b513227ea6c36dc4b28b5a452077e150961b6f606e6809b1eda6cc1e02f9b210 [INFO] running `Command { std: "docker" "start" "-a" "b513227ea6c36dc4b28b5a452077e150961b6f606e6809b1eda6cc1e02f9b210", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Compiling papito_dom v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(future_incompatible)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 16 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b513227ea6c36dc4b28b5a452077e150961b6f606e6809b1eda6cc1e02f9b210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b513227ea6c36dc4b28b5a452077e150961b6f606e6809b1eda6cc1e02f9b210", kill_on_drop: false }` [INFO] [stdout] b513227ea6c36dc4b28b5a452077e150961b6f606e6809b1eda6cc1e02f9b210