[INFO] fetching crate dioxus-history 0.7.1... [INFO] testing dioxus-history-0.7.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dioxus-history 0.7.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate dioxus-history 0.7.1 [INFO] finished tweaking crates.io crate dioxus-history 0.7.1 [INFO] tweaked toml for crates.io crate dioxus-history 0.7.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-history 0.7.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-history 0.7.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generational-box v0.7.1 [INFO] [stderr] Downloaded subsecond v0.7.1 [INFO] [stderr] Downloaded subsecond-types v0.7.1 [INFO] [stderr] Downloaded serde_derive v1.0.221 [INFO] [stderr] Downloaded dioxus-core-types v0.7.1 [INFO] [stderr] Downloaded memmap2 v0.9.9 [INFO] [stderr] Downloaded serde_core v1.0.221 [INFO] [stderr] Downloaded serde v1.0.221 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded const_format v0.2.35 [INFO] [stderr] Downloaded dioxus-core v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3833b5de845a153b9f456d4bf1fc80a80b35e837e77f084306c4c33a991d396e [INFO] running `Command { std: "docker" "start" "-a" "3833b5de845a153b9f456d4bf1fc80a80b35e837e77f084306c4c33a991d396e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3833b5de845a153b9f456d4bf1fc80a80b35e837e77f084306c4c33a991d396e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3833b5de845a153b9f456d4bf1fc80a80b35e837e77f084306c4c33a991d396e", kill_on_drop: false }` [INFO] [stdout] 3833b5de845a153b9f456d4bf1fc80a80b35e837e77f084306c4c33a991d396e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 393c3285ece7597c7f1276bf886bd5d0d6b01509f8078dea6d549b153e56a67b [INFO] running `Command { std: "docker" "start" "-a" "393c3285ece7597c7f1276bf886bd5d0d6b01509f8078dea6d549b153e56a67b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling serde_core v1.0.221 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling dioxus-core-types v0.7.1 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling serde_derive v1.0.221 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [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.1 [INFO] [stderr] Compiling subsecond-types v0.7.1 [INFO] [stderr] Compiling subsecond v0.7.1 [INFO] [stderr] Compiling dioxus-core v0.7.1 [INFO] [stderr] Compiling dioxus-history v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.30s [INFO] running `Command { std: "docker" "inspect" "393c3285ece7597c7f1276bf886bd5d0d6b01509f8078dea6d549b153e56a67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393c3285ece7597c7f1276bf886bd5d0d6b01509f8078dea6d549b153e56a67b", kill_on_drop: false }` [INFO] [stdout] 393c3285ece7597c7f1276bf886bd5d0d6b01509f8078dea6d549b153e56a67b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccb498e6e79f2e5a1cc3417ae6a00efa2c6e252bc18396aa81f116083cbdb93d [INFO] running `Command { std: "docker" "start" "-a" "ccb498e6e79f2e5a1cc3417ae6a00efa2c6e252bc18396aa81f116083cbdb93d", kill_on_drop: false }` [INFO] [stderr] Compiling dioxus-history v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "ccb498e6e79f2e5a1cc3417ae6a00efa2c6e252bc18396aa81f116083cbdb93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb498e6e79f2e5a1cc3417ae6a00efa2c6e252bc18396aa81f116083cbdb93d", kill_on_drop: false }` [INFO] [stdout] ccb498e6e79f2e5a1cc3417ae6a00efa2c6e252bc18396aa81f116083cbdb93d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17ffc6b563d5272dcc212a71f6332b01a77fc656ce39dae65296f2d2e9682f4f [INFO] running `Command { std: "docker" "start" "-a" "17ffc6b563d5272dcc212a71f6332b01a77fc656ce39dae65296f2d2e9682f4f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dioxus_history-c670b44e6d536859) [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/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_back (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - History::can_go_forward (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - History::current_route (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - History::push (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - History::replace (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - History::go_forward (line 156) ... FAILED [INFO] [stdout] test src/memory.rs - memory::MemoryHistory::with_prefix (line 59) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 28 | 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] 29 | #[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] 31 | #[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] 33 | #[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] 35 | #[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] 37 | #[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] 30 | 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] 25 + 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] 30 | 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] 25 + 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] 32 | 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] 25 + 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] 32 | 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] 25 + 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] 41 | 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] 34 | 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] 42 | 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] 25 + 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] 34 | 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] 42 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 43 | 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] 25 + use crate::dioxus_history::History; [INFO] [stdout] | [INFO] [stdout] help: there is a method `go_back` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - assert_eq!(history.can_go_back(), false); [INFO] [stdout] 43 + 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] 66 | 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] 67 | #[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] 70 | #[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] 72 | #[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] 74 | #[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] 68 | 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] 65 + 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] 68 | 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] 65 + 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] 69 | 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] 65 + 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] 69 | 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] 65 + 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] 77 | 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] 65 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 77 + 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] 71 | 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] 80 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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_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] 94 | 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] 95 | #[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] 97 | #[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] 99 | #[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] 101 | #[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] 103 | #[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] 96 | 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] 93 + 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] 96 | 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] 93 + 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] 98 | 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] 93 + 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] 98 | 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] 93 + 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] 106 | 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] 93 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 106 + 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] 100 | 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] 112 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 125 | 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] 126 | #[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] 128 | #[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] 130 | #[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] 132 | #[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] 134 | #[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] 127 | 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] 124 + 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] 127 | 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] 124 + 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] 129 | 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] 124 + 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] 129 | 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] 124 + 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] 137 | 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] 124 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 137 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 137 + 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] 131 | 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] 140 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 29 | 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] 30 | #[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] 32 | #[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] 34 | #[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] 36 | #[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] 38 | #[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] 31 | 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] 28 + 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] 31 | 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] 28 + 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] 33 | 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] 28 + 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] 33 | 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] 28 + 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] 41 | 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] 28 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 41 + 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] 35 | 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] 44 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 189 | 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] 190 | #[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] 192 | #[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] 194 | #[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] 196 | #[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] 198 | #[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] 191 | 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] 188 + 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] 191 | 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] 188 + 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] 193 | 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] 188 + 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] 193 | 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] 188 + 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] 201 | 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] 188 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 201 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 201 + 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] 195 | 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] 202 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 195 | 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] 204 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 195 | 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] 205 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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::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] 217 | 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] 218 | #[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] 220 | #[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] 222 | #[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] 224 | #[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] 226 | #[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] 219 | 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] 216 + 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] 219 | 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] 216 + 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] 221 | 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] 216 + 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] 221 | 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] 216 + 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] 229 | 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] 216 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 229 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 229 + 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] 223 | 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] 230 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 223 | 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] 232 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 223 | 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] 233 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 157 | 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] 158 | #[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] 160 | #[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] 162 | #[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] 164 | #[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] 166 | #[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] 159 | 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] 156 + 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] 159 | 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] 156 + 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] 161 | 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] 156 + 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] 161 | 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] 156 + 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] 169 | 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] 156 + use dioxus_history::MemoryHistory; [INFO] [stdout] | [INFO] [stdout] help: if you import `MemoryHistory`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 169 - let mut history = dioxus::history::MemoryHistory::default(); [INFO] [stdout] 169 + 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] 163 | 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] 170 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 163 | 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] 171 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 163 | 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] 174 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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] 163 | 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] 177 | 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1007:0 [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.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "17ffc6b563d5272dcc212a71f6332b01a77fc656ce39dae65296f2d2e9682f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ffc6b563d5272dcc212a71f6332b01a77fc656ce39dae65296f2d2e9682f4f", kill_on_drop: false }` [INFO] [stdout] 17ffc6b563d5272dcc212a71f6332b01a77fc656ce39dae65296f2d2e9682f4f