[INFO] cloning repository https://github.com/csharad/papito [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csharad/papito" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsharad%2Fpapito", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsharad%2Fpapito'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09beb223bf00cf303568c298346023858a62def6 [INFO] checking csharad/papito/09beb223bf00cf303568c298346023858a62def6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsharad%2Fpapito" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csharad/papito 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 git repo https://github.com/csharad/papito [INFO] finished tweaking git repo https://github.com/csharad/papito [INFO] tweaked toml for git repo https://github.com/csharad/papito written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/csharad/papito already has a lockfile, it will not be regenerated [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: /workspace/builds/worker-0-tc1/source/papito_codegen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/papito/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/papito_dom/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Updating papito v0.1.0 -> v0.1.1 [INFO] [stderr] Updating papito_dom v0.1.0 -> v0.1.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded stdweb-internal-macros v0.1.0 [INFO] [stderr] Downloaded syn v0.12.14 [INFO] [stderr] Downloaded papito v0.1.1 [INFO] [stderr] Downloaded stdweb-derive v0.4.0 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded num-traits v0.2.1 [INFO] [stderr] Downloaded base-x v0.2.2 [INFO] [stderr] Downloaded serde_derive_internals v0.21.0 [INFO] [stderr] Downloaded indexmap v1.0.0 [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded serde v1.0.33 [INFO] [stderr] Downloaded futures v0.1.18 [INFO] [stderr] Downloaded stdweb v0.4.2 [INFO] [stderr] Downloaded serde_json v1.0.11 [INFO] [stderr] Downloaded papito_dom v0.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25436f1ea5d14fe910df15983a8f168f245aed808271ad67cbc0d1dc00a257c1 [INFO] running `Command { std: "docker" "start" "-a" "25436f1ea5d14fe910df15983a8f168f245aed808271ad67cbc0d1dc00a257c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25436f1ea5d14fe910df15983a8f168f245aed808271ad67cbc0d1dc00a257c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25436f1ea5d14fe910df15983a8f168f245aed808271ad67cbc0d1dc00a257c1", kill_on_drop: false }` [INFO] [stdout] 25436f1ea5d14fe910df15983a8f168f245aed808271ad67cbc0d1dc00a257c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bd28511c18d03e8e5fe3e18d537389803a376f6438c388ded3926afd9f436c6 [INFO] running `Command { std: "docker" "start" "-a" "8bd28511c18d03e8e5fe3e18d537389803a376f6438c388ded3926afd9f436c6", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/papito/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/papito_codegen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/papito_dom/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling stdweb v0.4.2 [INFO] [stderr] Checking num-traits v0.2.1 [INFO] [stderr] Checking serde v1.0.33 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking indexmap v1.0.0 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking heck v0.3.0 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking syn v0.12.14 [INFO] [stderr] Checking serde_json v1.0.11 [INFO] [stderr] Checking papito_codegen v0.1.1 (/opt/rustwide/workdir/papito_codegen) [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> papito_codegen/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive_internals v0.21.0 [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> papito_codegen/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.33 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] Checking papito_dom v0.1.1 [INFO] [stderr] Checking papito_dom v0.1.1 (/opt/rustwide/workdir/papito_dom) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] error[E0407]: method `props` is not a member of trait `Component` [INFO] [stdout] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] ::: papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] ::: papito_dom/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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] --> papito_dom/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] ::: papito_dom/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] Checking papito v0.1.1 (/opt/rustwide/workdir/papito) [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: unused import: `std::ops::Deref` [INFO] [stdout] --> papito/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> papito/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vdom` is never read [INFO] [stdout] --> papito/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | vdom: VNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vdom` is never read [INFO] [stdout] --> papito/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 19 | vdom: VNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8bd28511c18d03e8e5fe3e18d537389803a376f6438c388ded3926afd9f436c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd28511c18d03e8e5fe3e18d537389803a376f6438c388ded3926afd9f436c6", kill_on_drop: false }` [INFO] [stdout] 8bd28511c18d03e8e5fe3e18d537389803a376f6438c388ded3926afd9f436c6