[INFO] fetching crate leptos_macro 0.7.9... [INFO] checking leptos_macro-0.7.9 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate leptos_macro 0.7.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate leptos_macro 0.7.9 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate leptos_macro 0.7.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leptos_macro 0.7.9 [INFO] tweaked toml for crates.io crate leptos_macro 0.7.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate leptos_macro 0.7.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bba06f078cbb67cfb0c303409764df1b323f7ab0cb456a068b7fec4af2663317 [INFO] running `Command { std: "docker" "start" "-a" "bba06f078cbb67cfb0c303409764df1b323f7ab0cb456a068b7fec4af2663317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bba06f078cbb67cfb0c303409764df1b323f7ab0cb456a068b7fec4af2663317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba06f078cbb67cfb0c303409764df1b323f7ab0cb456a068b7fec4af2663317", kill_on_drop: false }` [INFO] [stdout] bba06f078cbb67cfb0c303409764df1b323f7ab0cb456a068b7fec4af2663317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 293d5668514ca9d4bb72092d9299007a2376ee78982b0177dac3b46f6128a778 [INFO] running `Command { std: "docker" "start" "-a" "293d5668514ca9d4bb72092d9299007a2376ee78982b0177dac3b46f6128a778", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking winnow v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking convert_case v0.7.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking uuid v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking manyhow v0.11.4 [INFO] [stderr] Checking server_fn_macro v0.7.8 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling typed-builder-macro v0.20.0 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking insta v1.42.1 [INFO] [stderr] Checking rstml v0.12.1 [INFO] [stderr] Checking attribute-derive v0.10.3 [INFO] [stderr] Checking typed-builder v0.20.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking leptos_hot_reload v0.7.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking leptos_macro v0.7.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking trybuild v1.0.103 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/slice.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::prelude::RwSignal; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/memo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::prelude::RwSignal; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/memo.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let _ = memo!(outer_signal.count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `memo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/memo.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let _ = memo!(outer_signal.inner.inner_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `memo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/memo.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = memo!(outer_signal.inner.inner_tuple.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `memo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/server.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `leptos` [INFO] [stdout] --> tests/server.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/component.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use leptos::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/params.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `leptos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos`, use `cargo add leptos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos_router` [INFO] [stdout] --> tests/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use leptos_router::params::Params; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `leptos_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos_router`, use `cargo add leptos_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `leptos_router::params::Params` [INFO] [stdout] --> tests/params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use leptos_router::params::Params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/slice.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let (_, _) = slice!(outer_signal.count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `slice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos_router` [INFO] [stdout] --> tests/params.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut map = leptos_router::params::ParamsMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `leptos_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `leptos_router`, use `cargo add leptos_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/slice.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let (_, _) = slice!(outer_signal.inner.inner_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `slice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/slice.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let (_, _) = slice!(outer_signal.inner.inner_tuple.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `slice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/component.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `component` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use leptos_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_map` found for struct `UserInfo` in the current scope [INFO] [stdout] --> tests/params.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 5 | struct UserInfo { [INFO] [stdout] | --------------- function or associated item `from_map` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let user_info = UserInfo::from_map(&map).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `UserInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[prop(optional)] optional: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[prop(optional, into)] optional_into: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[prop(optional_no_strip)] optional_no_strip: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[prop(strip_option)] strip_option: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[prop(default = NonZeroUsize::new(10).unwrap())] default: NonZeroUsize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[prop(into)] into: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "params") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[prop(name = "data")] UserInfo { email, user_id }: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[prop(name = "tuple")] (name, id): (String, i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[prop(name = "tuple_struct")] Admin(is_admin): Admin, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prop` in this scope [INFO] [stdout] --> tests/component.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[prop(name = "outside_name")] inside_name: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> tests/component.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use leptos_macro::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "memo") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/component.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `component` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use leptos_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "slice") due to 4 previous errors [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | ::PATH [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | fn server_default() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(::PATH, "/foo/bar/my_path"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | fn server_full_legacy() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(::PATH, "/foo/bar/my_path"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 41 | fn server_all_keywords() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(::PATH, "/api/my_path"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 54 | fn server_mix() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ::PATH.trim_end_matches(char::is_numeric), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooBar` in this scope [INFO] [stdout] --> tests/server.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn server_name() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | ::PATH [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | fn server_prefix() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | ::PATH [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 100 | fn server_encoding() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ::PATH, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | TypeId::of::<::InputEncoding>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | fn server_endpoint() { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoView` in this scope [INFO] [stdout] --> tests/component.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoView` in this scope [INFO] [stdout] --> tests/component.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | fn WithLifetime<'a>(data: &'a str) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoView` in this scope [INFO] [stdout] --> tests/component.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | fn can_return_impl_intoview_from_body() -> impl IntoView { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComponentProps` [INFO] [stdout] --> tests/component.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let cp = ComponentProps::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ComponentProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WithLifetimeProps` [INFO] [stdout] --> tests/component.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | WithLifetime(WithLifetimeProps::builder().data(&val).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `WithLifetimeProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "component") due to 19 previous errors [INFO] [stderr] error: could not compile `leptos_macro` (test "server") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "293d5668514ca9d4bb72092d9299007a2376ee78982b0177dac3b46f6128a778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293d5668514ca9d4bb72092d9299007a2376ee78982b0177dac3b46f6128a778", kill_on_drop: false }` [INFO] [stdout] 293d5668514ca9d4bb72092d9299007a2376ee78982b0177dac3b46f6128a778