[INFO] fetching crate dioxus-history 0.7.0-rc.1...
[INFO] testing dioxus-history-0.7.0-rc.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate dioxus-history 0.7.0-rc.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate dioxus-history 0.7.0-rc.1
[INFO] finished tweaking crates.io crate dioxus-history 0.7.0-rc.1
[INFO] tweaked toml for crates.io crate dioxus-history 0.7.0-rc.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dioxus-history 0.7.0-rc.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dioxus-history 0.7.0-rc.1 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2a4c4f7891e6042a29d35264411e7121146c6ba11276aa0dd27ee5491edc1a3
[INFO] running `Command { std: "docker" "start" "-a" "d2a4c4f7891e6042a29d35264411e7121146c6ba11276aa0dd27ee5491edc1a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2a4c4f7891e6042a29d35264411e7121146c6ba11276aa0dd27ee5491edc1a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2a4c4f7891e6042a29d35264411e7121146c6ba11276aa0dd27ee5491edc1a3", kill_on_drop: false }`
[INFO] [stdout] d2a4c4f7891e6042a29d35264411e7121146c6ba11276aa0dd27ee5491edc1a3
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c026f68822d384095d69cddec63b51101344b197252cb55ae8f970426d49d25
[INFO] running `Command { std: "docker" "start" "-a" "0c026f68822d384095d69cddec63b51101344b197252cb55ae8f970426d49d25", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.221
[INFO] [stderr]    Compiling serde v1.0.221
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling dioxus-core-types v0.7.0-rc.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling memmap2 v0.9.8
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.221
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling warnings-macro v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling subsecond-types v0.7.0-rc.1
[INFO] [stderr]    Compiling subsecond v0.7.0-rc.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling generational-box v0.7.0-rc.1
[INFO] [stderr]    Compiling warnings v0.2.1
[INFO] [stderr]    Compiling dioxus-core v0.7.0-rc.1
[INFO] [stderr]    Compiling dioxus-history v0.7.0-rc.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "0c026f68822d384095d69cddec63b51101344b197252cb55ae8f970426d49d25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c026f68822d384095d69cddec63b51101344b197252cb55ae8f970426d49d25", kill_on_drop: false }`
[INFO] [stdout] 0c026f68822d384095d69cddec63b51101344b197252cb55ae8f970426d49d25
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b969f4782bab9ec2d3a561790cb3724cc770a7647f05e238ca0422fa45a87fb
[INFO] running `Command { std: "docker" "start" "-a" "3b969f4782bab9ec2d3a561790cb3724cc770a7647f05e238ca0422fa45a87fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling dioxus-history v0.7.0-rc.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "3b969f4782bab9ec2d3a561790cb3724cc770a7647f05e238ca0422fa45a87fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b969f4782bab9ec2d3a561790cb3724cc770a7647f05e238ca0422fa45a87fb", kill_on_drop: false }`
[INFO] [stdout] 3b969f4782bab9ec2d3a561790cb3724cc770a7647f05e238ca0422fa45a87fb
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f17eaf546629911df59b26e10e2d11e663eff237bb7eaa8a302dc63cb5c97e52
[INFO] running `Command { std: "docker" "start" "-a" "f17eaf546629911df59b26e10e2d11e663eff237bb7eaa8a302dc63cb5c97e52", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dioxus_history-970882439f86a7df)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests dioxus_history
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - History::go_back (line 93) ... FAILED
[INFO] [stdout] test src/lib.rs - History::can_go_forward (line 124) ... FAILED
[INFO] [stdout] test src/lib.rs - History::replace (line 216) ... FAILED
[INFO] [stdout] test src/lib.rs - History::current_route (line 28) ... FAILED
[INFO] [stdout] test src/lib.rs - History::can_go_back (line 65) ... FAILED
[INFO] [stdout] test src/memory.rs - memory::MemoryHistory::with_initial_path (line 26) ... FAILED
[INFO] [stdout] test src/lib.rs - History::push (line 188) ... FAILED
[INFO] [stdout] test src/memory.rs - memory::MemoryHistory::with_prefix (line 59) ... ok
[INFO] [stdout] test src/lib.rs - History::go_forward (line 156) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - History::go_back (line 93) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:94:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:95:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:97:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:99:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:101:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:103:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:96:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:96:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:98:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:98:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:106:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:112:34
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 21 | history.push(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                  ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - History::can_go_forward (line 124) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:125:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:126:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:128:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:130:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:132:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:134:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:127:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:127:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:129:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:129:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:137:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:140:34
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 18 | history.push(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                  ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - History::replace (line 216) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:217:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:218:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:220:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:222:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:224:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:226:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:219:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:219:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:221:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:221:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:229:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:230:53
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 16 | assert_eq!(history.current_route(), Route::Index {}.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:232:37
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 18 | history.replace(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                     ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:233:57
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 19 | assert_eq!(history.current_route(), Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                                         ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - History::current_route (line 28) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:29:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:30:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:32:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:34:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:31:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:31:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:33:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:33:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 18 | history.push(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                  ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - History::can_go_back (line 65) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:66:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:67:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:70:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]  --> src/lib.rs:72:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[route("/")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[route("/other")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:68:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:68:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:69:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn Other() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:69:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn Other() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 14 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 14 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 8  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 17 | history.push(Route::Other {}.to_string());
[INFO] [stdout]    |                              ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/memory.rs - memory::MemoryHistory::with_initial_path (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/memory.rs:28:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/memory.rs:29:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/memory.rs:31:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]   --> src/memory.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/memory.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/memory.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/memory.rs:30:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/memory.rs:30:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/memory.rs:32:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/memory.rs:32:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Route: ToString` is not satisfied
[INFO] [stdout]   --> src/memory.rs:41:68
[INFO] [stdout]    |
[INFO] [stdout] 18 | let mut history = dioxus_history::MemoryHistory::with_initial_path(Route::Index {});
[INFO] [stdout]    |                   ------------------------------------------------ ^^^^^^^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `Route`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `Route` to implement `ToString`
[INFO] [stdout] note: required by a bound in `MemoryHistory::with_initial_path`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/memory.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn with_initial_path(path: impl ToString) -> Self {
[INFO] [stdout]    |                                         ^^^^^^^^ required by this bound in `MemoryHistory::with_initial_path`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `current_route` found for struct `MemoryHistory` in the current scope
[INFO] [stdout]   --> src/memory.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(history.current_route(), Route::Index {}.to_string());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ method not found in `MemoryHistory`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/lib.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn current_route(&self) -> String;
[INFO] [stdout]    |        ------------- the method is available for `MemoryHistory` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `History` which provides `current_route` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::dioxus_history::History;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/memory.rs:42:53
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 19 | assert_eq!(history.current_route(), Route::Index {}.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `can_go_back` found for struct `MemoryHistory` in the current scope
[INFO] [stdout]   --> src/memory.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | assert_eq!(history.can_go_back(), false);
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/lib.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn can_go_back(&self) -> bool {
[INFO] [stdout]    |        ----------- the method is available for `MemoryHistory` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `History` which provides `can_go_back` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crate::dioxus_history::History;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `go_back` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 - assert_eq!(history.can_go_back(), false);
[INFO] [stdout] 20 + assert_eq!(history.go_back(), false);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] ---- src/lib.rs - History::push (line 188) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:190:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:192:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:194:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:196:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:198:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:191:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:191:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:193:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:193:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:201:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:202:53
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 16 | assert_eq!(history.current_route(), Route::Index {}.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:204:34
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 18 | history.push(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                  ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:205:57
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 19 | assert_eq!(history.current_route(), Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                                         ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - History::go_forward (line 156) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]  --> src/lib.rs:157:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dioxus::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:158:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `component` in this scope
[INFO] [stdout]  --> src/lib.rs:160:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[component]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Routable` in this scope
[INFO] [stdout]  --> src/lib.rs:162:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Clone, Routable, Debug, PartialEq)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:164:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[route("/")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]   --> src/lib.rs:166:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[route("/some-other-page")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:159:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:159:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn Index() -> Element { VNode::empty() }
[INFO] [stdout]   |                         ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Element` in this scope
[INFO] [stdout]  --> src/lib.rs:161:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                   ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::Element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode`
[INFO] [stdout]  --> src/lib.rs:161:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn OtherPage() -> Element { VNode::empty() }
[INFO] [stdout]   |                             ^^^^^ use of undeclared type `VNode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dioxus_core::VNode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]   --> src/lib.rs:169:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout]    |                   ^^^^^^ use of unresolved module or unlinked crate `dioxus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dioxus_history::MemoryHistory;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let mut history = dioxus::history::MemoryHistory::default();
[INFO] [stdout] 15 + let mut history = MemoryHistory::default();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:170:34
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 16 | history.push(Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                  ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:171:57
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 17 | assert_eq!(history.current_route(), Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                                         ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:174:53
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 20 | assert_eq!(history.current_route(), Route::Index {}.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Route` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:177:57
[INFO] [stdout]    |
[INFO] [stdout] 9  | enum Route {
[INFO] [stdout]    | ---------- method `to_string` not found for this enum because it doesn't satisfy `Route: ToString` or `Route: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 23 | assert_eq!(history.current_route(), Route::OtherPage {}.to_string());
[INFO] [stdout]    |                                                         ^^^^^^^^^ method cannot be called on `Route` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Route: std::fmt::Display`
[INFO] [stdout]            which is required by `Route: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1003:1
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `to_string`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToString`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - History::can_go_back (line 65)
[INFO] [stdout]     src/lib.rs - History::can_go_forward (line 124)
[INFO] [stdout]     src/lib.rs - History::current_route (line 28)
[INFO] [stdout]     src/lib.rs - History::go_back (line 93)
[INFO] [stdout]     src/lib.rs - History::go_forward (line 156)
[INFO] [stdout]     src/lib.rs - History::push (line 188)
[INFO] [stdout]     src/lib.rs - History::replace (line 216)
[INFO] [stdout]     src/memory.rs - memory::MemoryHistory::with_initial_path (line 26)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f17eaf546629911df59b26e10e2d11e663eff237bb7eaa8a302dc63cb5c97e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f17eaf546629911df59b26e10e2d11e663eff237bb7eaa8a302dc63cb5c97e52", kill_on_drop: false }`
[INFO] [stdout] f17eaf546629911df59b26e10e2d11e663eff237bb7eaa8a302dc63cb5c97e52
