[INFO] crate seed 0.7.0 is already in cache [INFO] testing seed-0.7.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate seed 0.7.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate seed 0.7.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate seed 0.7.0 [INFO] finished tweaking crates.io crate seed 0.7.0 [INFO] tweaked toml for crates.io crate seed 0.7.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7ec5c74fe58aba2fdd44ed20f89a8b550ea09a6e64cf1e8880ea6ba75598179f [INFO] running `"docker" "start" "-a" "7ec5c74fe58aba2fdd44ed20f89a8b550ea09a6e64cf1e8880ea6ba75598179f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Compiling enclose v1.1.8 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling seed v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling dbg v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.40 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.40 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.13 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `"docker" "inspect" "7ec5c74fe58aba2fdd44ed20f89a8b550ea09a6e64cf1e8880ea6ba75598179f"` [INFO] running `"docker" "rm" "-f" "7ec5c74fe58aba2fdd44ed20f89a8b550ea09a6e64cf1e8880ea6ba75598179f"` [INFO] [stdout] 7ec5c74fe58aba2fdd44ed20f89a8b550ea09a6e64cf1e8880ea6ba75598179f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 20cb61e081c24a249d5f9fb137fb2a6bc8c5381c956adbafa9816c94bd98a39f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "20cb61e081c24a249d5f9fb137fb2a6bc8c5381c956adbafa9816c94bd98a39f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.13 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.13 [INFO] [stderr] Compiling seed v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.55s [INFO] running `"docker" "inspect" "20cb61e081c24a249d5f9fb137fb2a6bc8c5381c956adbafa9816c94bd98a39f"` [INFO] running `"docker" "rm" "-f" "20cb61e081c24a249d5f9fb137fb2a6bc8c5381c956adbafa9816c94bd98a39f"` [INFO] [stdout] 20cb61e081c24a249d5f9fb137fb2a6bc8c5381c956adbafa9816c94bd98a39f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 887f4b5e89199ec2d2d52bf08a50d1fb57687ef418c77033d4661f07a2c102a0 [INFO] running `"docker" "start" "-a" "887f4b5e89199ec2d2d52bf08a50d1fb57687ef418c77033d4661f07a2c102a0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/seed-fc608a9de49dcfb2 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests seed [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::proxy (line 25) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::notify (line 53) ... FAILED [INFO] [stdout] test src/app/builder/before_mount.rs - app::builder::before_mount::BeforeMount::mount_point (line 81) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::send_msg (line 68) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::msg_mapper (line 146) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::routes (line 512) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::perform_cmd_with_handle (line 105) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::window_events (line 526) ... FAILED [INFO] [stdout] test src/app/cmds.rs - app::cmds::timeout (line 15) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::mount (line 413) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::sink (line 544) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::before_mount (line 452) ... FAILED [INFO] [stdout] test src/app/builder.rs - app::builder::Builder::after_mount (line 481) ... FAILED [INFO] [stdout] test src/app/subs.rs - app::subs::UrlChanged (line 15) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::perform_cmd (line 81) ... FAILED [INFO] [stdout] test src/app.rs - app::App::builder (line 216) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::stream (line 241) ... FAILED [INFO] [stdout] test src/app.rs - app::App::start (line 111) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::subscribe_with_handle (line 215) ... FAILED [INFO] [stdout] test src/browser/fetch/request.rs - browser::fetch::request::Request::controller (line 168) ... FAILED [INFO] [stdout] test src/app/streams.rs - app::streams::backoff (line 51) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::subscribe (line 184) ... FAILED [INFO] [stdout] test src/app/orders.rs - app::orders::Orders::stream_with_handle (line 263) ... FAILED [INFO] [stdout] test src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 64) ... FAILED [INFO] [stdout] test src/browser/fetch.rs - browser::fetch::fetch (line 62) ... FAILED [INFO] [stdout] test src/app/streams.rs - app::streams::interval (line 22) ... FAILED [INFO] [stdout] test src/app/streams.rs - app::streams::document_event (line 99) ... FAILED [INFO] [stdout] test src/browser/fetch.rs - browser::fetch (line 14) ... FAILED [INFO] [stdout] test src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 71) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::decode_uri_component (line 394) ... FAILED [INFO] [stdout] test src/browser/fetch.rs - browser::fetch (line 20) ... FAILED [INFO] [stdout] test src/app/streams.rs - app::streams::window_event (line 75) ... FAILED [INFO] [stdout] test src/app/subs/url_requested.rs - app::subs::url_requested::UrlRequested (line 19) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::set_path (line 209) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::set_hash (line 256) ... FAILED [INFO] [stdout] test src/browser/service/fetch.rs - browser::service::fetch::Request::controller (line 412) ... FAILED [INFO] [stdout] test src/browser/fetch/request.rs - browser::fetch::request::Request::fetch (line 180) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::set_search (line 273) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::add_hash_path_part (line 183) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::set_hash_path (line 232) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::UrlSearch::new (line 568) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::next_hash_path_part (line 99) ... FAILED [INFO] [stdout] test src/browser/fetch.rs - browser::fetch (line 9) ... FAILED [INFO] [stdout] test src/browser/fetch.rs - browser::fetch::fetch (line 56) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::add_path_part (line 170) ... FAILED [INFO] [stdout] test src/browser/service/fetch.rs - browser::service::fetch::Request::fetch (line 442) ... FAILED [INFO] [stdout] test src/shortcuts.rs - IF (line 353) ... FAILED [INFO] [stdout] test src/shortcuts.rs - nodes (line 408) ... FAILED [INFO] [stdout] test src/helpers.rs - helpers::not (line 8) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::remaining_hash_path_parts (line 144) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::remaining_path_parts (line 118) ... FAILED [INFO] [stdout] test src/shortcuts.rs - C (line 317) ... FAILED [INFO] [stdout] test src/virtual_dom/values.rs - virtual_dom::values::AtValue (line 74) ... FAILED [INFO] [stdout] test src/virtual_dom/values.rs - virtual_dom::values::CSSValue (line 8) ... FAILED [INFO] [stdout] test src/browser/url.rs - browser::url::Url::next_path_part (line 80) ... FAILED [INFO] [stdout] test src/browser/web_socket.rs - browser::web_socket::WebSocket::builder (line 89) ... FAILED [INFO] [stdout] test src/browser/web_socket/builder.rs - browser::web_socket::builder::Builder (line 26) ... FAILED [INFO] [stdout] test src/browser/web_socket.rs - browser::web_socket::WebSocket (line 68) ... FAILED [INFO] [stdout] test src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef::map_type (line 97) ... FAILED [INFO] [stdout] test src/shortcuts.rs - struct_urls (line 21) ... FAILED [INFO] [stdout] test src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::proxy (line 25) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/app/orders.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 3 | Msg::Child(child_msg) => { [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::notify (line 53) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/orders.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/orders.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 7 | orders.subscribe(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `counter` [INFO] [stdout] --> src/app/orders.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `counter` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 6 | orders.subscribe(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.notify("Hello!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 6 | orders.subscribe(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 7 | orders.subscribe(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder/before_mount.rs - app::builder::before_mount::BeforeMount::mount_point (line 81) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `mount_point` [INFO] [stdout] --> src/app/builder/before_mount.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 5 | mount_point("another_id") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] ... [INFO] [stdout] 16 | mount_point(seed::body()) [INFO] [stdout] | ^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::send_msg (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 3 | orders.msg(Msg::Increment); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.msg(Msg::Increment); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::msg_mapper (line 146) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 4 | app.update(msg_mapper(Msg::AMessage)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 3 | let (app, msg_mapper) = (orders.clone_app(), orders.msg_mapper()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 3 | let (app, msg_mapper) = (orders.clone_app(), orders.msg_mapper()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::routes (line 512) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/builder.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 4 | Some(Msg::UrlChanged(url)) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/app/builder.rs:513:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn routes(url: Url) -> Option { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app/builder.rs:513:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn routes(url: Url) -> Option { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn routes(url: Url) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn routes(url: Url) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::perform_cmd_with_handle (line 105) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/orders.rs:107:57 [INFO] [stdout] | [INFO] [stdout] 4 | let cmd_handle = orders.perform_cmd_with_handle(async { log!("Hello!") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmds` [INFO] [stdout] --> src/app/orders.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 3 | let timeout_handle = orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^ use of undeclared type or module `cmds` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:106:76 [INFO] [stdout] | [INFO] [stdout] 3 | let timeout_handle = orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 3 | let timeout_handle = orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 4 | let cmd_handle = orders.perform_cmd_with_handle(async { log!("Hello!") }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::window_events (line 526) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/builder.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 4 | vec![keyboard_ev(Ev::KeyDown, Msg::KeyPressed)] [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/builder.rs:528:34 [INFO] [stdout] | [INFO] [stdout] 4 | vec![keyboard_ev(Ev::KeyDown, Msg::KeyPressed)] [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app/builder.rs:527:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn window_events(_model: &Model) -> Vec> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Listener` in this scope [INFO] [stdout] --> src/app/builder.rs:527:41 [INFO] [stdout] | [INFO] [stdout] 3 | fn window_events(_model: &Model) -> Vec> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::Listener; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::event_handler_manager::Listener; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::event_handler_manager::listener::Listener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app/builder.rs:527:50 [INFO] [stdout] | [INFO] [stdout] 3 | fn window_events(_model: &Model) -> Vec> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn window_events(_model: &Model) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn window_events(_model: &Model) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyboard_ev` in this scope [INFO] [stdout] --> src/app/builder.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 4 | vec![keyboard_ev(Ev::KeyDown, Msg::KeyPressed)] [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::dom::event_handler::keyboard_ev; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::keyboard_ev; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/cmds.rs - app::cmds::timeout (line 15) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/cmds.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 4 | orders.perform_cmd(cmds::timeout(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmds` [INFO] [stdout] --> src/app/cmds.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^ use of undeclared type or module `cmds` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/cmds.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmds` [INFO] [stdout] --> src/app/cmds.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 4 | orders.perform_cmd(cmds::timeout(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^^ use of undeclared type or module `cmds` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/cmds.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd_with_handle(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/cmds.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.perform_cmd(cmds::timeout(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::mount (line 413) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `mount` [INFO] [stdout] --> src/app/builder.rs:420:1 [INFO] [stdout] | [INFO] [stdout] 5 | mount("another_id") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] ... [INFO] [stdout] 10 | mount(seed::body()) [INFO] [stdout] | ^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::sink (line 544) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/builder.rs:547:26 [INFO] [stdout] | [INFO] [stdout] 5 | GMsg::SayHello => log!("Hello!"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GMsg` [INFO] [stdout] --> src/app/builder.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 5 | GMsg::SayHello => log!("Hello!"), [INFO] [stdout] | ^^^^ use of undeclared type or module `GMsg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GMsg` in this scope [INFO] [stdout] --> src/app/builder.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::GMsg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: seed::app::Effect, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app/builder.rs:545:35 [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/app/builder.rs:545:61 [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app/builder.rs:545:68 [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GMsg` in this scope [INFO] [stdout] --> src/app/builder.rs:545:73 [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::GMsg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn sink(g_msg: GMsg, _model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::before_mount (line 452) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BeforeMount` [INFO] [stdout] --> src/app/builder.rs:454:4 [INFO] [stdout] | [INFO] [stdout] 4 | BeforeMount::new() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BeforeMount` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MountType` [INFO] [stdout] --> src/app/builder.rs:456:20 [INFO] [stdout] | [INFO] [stdout] 6 | .mount_type(MountType::Takeover) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `MountType` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/app/builder.rs:453:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn before_mount(_url: Url) -> BeforeMount { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BeforeMount` in this scope [INFO] [stdout] --> src/app/builder.rs:453:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn before_mount(_url: Url) -> BeforeMount { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::BeforeMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::BeforeMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::before_mount::BeforeMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::BeforeMount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/builder.rs - app::builder::Builder::after_mount (line 481) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AfterMount` [INFO] [stdout] --> src/app/builder.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 5 | AfterMount::new(model).url_handling(UrlHandling::None) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `AfterMount` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UrlHandling` [INFO] [stdout] --> src/app/builder.rs:484:40 [INFO] [stdout] | [INFO] [stdout] 5 | AfterMount::new(model).url_handling(UrlHandling::None) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `UrlHandling` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/app/builder.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/app/builder.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app/builder.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GMsg` in this scope [INFO] [stdout] --> src/app/builder.rs:482:58 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::GMsg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AfterMount` in this scope [INFO] [stdout] --> src/app/builder.rs:482:68 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::after_mount::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::AfterMount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app/builder.rs:482:79 [INFO] [stdout] | [INFO] [stdout] 3 | fn after_mount(_url: Url, _orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Model` in this scope [INFO] [stdout] --> src/app/builder.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 4 | let model = Model { clicks: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/subs.rs - app::subs::UrlChanged (line 15) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/subs.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/subs.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 5 | update(... Msg::UrlChanged(subs::UrlChanged(url)) => [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 | update(.. Msg::UrlChanged(subs::UrlChanged(url)) => [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 | update(..= Msg::UrlChanged(subs::UrlChanged(url)) => [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `=>` [INFO] [stdout] --> src/app/subs.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 5 | update(... Msg::UrlChanged(subs::UrlChanged(url)) => [INFO] [stdout] | - -^^ [INFO] [stdout] | | | [INFO] [stdout] | unclosed delimiter help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::perform_cmd (line 81) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/orders.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 4 | orders.perform_cmd(async { log!("Hello!") }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmds` [INFO] [stdout] --> src/app/orders.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^ use of undeclared type or module `cmds` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd(cmds::timeout(2000, || Msg::OnTimeout)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.perform_cmd(async { log!("Hello!") }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::App::builder (line 216) stdout ---- [INFO] [stdout] error: cannot find macro `button` in this scope [INFO] [stdout] --> src/app.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 11 | button![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app.rs:219:7 [INFO] [stdout] | [INFO] [stdout] 5 | Msg::Clicked => model.clicks += 1, [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `App` [INFO] [stdout] --> src/app.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 18 | App::builder(update, view) [INFO] [stdout] | ^^^ use of undeclared type or module `App` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: seed::app::Effect, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/app.rs:217:59 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:217:66 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GMsg` in this scope [INFO] [stdout] --> src/app.rs:217:71 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::GMsg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoNodes` in this scope [INFO] [stdout] --> src/app.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::into_nodes::IntoNodes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:223:42 [INFO] [stdout] | [INFO] [stdout] 9 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 9 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::stream (line 241) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/orders.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/orders.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/orders.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::App::start (line 111) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/app.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `button` in this scope [INFO] [stdout] --> src/app.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 20 | button![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 5 | .subscribe(Msg::UrlChanged) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `subs` [INFO] [stdout] --> src/app.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 6 | .notify(subs::UrlChanged(url)); [INFO] [stdout] | ^^^^ use of undeclared type or module `subs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 15 | Msg::Clicked => model.clicks += 1, [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `App` [INFO] [stdout] --> src/app.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 31 | App::start("app", init, update, view); [INFO] [stdout] | ^^^ use of undeclared type or module `App` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/app.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/app.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(url: Url, orders: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Model` in this scope [INFO] [stdout] --> src/app.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 8 | Model { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: seed::app::Effect, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/app.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | fn update(msg: Msg, model: &mut Model, _orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/app.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoNodes` in this scope [INFO] [stdout] --> src/app.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 19 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::into_nodes::IntoNodes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/app.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 19 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::subscribe_with_handle (line 215) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/orders.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/orders.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 4 | orders.subscribe_with_handle(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 3 | let sub_handle = orders.subscribe_with_handle(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:218:55 [INFO] [stdout] | [INFO] [stdout] 5 | let url_changed_handle = orders.subscribe_with_handle(Msg::UrlChanged) // `update(... Msg::UrlChanged(subs::UrlChanged(url)) =>` [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `counter` [INFO] [stdout] --> src/app/orders.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 7 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `counter` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 3 | let sub_handle = orders.subscribe_with_handle(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.subscribe_with_handle(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 5 | let url_changed_handle = orders.subscribe_with_handle(Msg::UrlChanged) // `update(... Msg::UrlChanged(subs::UrlChanged(url)) =>` [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 7 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 8 | orders.notify("Hello!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch/request.rs - browser::fetch::request::Request::controller (line 168) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Request` [INFO] [stdout] --> src/browser/fetch/request.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 3 | let (request, controller) = Request::new("http://example.com").controller(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/streams.rs - app::streams::backoff (line 51) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/streams.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::backoff(Some(15), |_| log!("Tick!"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::backoff(None, |_retries| Msg::OnTick)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/streams.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::backoff(None, |_retries| Msg::OnTick)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::backoff(Some(15), |_| log!("Tick!"))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::backoff(None, |_retries| Msg::OnTick)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::backoff(Some(15), |_| log!("Tick!"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::subscribe (line 184) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/orders.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/orders.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 4 | orders.subscribe(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 3 | orders.subscribe(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 5 | orders.subscribe(Msg::UrlChanged) // `update(... Msg::UrlChanged(subs::UrlChanged(url)) =>` [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `counter` [INFO] [stdout] --> src/app/orders.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 7 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `counter` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.subscribe(Msg::Reset); // `Msg::Reset(counter::DoReset)` [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.subscribe(|greeting: &'static str| log!(greeting)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 5 | orders.subscribe(Msg::UrlChanged) // `update(... Msg::UrlChanged(subs::UrlChanged(url)) =>` [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 7 | orders.notify(counter::DoReset); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 8 | orders.notify("Hello!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/orders.rs - app::orders::Orders::stream_with_handle (line 263) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/orders.rs:264:47 [INFO] [stdout] | [INFO] [stdout] 3 | let timer_handler = orders.stream_with_handle(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:264:74 [INFO] [stdout] | [INFO] [stdout] 3 | let timer_handler = orders.stream_with_handle(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/orders.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 4 | let stream_handler = orders.stream_with_handle(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/orders.rs:265:70 [INFO] [stdout] | [INFO] [stdout] 4 | let stream_handler = orders.stream_with_handle(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/orders.rs:265:86 [INFO] [stdout] | [INFO] [stdout] 4 | let stream_handler = orders.stream_with_handle(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 3 | let timer_handler = orders.stream_with_handle(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/orders.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 4 | let stream_handler = orders.stream_with_handle(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 64) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch/response.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(url).await?.check_status()? [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/fetch/response.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(url).await?.check_status()? [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch/response.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | fetch(url).await?.check_status()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch/response.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | fetch(url).await?.check_status()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch/response.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | fetch(url).await?.check_status()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch.rs - browser::fetch::fetch (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Request` [INFO] [stdout] --> src/browser/fetch.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 4 | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/browser/fetch.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 4 | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Form` in this scope [INFO] [stdout] --> src/browser/fetch.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 3 | let form = Form{email: "foo@example.com"}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::At::Form; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Tag::Form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 4 | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubmitResponse` in this scope [INFO] [stdout] --> src/browser/fetch.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 5 | let data: SubmitResponse = response.json().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | let form = Form{email: "foo@example.com"}; [INFO] [stdout] 4 | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let data: SubmitResponse = response.json().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let form = Form{email: "foo@example.com"}; [INFO] [stdout] 4 | | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let data: SubmitResponse = response.json().await?; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let form = Form{email: "foo@example.com"}; [INFO] [stdout] 4 | | let response = fetch(Request::new("/api").method(Method::Post).json(form)).await?; [INFO] [stdout] 5 | | let data: SubmitResponse = response.json().await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/streams.rs - app::streams::interval (line 22) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/streams.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::interval(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/streams.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::interval(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::interval(1000, || Msg::OnTick)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::interval(1000, || log!("Tick!"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/streams.rs - app::streams::document_event (line 99) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/streams.rs:101:76 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::document_event(Ev::SelectionChange, |_| log!("Selection changed!"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::document_event(Ev::SelectionChange, |_| Msg::OnSelection)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/streams.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::document_event(Ev::SelectionChange, |_| Msg::OnSelection)); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/streams.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::document_event(Ev::SelectionChange, |_| Msg::OnSelection)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::document_event(Ev::SelectionChange, |_| log!("Selection changed!"))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/streams.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::document_event(Ev::SelectionChange, |_| log!("Selection changed!"))); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::document_event(Ev::SelectionChange, |_| Msg::OnSelection)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::document_event(Ev::SelectionChange, |_| log!("Selection changed!"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch.rs - browser::fetch (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooStruct` in this scope [INFO] [stdout] --> src/browser/fetch.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 4 | let body: FooStruct = response.json().await?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] 4 | let body: FooStruct = response.json().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | let body: FooStruct = response.json().await?; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | let body: FooStruct = response.json().await?; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let response = fetch("/foo").await?.check_status()?; [INFO] [stdout] 4 | | let body: FooStruct = response.json().await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Response` [INFO] [stdout] --> src/browser/fetch/response.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 4 | .map(|result| result.and_then(Response::check_status)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Response` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/browser/fetch/response.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 6 | .map(Msg::Fetched) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch/response.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(url) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/fetch/response.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(url) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Response` in this scope [INFO] [stdout] --> src/browser/fetch/response.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 5 | .and_then(Response.json) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::decode_uri_component (line 394) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/browser/url.rs:395:1 [INFO] [stdout] | [INFO] [stdout] 3 | Url::decode_uri_component("Hello%20G%C3%BCnter"); // => "Hello Günter" [INFO] [stdout] | ^^^ use of undeclared type or module `Url` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch.rs - browser::fetch (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Request` [INFO] [stdout] --> src/browser/fetch.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(Request::new(url).method(Method::Post)).await [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stdout] --> src/browser/fetch.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(Request::new(url).method(Method::Post)).await [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(Request::new(url).method(Method::Post)).await [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/fetch.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 3 | fetch(Request::new(url).method(Method::Post)).await [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | fetch(Request::new(url).method(Method::Post)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/streams.rs - app::streams::window_event (line 75) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/app/streams.rs:77:64 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::window_event(Ev::Click, |_| log!("Clicked!"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/streams.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/streams.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stdout] --> src/app/streams.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::window_event(Ev::Click, |_| log!("Clicked!"))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ev` [INFO] [stdout] --> src/app/streams.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::window_event(Ev::Click, |_| log!("Clicked!"))); [INFO] [stdout] | ^^ use of undeclared type or module `Ev` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.stream(streams::window_event(Ev::Resize, |_| Msg::OnResize)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/streams.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.stream_with_handle(streams::window_event(Ev::Click, |_| log!("Clicked!"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/subs/url_requested.rs - app::subs::url_requested::UrlRequested (line 19) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/subs/url_requested.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app/subs/url_requested.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 5 | update(... Msg::UrlRequested(subs::UrlRequested(url, url_request))) => [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 | update(.. Msg::UrlRequested(subs::UrlRequested(url, url_request))) => [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 | update(..= Msg::UrlRequested(subs::UrlRequested(url, url_request))) => [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/app/subs/url_requested.rs:22:69 [INFO] [stdout] | [INFO] [stdout] 5 | update(... Msg::UrlRequested(subs::UrlRequested(url, url_request))) => [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/app/subs/url_requested.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 3 | orders.subscribe(Msg::UrlRequested); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/app/subs/url_requested.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.subscribe(Msg::UrlRequested); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::set_path (line 209) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/browser/url.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 3 | Url::new().set_path(&["my", "path"]) [INFO] [stdout] | ^^^ use of undeclared type or module `Url` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::set_hash (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/browser/url.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 3 | Url::new().set_hash("my_hash") [INFO] [stdout] | ^^^ use of undeclared type or module `Url` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/service/fetch.rs - browser::service::fetch::Request::controller (line 412) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fetch` [INFO] [stdout] --> src/browser/service/fetch.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 4 | request_controller: &mut Option [INFO] [stdout] | ^^^^^ use of undeclared type or module `fetch` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fetch` [INFO] [stdout] --> src/browser/service/fetch.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 6 | fetch::Request::new(get_request_url()) [INFO] [stdout] | ^^^^^ use of undeclared type or module `fetch` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/browser/service/fetch.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 8 | .fetch_string(Msg::Fetched) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:415:11 [INFO] [stdout] | [INFO] [stdout] 5 | ) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::prelude::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:415:23 [INFO] [stdout] | [INFO] [stdout] 5 | ) -> impl Future { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 | ) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:415:34 [INFO] [stdout] | [INFO] [stdout] 5 | ) -> impl Future { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 | ) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_request_url` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 6 | fetch::Request::new(get_request_url()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch/request.rs - browser::fetch::request::Request::fetch (line 180) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/browser/fetch/request.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 7 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `move`, `|`, or `||`, found keyword `fn` [INFO] [stdout] --> src/browser/fetch/request.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 8 | async fn send_message(new_message: String) -> fetch::Result { [INFO] [stdout] | ^^ expected one of `move`, `|`, or `||` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/browser/fetch/request.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 5 | async { Msg::Fetched(send_message(message).await) } [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/browser/fetch/request.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 3 | orders.perform_cmd({ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model` in this scope [INFO] [stdout] --> src/browser/fetch/request.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 4 | let message = model.new_message.clone(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_message` in this scope [INFO] [stdout] --> src/browser/fetch/request.rs:183:26 [INFO] [stdout] | [INFO] [stdout] 5 | async { Msg::Fetched(send_message(message).await) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: async closures are unstable [INFO] [stdout] --> src/browser/fetch/request.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn send_message(new_message: String) -> fetch::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #62290 for more information [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::set_search (line 273) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/browser/url.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 3 | Url::new().set_search(UrlSearch::new(vec![ [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 7 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/browser/url.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 3 | Url::new().set_search(UrlSearch::new(vec![ [INFO] [stdout] | ^^^ use of undeclared type or module `Url` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UrlSearch` [INFO] [stdout] --> src/browser/url.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 3 | Url::new().set_search(UrlSearch::new(vec![ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `UrlSearch` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::add_hash_path_part (line 183) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 3 | let link_to_blog = url.add_hash_path_part("blog"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::set_hash_path (line 232) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Url` [INFO] [stdout] --> src/browser/url.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 3 | Url::new().set_hash_path(&["my", "path"]) [INFO] [stdout] | ^^^ use of undeclared type or module `Url` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::UrlSearch::new (line 568) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UrlSearch` [INFO] [stdout] --> src/browser/url.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 3 | UrlSearch::new(vec![ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `UrlSearch` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::next_hash_path_part (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 4 | None => Page::Home, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `page` [INFO] [stdout] --> src/browser/url.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^^ use of undeclared type or module `page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 6 | _ => Page::Unknown(url), [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 3 | match url.next_hash_path_part() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 6 | _ => Page::Unknown(url), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch.rs - browser::fetch (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = fetch("/foo").await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | let response = fetch("/foo").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let response = fetch("/foo").await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/fetch.rs - browser::fetch::fetch (line 56) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/browser/fetch.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 4 | let response = fetch("https://seed-rs.org").await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use seed::fetch::fetch; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::prelude::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 4 | let response = fetch("https://seed-rs.org").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/browser/fetch.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 4 | let response = fetch("https://seed-rs.org").await?; [INFO] [stdout] 5 | let body = response.text().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let response = fetch("https://seed-rs.org").await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let body = response.text().await?; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/browser/fetch.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let response = fetch("https://seed-rs.org").await?; [INFO] [stdout] 5 | | let body = response.text().await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::add_path_part (line 170) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 3 | let link_to_blog = url.add_path_part("blog"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/service/fetch.rs - browser::service::fetch::Request::fetch (line 442) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fetch` [INFO] [stdout] --> src/browser/service/fetch.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 4 | fetch::Request::new(get_request_url()) [INFO] [stdout] | ^^^^^ use of undeclared type or module `fetch` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/browser/service/fetch.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 5 | .fetch(Msg::Fetched) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:443:35 [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:443:40 [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | async fn send_request() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_request_url` in this scope [INFO] [stdout] --> src/browser/service/fetch.rs:444:24 [INFO] [stdout] | [INFO] [stdout] 4 | fetch::Request::new(get_request_url()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcuts.rs - IF (line 353) stdout ---- [INFO] [stdout] error: cannot find macro `div` in this scope [INFO] [stdout] --> src/shortcuts.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 3 | div![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcuts.rs - nodes (line 408) stdout ---- [INFO] [stdout] error: cannot find macro `nodes` in this scope [INFO] [stdout] --> src/shortcuts.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 3 | nodes![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/helpers.rs - helpers::not (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `div` in this scope [INFO] [stdout] --> src/helpers.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | div![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::remaining_hash_path_parts (line 144) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 4 | [] => Page::Home, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 7 | ["day"] => Page::ReportDay, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 8 | _ => Page::ReportWeek, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 11 | _ => Page::NotFound, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 3 | match url.remaining_hash_path_parts().as_slice() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::remaining_path_parts (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 4 | [] => Page::Home, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 7 | ["day"] => Page::ReportDay, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 8 | _ => Page::ReportWeek, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 11 | _ => Page::NotFound, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 3 | match url.remaining_path_parts().as_slice() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcuts.rs - C (line 317) stdout ---- [INFO] [stdout] error: cannot find macro `div` in this scope [INFO] [stdout] --> src/shortcuts.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 3 | div![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/virtual_dom/values.rs - virtual_dom::values::AtValue (line 74) stdout ---- [INFO] [stdout] error: cannot find macro `attrs` in this scope [INFO] [stdout] --> src/virtual_dom/values.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | attrs! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/virtual_dom/values.rs - virtual_dom::values::CSSValue (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> src/virtual_dom/values.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | style! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/url.rs - browser::url::Url::next_path_part (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 4 | None => Page::Home, [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `page` [INFO] [stdout] --> src/browser/url.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^^ use of undeclared type or module `page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Page` [INFO] [stdout] --> src/browser/url.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 6 | _ => Page::Unknown(url), [INFO] [stdout] | ^^^^ use of undeclared type or module `Page` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 3 | match url.next_path_part() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 5 | Some("report") => Page::Report(page::report::init(url)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `url` in this scope [INFO] [stdout] --> src/browser/url.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 6 | _ => Page::Unknown(url), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/web_socket.rs - browser::web_socket::WebSocket::builder (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `WebSocket` [INFO] [stdout] --> src/browser/web_socket.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 3 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `WebSocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/browser/web_socket.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 4 | .on_message(Msg::MessageReceived) [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/browser/web_socket.rs:90:63 [INFO] [stdout] | [INFO] [stdout] 3 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/web_socket/builder.rs - browser::web_socket::builder::Builder (line 26) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/browser/web_socket/builder.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `WebSocket` [INFO] [stdout] --> src/browser/web_socket/builder.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 5 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `WebSocket` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketMessage` in this scope [INFO] [stdout] --> src/browser/web_socket/builder.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 3 | enum Msg { MessageReceived(WebSocketMessage) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::WebSocketMessage; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::web_socket::WebSocketMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/browser/web_socket/builder.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 5 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: `let` expressions in this position are experimental [INFO] [stdout] --> src/browser/web_socket/builder.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 5 | / let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] 6 | | .on_message(Msg::MessageReceived) [INFO] [stdout] 7 | | .build_and_open(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53667 for more information [INFO] [stdout] [INFO] [stdout] error: expected expression, found statement (`let`) [INFO] [stdout] --> src/browser/web_socket/builder.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 5 | / let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] 6 | | .on_message(Msg::MessageReceived) [INFO] [stdout] 7 | | .build_and_open(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: variable declaration using `let` is a statement [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/web_socket.rs - browser::web_socket::WebSocket (line 68) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/browser/web_socket.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `WebSocket` [INFO] [stdout] --> src/browser/web_socket.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 5 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `WebSocket` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketMessage` in this scope [INFO] [stdout] --> src/browser/web_socket.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 3 | enum Msg { MessageReceived(WebSocketMessage) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::WebSocketMessage; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::web_socket::WebSocketMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/browser/web_socket.rs:71:63 [INFO] [stdout] | [INFO] [stdout] 5 | let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: `let` expressions in this position are experimental [INFO] [stdout] --> src/browser/web_socket.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 5 | / let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] 6 | | .on_message(Msg::MessageReceived) [INFO] [stdout] 7 | | .build_and_open(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53667 for more information [INFO] [stdout] [INFO] [stdout] error: expected expression, found statement (`let`) [INFO] [stdout] --> src/browser/web_socket.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 5 | / let web_socket = WebSocket::builder("ws://127.0.0.1:9000/ws", orders) [INFO] [stdout] 6 | | .on_message(Msg::MessageReceived) [INFO] [stdout] 7 | | .build_and_open(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: variable declaration using `let` is a statement [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef::map_type (line 97) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ElRef` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 3 | let input: ElRef = model.refs.my_input.clone(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::ElRef; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::ElRef; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::el_ref::ElRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HtmlInputElement` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 3 | let input: ElRef = model.refs.my_input.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::HtmlInputElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 3 | let input: ElRef = model.refs.my_input.clone(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `orders` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 4 | orders.after_next_render(move |_| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 6 | .map_type::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::HtmlElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shortcuts.rs - struct_urls (line 21) stdout ---- [INFO] [stdout] error: Cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/shortcuts.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod page; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `a` in this scope [INFO] [stdout] --> src/shortcuts.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 28 | a![ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `struct_urls` in this scope [INFO] [stdout] --> src/shortcuts.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct_urls!(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `admin` in `page` [INFO] [stdout] --> src/shortcuts.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn admin_urls(self) -> page::admin::Urls<'a> { [INFO] [stdout] | ^^^^^ could not find `admin` in `page` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `admin` in `page` [INFO] [stdout] --> src/shortcuts.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 23 | page::admin::Urls::new(self.base_url().add_path_part(ADMIN)) [INFO] [stdout] | ^^^^^ could not find `admin` in `page` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/shortcuts.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/shortcuts.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/shortcuts.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/shortcuts.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 7 | fn init(url: Url, _: &mut impl Orders) -> Model { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Model` in this scope [INFO] [stdout] --> src/shortcuts.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 8 | Model { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Urls` in this scope [INFO] [stdout] --> src/shortcuts.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Urls<'a> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/shortcuts.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn home(self) -> Url { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> src/shortcuts.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn view(model: &Model) -> Node { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/shortcuts.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn view(model: &Model) -> Node { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use seed::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::virtual_dom::Node; [INFO] [stdout] | [INFO] [stdout] 3 | use seed::virtual_dom::node::Node; [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/shortcuts.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn view(model: &Model) -> Node { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 27 | fn view(model: &Model) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | fn view(model: &Model) -> Node { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef (line 21) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/virtual_dom/el_ref.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 23 | match msg { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | ...as it matches this but it has different indentation [INFO] [stdout] [INFO] [stdout] error: cannot find macro `canvas` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 9 | canvas![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/virtual_dom/el_ref.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 19 | orders.after_next_render(|_| Msg::Rendered); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/virtual_dom/el_ref.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 24 | Msg::Rendered => { [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Msg` [INFO] [stdout] --> src/virtual_dom/el_ref.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 27 | orders.after_next_render(|_| Msg::Rendered).skip(); [INFO] [stdout] | ^^^ use of undeclared type or module `Msg` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ElRef` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 5 | canvas: ElRef, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::ElRef; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::ElRef; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::el_ref::ElRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoNodes` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::IntoNodes; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::virtual_dom::node::into_nodes::IntoNodes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 8 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 8 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | fn view(model: &Model) -> impl IntoNodes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::browser::url::Url; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Url; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AfterMount` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 18 | fn after_mount(_: Url, orders: &mut impl Orders) -> AfterMount { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::builder::after_mount::AfterMount; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::AfterMount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: seed::app::Effect, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Orders` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::app::orders::Orders; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::prelude::Orders; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Msg` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `seed::app::Effect::Msg`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `canvas` in this scope [INFO] [stdout] --> src/virtual_dom/el_ref.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 25 | let canvas = canvas.get().expect("get canvas element"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use seed::canvas; [INFO] [stdout] | [INFO] [stdout] 2 | use seed::util::canvas; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/app.rs - app::App::builder (line 216) [INFO] [stdout] src/app.rs - app::App::start (line 111) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::after_mount (line 481) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::before_mount (line 452) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::mount (line 413) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::routes (line 512) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::sink (line 544) [INFO] [stdout] src/app/builder.rs - app::builder::Builder::window_events (line 526) [INFO] [stdout] src/app/builder/before_mount.rs - app::builder::before_mount::BeforeMount::mount_point (line 81) [INFO] [stdout] src/app/cmds.rs - app::cmds::timeout (line 15) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::msg_mapper (line 146) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::notify (line 53) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::perform_cmd (line 81) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::perform_cmd_with_handle (line 105) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::proxy (line 25) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::send_msg (line 68) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::stream (line 241) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::stream_with_handle (line 263) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::subscribe (line 184) [INFO] [stdout] src/app/orders.rs - app::orders::Orders::subscribe_with_handle (line 215) [INFO] [stdout] src/app/streams.rs - app::streams::backoff (line 51) [INFO] [stdout] src/app/streams.rs - app::streams::document_event (line 99) [INFO] [stdout] src/app/streams.rs - app::streams::interval (line 22) [INFO] [stdout] src/app/streams.rs - app::streams::window_event (line 75) [INFO] [stdout] src/app/subs.rs - app::subs::UrlChanged (line 15) [INFO] [stdout] src/app/subs/url_requested.rs - app::subs::url_requested::UrlRequested (line 19) [INFO] [stdout] src/browser/fetch.rs - browser::fetch (line 14) [INFO] [stdout] src/browser/fetch.rs - browser::fetch (line 20) [INFO] [stdout] src/browser/fetch.rs - browser::fetch (line 9) [INFO] [stdout] src/browser/fetch.rs - browser::fetch::fetch (line 56) [INFO] [stdout] src/browser/fetch.rs - browser::fetch::fetch (line 62) [INFO] [stdout] src/browser/fetch/request.rs - browser::fetch::request::Request::controller (line 168) [INFO] [stdout] src/browser/fetch/request.rs - browser::fetch::request::Request::fetch (line 180) [INFO] [stdout] src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 64) [INFO] [stdout] src/browser/fetch/response.rs - browser::fetch::response::Response::check_status (line 71) [INFO] [stdout] src/browser/service/fetch.rs - browser::service::fetch::Request::controller (line 412) [INFO] [stdout] src/browser/service/fetch.rs - browser::service::fetch::Request::fetch (line 442) [INFO] [stdout] src/browser/url.rs - browser::url::Url::add_hash_path_part (line 183) [INFO] [stdout] src/browser/url.rs - browser::url::Url::add_path_part (line 170) [INFO] [stdout] src/browser/url.rs - browser::url::Url::decode_uri_component (line 394) [INFO] [stdout] src/browser/url.rs - browser::url::Url::next_hash_path_part (line 99) [INFO] [stdout] src/browser/url.rs - browser::url::Url::next_path_part (line 80) [INFO] [stdout] src/browser/url.rs - browser::url::Url::remaining_hash_path_parts (line 144) [INFO] [stdout] src/browser/url.rs - browser::url::Url::remaining_path_parts (line 118) [INFO] [stdout] src/browser/url.rs - browser::url::Url::set_hash (line 256) [INFO] [stdout] src/browser/url.rs - browser::url::Url::set_hash_path (line 232) [INFO] [stdout] src/browser/url.rs - browser::url::Url::set_path (line 209) [INFO] [stdout] src/browser/url.rs - browser::url::Url::set_search (line 273) [INFO] [stdout] src/browser/url.rs - browser::url::UrlSearch::new (line 568) [INFO] [stdout] src/browser/web_socket.rs - browser::web_socket::WebSocket (line 68) [INFO] [stdout] src/browser/web_socket.rs - browser::web_socket::WebSocket::builder (line 89) [INFO] [stdout] src/browser/web_socket/builder.rs - browser::web_socket::builder::Builder (line 26) [INFO] [stdout] src/helpers.rs - helpers::not (line 8) [INFO] [stdout] src/shortcuts.rs - C (line 317) [INFO] [stdout] src/shortcuts.rs - IF (line 353) [INFO] [stdout] src/shortcuts.rs - nodes (line 408) [INFO] [stdout] src/shortcuts.rs - struct_urls (line 21) [INFO] [stdout] src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef (line 21) [INFO] [stdout] src/virtual_dom/el_ref.rs - virtual_dom::el_ref::ElRef::map_type (line 97) [INFO] [stdout] src/virtual_dom/values.rs - virtual_dom::values::AtValue (line 74) [INFO] [stdout] src/virtual_dom/values.rs - virtual_dom::values::CSSValue (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 61 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "887f4b5e89199ec2d2d52bf08a50d1fb57687ef418c77033d4661f07a2c102a0"` [INFO] running `"docker" "rm" "-f" "887f4b5e89199ec2d2d52bf08a50d1fb57687ef418c77033d4661f07a2c102a0"` [INFO] [stdout] 887f4b5e89199ec2d2d52bf08a50d1fb57687ef418c77033d4661f07a2c102a0