[INFO] fetching crate dioxus-history 0.7.0-rc.0... [INFO] testing dioxus-history-0.7.0-rc.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dioxus-history 0.7.0-rc.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate dioxus-history 0.7.0-rc.0 [INFO] finished tweaking crates.io crate dioxus-history 0.7.0-rc.0 [INFO] tweaked toml for crates.io crate dioxus-history 0.7.0-rc.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-history 0.7.0-rc.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-history 0.7.0-rc.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ba26a3793b4e3f0609f0fb9e0045108a3398eed95e5efdadf1f68190b89e6ea [INFO] running `Command { std: "docker" "start" "-a" "7ba26a3793b4e3f0609f0fb9e0045108a3398eed95e5efdadf1f68190b89e6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ba26a3793b4e3f0609f0fb9e0045108a3398eed95e5efdadf1f68190b89e6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba26a3793b4e3f0609f0fb9e0045108a3398eed95e5efdadf1f68190b89e6ea", kill_on_drop: false }` [INFO] [stdout] 7ba26a3793b4e3f0609f0fb9e0045108a3398eed95e5efdadf1f68190b89e6ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6810c2d95a0381dfe75f24c8cb96cd0915ddec2d7153f7dbbafa6aa11a9459d [INFO] running `Command { std: "docker" "start" "-a" "b6810c2d95a0381dfe75f24c8cb96cd0915ddec2d7153f7dbbafa6aa11a9459d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling dioxus-core-types v0.7.0-rc.0 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling generational-box v0.7.0-rc.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subsecond-types v0.7.0-rc.0 [INFO] [stderr] Compiling subsecond v0.7.0-rc.0 [INFO] [stderr] Compiling dioxus-core v0.7.0-rc.0 [INFO] [stderr] Compiling dioxus-history v0.7.0-rc.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.80s [INFO] running `Command { std: "docker" "inspect" "b6810c2d95a0381dfe75f24c8cb96cd0915ddec2d7153f7dbbafa6aa11a9459d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6810c2d95a0381dfe75f24c8cb96cd0915ddec2d7153f7dbbafa6aa11a9459d", kill_on_drop: false }` [INFO] [stdout] b6810c2d95a0381dfe75f24c8cb96cd0915ddec2d7153f7dbbafa6aa11a9459d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaee109a368d0ab66869ee1689f9b60dc36df315205fbcecff30b98c00edfbbc [INFO] running `Command { std: "docker" "start" "-a" "eaee109a368d0ab66869ee1689f9b60dc36df315205fbcecff30b98c00edfbbc", kill_on_drop: false }` [INFO] [stderr] Compiling dioxus-history v0.7.0-rc.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "eaee109a368d0ab66869ee1689f9b60dc36df315205fbcecff30b98c00edfbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaee109a368d0ab66869ee1689f9b60dc36df315205fbcecff30b98c00edfbbc", kill_on_drop: false }` [INFO] [stdout] eaee109a368d0ab66869ee1689f9b60dc36df315205fbcecff30b98c00edfbbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6d7e460bd511822a6c7fe8fe759991c64672b545042da3ef67dd9c566e454cd [INFO] running `Command { std: "docker" "start" "-a" "f6d7e460bd511822a6c7fe8fe759991c64672b545042da3ef67dd9c566e454cd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dioxus_history-e4b3d0b8f5b4a280) [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::current_route (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - History::replace (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - History::can_go_forward (line 124) ... FAILED [INFO] [stdout] test src/memory.rs - memory::MemoryHistory::with_prefix (line 59) ... ok [INFO] [stdout] test src/lib.rs - History::push (line 188) ... FAILED [INFO] [stdout] test src/memory.rs - memory::MemoryHistory::with_initial_path (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - History::can_go_back (line 65) ... FAILED [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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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::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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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::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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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::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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/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] | ------------------------------------------------ ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Route` [INFO] [stdout] --> src/memory.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Route { [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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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] [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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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] [stderr] error: doctest failed, to rerun pass `--doc` [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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006: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.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6d7e460bd511822a6c7fe8fe759991c64672b545042da3ef67dd9c566e454cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d7e460bd511822a6c7fe8fe759991c64672b545042da3ef67dd9c566e454cd", kill_on_drop: false }` [INFO] [stdout] f6d7e460bd511822a6c7fe8fe759991c64672b545042da3ef67dd9c566e454cd