[INFO] fetching crate sauron-core 0.49.3... [INFO] testing sauron-core-0.49.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sauron-core 0.49.3 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate sauron-core 0.49.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sauron-core 0.49.3 [INFO] finished tweaking crates.io crate sauron-core 0.49.3 [INFO] tweaked toml for crates.io crate sauron-core 0.49.3 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d67f742b6ff9bd079308ad97e7922bc32308f147c1ee60e9aa019bc85c44e59 [INFO] running `Command { std: "docker" "start" "-a" "1d67f742b6ff9bd079308ad97e7922bc32308f147c1ee60e9aa019bc85c44e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d67f742b6ff9bd079308ad97e7922bc32308f147c1ee60e9aa019bc85c44e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d67f742b6ff9bd079308ad97e7922bc32308f147c1ee60e9aa019bc85c44e59", kill_on_drop: false }` [INFO] [stdout] 1d67f742b6ff9bd079308ad97e7922bc32308f147c1ee60e9aa019bc85c44e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 100dbdda1e16ed4af5c0e04c1bc726b717da870ee403fb2dd1057c895e685b56 [INFO] running `Command { std: "docker" "start" "-a" "100dbdda1e16ed4af5c0e04c1bc726b717da870ee403fb2dd1057c895e685b56", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling mt-dom v0.19.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling jss v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling sauron-core v0.49.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.29s [INFO] running `Command { std: "docker" "inspect" "100dbdda1e16ed4af5c0e04c1bc726b717da870ee403fb2dd1057c895e685b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100dbdda1e16ed4af5c0e04c1bc726b717da870ee403fb2dd1057c895e685b56", kill_on_drop: false }` [INFO] [stdout] 100dbdda1e16ed4af5c0e04c1bc726b717da870ee403fb2dd1057c895e685b56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0bb3dc7f391010b2e80d2ca0f3b7d80a85b98c80fd914c3e93764e06bcb6c97 [INFO] running `Command { std: "docker" "start" "-a" "e0bb3dc7f391010b2e80d2ca0f3b7d80a85b98c80fd914c3e93764e06bcb6c97", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling console_log v0.2.0 [INFO] [stderr] Compiling sauron-core v0.49.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sauron_core-2a8acf56db2df40d) [INFO] running `Command { std: "docker" "inspect" "e0bb3dc7f391010b2e80d2ca0f3b7d80a85b98c80fd914c3e93764e06bcb6c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bb3dc7f391010b2e80d2ca0f3b7d80a85b98c80fd914c3e93764e06bcb6c97", kill_on_drop: false }` [INFO] [stdout] e0bb3dc7f391010b2e80d2ca0f3b7d80a85b98c80fd914c3e93764e06bcb6c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a3e634284b7ce0a7a22914048406951570b9561e7b266037a5c95d16c14f795 [INFO] running `Command { std: "docker" "start" "-a" "0a3e634284b7ce0a7a22914048406951570b9561e7b266037a5c95d16c14f795", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sauron_core-2a8acf56db2df40d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test render::test::test_render_class_flag ... ok [INFO] [stdout] test render::test::test_render_comments ... ok [INFO] [stdout] test render::test::test_render_classes ... ok [INFO] [stdout] test render::test::test_render_text_siblings_should_be_separated_with_comments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sauron-core [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/html/attributes/attribute_macros.rs - html::attributes::attribute_macros::declare_attributes (line 6) ... ignored [INFO] [stdout] test src/html/attributes.rs - html::attributes::styles (line 47) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::attr (line 328) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::focus (line 317) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::empty_attr (line 340) ... FAILED [INFO] [stdout] test src/html.rs - html::html_element (line 41) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::inner_html (line 299) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/html/attributes.rs - html::attributes::styles_flag (line 84) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::classes (line 134) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::disabled (line 280) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::attrs_flag (line 206) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::checked (line 257) ... FAILED [INFO] [stdout] test src/html.rs - html::text (line 73) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::styles_flag (line 74) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::style (line 23) ... FAILED [INFO] [stdout] test src/svg.rs - svg::svg_element (line 14) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::styles (line 41) ... FAILED [INFO] [stdout] test src/html.rs - html::view_if (line 21) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::classes_flag (line 107) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::class_namespaced (line 153) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::classes_flag_namespaced (line 175) ... FAILED [INFO] [stdout] test src/html/attributes.rs - html::attributes::maybe_attr (line 231) ... FAILED [INFO] [stdout] test src/html.rs - html::text (line 90) ... ok [INFO] [stdout] test src/html.rs - html::safe_html (line 104) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/html/attributes.rs - html::attributes::styles (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `style` in this scope [INFO] [stdout] --> src/html/attributes.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = div(vec![style!{"display":"flex","flex-direction":"row"}],vec![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] jss::style [INFO] [stdout] sauron_core::style [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = div(vec![style!{"display":"flex","flex-direction":"row"}],vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `div` in this scope [INFO] [stdout] --> src/html/attributes.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = div(vec![style!{"display":"flex","flex-direction":"row"}],vec![]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/html/attributes.rs - html::attributes::attr (line 328) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/html/attributes.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 5 | let data_id: Attribute<()> = attr("data-id", 42); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Attribute; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attr` in this scope [INFO] [stdout] --> src/html/attributes.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 5 | let data_id: Attribute<()> = attr("data-id", 42); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::attr; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::attr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/html/attributes.rs - html::attributes::focus (line 317) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 5 | let editor:Node<()> = textarea(vec![focus(true)], vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `textarea` in this scope [INFO] [stdout] --> src/html/attributes.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 5 | let editor:Node<()> = textarea(vec![focus(true)], vec![]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::textarea; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `focus` in this scope [INFO] [stdout] --> src/html/attributes.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 5 | let editor:Node<()> = textarea(vec![focus(true)], vec![]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::focus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/html/attributes.rs - html::attributes::empty_attr (line 340) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sauron::html::attributes::title; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sauron::html::attributes::title` [INFO] [stdout] --> src/html/attributes.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sauron::html::attributes::title; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/html/attributes.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 7 | let result: Attribute<()> = if let Some(img_title) = img_title{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Attribute; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `title` in this scope [INFO] [stdout] --> src/html/attributes.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 8 | title(img_title) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::html::attributes::title; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::html::tags::title; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::svg::tags::title; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `empty_attr` in this scope [INFO] [stdout] --> src/html/attributes.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 11 | empty_attr() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::empty_attr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `title` in this scope [INFO] [stdout] --> src/html/attributes.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(title("this is the image"), result); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::html::attributes::title; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::html::tags::title; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::svg::tags::title; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html.rs - html::html_element (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `node` in this scope [INFO] [stdout] --> src/html.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(node!{}, html); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 5 | let html:Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `html_element` in this scope [INFO] [stdout] --> src/html.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 6 | html_element(Some("http://www.w3.org/2000/svg"),"svg", vec![width(200), height(200), xmlns("http://www.w3.org/2000/svg")], vec![], fa... [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::html_element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `width` in this scope [INFO] [stdout] --> src/html.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 6 | html_element(Some("http://www.w3.org/2000/svg"),"svg", vec![width(200), height(200), xmlns("http://www.w3.org/2000/svg")], vec![], fa... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `height` in this scope [INFO] [stdout] --> src/html.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 6 | html_element(Some("http://www.w3.org/2000/svg"),"svg", vec![width(200), height(200), xmlns("http://www.w3.org/2000/svg")], vec![], fa... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xmlns` in this scope [INFO] [stdout] --> src/html.rs:45:90 [INFO] [stdout] | [INFO] [stdout] 6 | html_element(Some("http://www.w3.org/2000/svg"),"svg", vec![width(200), height(200), xmlns("http://www.w3.org/2000/svg")], vec![], fa... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::xmlns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/html/attributes.rs - html::attributes::inner_html (line 299) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 5 | let html:Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `div` in this scope [INFO] [stdout] --> src/html/attributes.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 6 | div(vec![inner_html("
This is a paragraph injected into a div via inner_html
")], vec![]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inner_html` in this scope [INFO] [stdout] --> src/html/attributes.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 6 | div(vec![inner_html("This is a paragraph injected into a div via inner_html
")], vec![]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::inner_html; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/html/attributes.rs - html::attributes::styles_flag (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/html/attributes.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 6 | let display:Attribute<()> = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Attribute; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `styles` in this scope [INFO] [stdout] --> src/html/attributes.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 7 | styles([("display", if is_active { "block" }else{ "none" })]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::styles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/html/attributes.rs - html::attributes::classes (line 134) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `div` in this scope [INFO] [stdout] --> src/html/attributes.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 6 | div(vec![classes(["dashed", "error"])], vec![]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `classes` in this scope [INFO] [stdout] --> src/html/attributes.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 6 | div(vec![classes(["dashed", "error"])], vec![]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::classes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/html/attributes.rs - html::attributes::disabled (line 280) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> src/html/attributes.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), disabled(true)], vec![]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `r#type` in this scope [INFO] [stdout] --> src/html/attributes.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), disabled(true)], vec![]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::r#type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `disabled` in this scope [INFO] [stdout] --> src/html/attributes.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), disabled(true)], vec![]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::disabled; [INFO] [stdout] | [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/html/attributes.rs - html::attributes::attrs_flag (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> src/html/attributes.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 7 | input(vec![r#type("checkbox")], vec![]).add_attributes(attrs_flag(vec![( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `r#type` in this scope [INFO] [stdout] --> src/html/attributes.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 7 | input(vec![r#type("checkbox")], vec![]).add_attributes(attrs_flag(vec![( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::r#type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attrs_flag` in this scope [INFO] [stdout] --> src/html/attributes.rs:211:60 [INFO] [stdout] | [INFO] [stdout] 7 | input(vec![r#type("checkbox")], vec![]).add_attributes(attrs_flag(vec![( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::attrs_flag; [INFO] [stdout] | [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/html/attributes.rs - html::attributes::checked (line 257) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 5 | let html: Node<()> = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> src/html/attributes.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), checked(true)], vec![]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `r#type` in this scope [INFO] [stdout] --> src/html/attributes.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), checked(true)], vec![]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::r#type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `checked` in this scope [INFO] [stdout] --> src/html/attributes.rs:261:36 [INFO] [stdout] | [INFO] [stdout] 6 | input(vec![r#type("checkbox"), checked(true)], vec![]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::checked; [INFO] [stdout] | [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/html.rs - html::text (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `text` in this scope [INFO] [stdout] --> src/html.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 6 | let title:Node<()> = h1(vec![], vec![text!("This is the content number: {}", number)]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] sauron_core::text [INFO] [stdout] [INFO] [stdout] error: cannot find macro `node` in this scope [INFO] [stdout] --> src/html.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(node!{"hello world"
}, html); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = view_if(!content.is_empty(), p(vec![], vec![text(content)])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `view_if` in this scope [INFO] [stdout] --> src/html.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = view_if(!content.is_empty(), p(vec![], vec![text(content)])); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::view_if; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `p` in this scope [INFO] [stdout] --> src/html.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = view_if(!content.is_empty(), p(vec![], vec![text(content)])); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::p; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `text` in this scope [INFO] [stdout] --> src/html.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = view_if(!content.is_empty(), p(vec![], vec![text(content)])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::leaf::text; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::text; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::svg::tags::text; [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/html/attributes.rs - html::attributes::classes_flag (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/html/attributes.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 7 | let line:Attribute<()> = classes_flag([ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Attribute; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `classes_flag` in this scope [INFO] [stdout] --> src/html/attributes.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 7 | let line:Attribute<()> = classes_flag([ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::classes_flag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/html/attributes.rs - html::attributes::class_namespaced (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::html::attributes::class_namespaced; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sauron::html::attributes::class; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sauron` [INFO] [stdout] --> src/html/attributes.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sauron::Attribute; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `class` in this scope [INFO] [stdout] --> src/html/attributes.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 8 | let expected: Attribute<()> = class("fui__border".to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::class; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `class_namespaced` in this scope [INFO] [stdout] --> src/html/attributes.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(expected, class_namespaced(component, "border")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use jss::class_namespaced; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::class_namespaced; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `class` in this scope [INFO] [stdout] --> src/html/attributes.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 12 | class("fui__border fui__corner".to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::class; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `class_namespaced` in this scope [INFO] [stdout] --> src/html/attributes.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(expected, class_namespaced(component, "border corner")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use jss::class_namespaced; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::class_namespaced; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html/attributes.rs - html::attributes::classes_flag_namespaced (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sauron::html::attributes::classes_flag_namespaced; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sauron::html::attributes::classes_flag_namespaced` [INFO] [stdout] --> src/html/attributes.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sauron::html::attributes::classes_flag_namespaced; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/html/attributes.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 10 | let expected: Attribute<()> = class("fui__border".to_string()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Attribute; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `class` in this scope [INFO] [stdout] --> src/html/attributes.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 10 | let expected: Attribute<()> = class("fui__border".to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::class; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `classes_flag_namespaced` in this scope [INFO] [stdout] --> src/html/attributes.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(expected, classes_flag_namespaced(component, [("border", is_border),("corner", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::classes_flag_namespaced; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html/attributes.rs - html::attributes::maybe_attr (line 231) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sauron` [INFO] [stdout] --> src/html/attributes.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sauron::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sauron` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `button` in this scope [INFO] [stdout] --> src/html/attributes.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `maybe_attr` in this scope [INFO] [stdout] --> src/html/attributes.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 6 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::maybe_attr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/html/attributes.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 11 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use mt_dom::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen_test::__rt::node::Node; [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `button` in this scope [INFO] [stdout] --> src/html/attributes.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 11 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `maybe_attr` in this scope [INFO] [stdout] --> src/html/attributes.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 11 | let html: Node<()> = button(vec![maybe_attr("width", width)], vec![]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use sauron_core::prelude::maybe_attr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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] [INFO] [stdout] failures: [INFO] [stdout] src/html.rs - html::html_element (line 41) [INFO] [stdout] src/html.rs - html::text (line 73) [INFO] [stdout] src/html.rs - html::view_if (line 21) [INFO] [stdout] src/html/attributes.rs - html::attributes::attr (line 328) [INFO] [stdout] src/html/attributes.rs - html::attributes::attrs_flag (line 206) [INFO] [stdout] src/html/attributes.rs - html::attributes::checked (line 257) [INFO] [stdout] src/html/attributes.rs - html::attributes::class_namespaced (line 153) [INFO] [stdout] src/html/attributes.rs - html::attributes::classes (line 134) [INFO] [stdout] src/html/attributes.rs - html::attributes::classes_flag (line 107) [INFO] [stdout] src/html/attributes.rs - html::attributes::classes_flag_namespaced (line 175) [INFO] [stdout] src/html/attributes.rs - html::attributes::disabled (line 280) [INFO] [stdout] src/html/attributes.rs - html::attributes::empty_attr (line 340) [INFO] [stdout] src/html/attributes.rs - html::attributes::focus (line 317) [INFO] [stdout] src/html/attributes.rs - html::attributes::inner_html (line 299) [INFO] [stdout] src/html/attributes.rs - html::attributes::maybe_attr (line 231) [INFO] [stdout] src/html/attributes.rs - html::attributes::style (line 23) [INFO] [stdout] src/html/attributes.rs - html::attributes::styles (line 41) [INFO] [stdout] src/html/attributes.rs - html::attributes::styles (line 47) [INFO] [stdout] src/html/attributes.rs - html::attributes::styles_flag (line 74) [INFO] [stdout] src/html/attributes.rs - html::attributes::styles_flag (line 84) [INFO] [stdout] src/svg.rs - svg::svg_element (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 21 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a3e634284b7ce0a7a22914048406951570b9561e7b266037a5c95d16c14f795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3e634284b7ce0a7a22914048406951570b9561e7b266037a5c95d16c14f795", kill_on_drop: false }` [INFO] [stdout] 0a3e634284b7ce0a7a22914048406951570b9561e7b266037a5c95d16c14f795