[INFO] fetching crate leptos_macro 0.8.6... [INFO] checking leptos_macro-0.8.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate leptos_macro 0.8.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate leptos_macro 0.8.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leptos_macro 0.8.6 [INFO] tweaked toml for crates.io crate leptos_macro 0.8.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leptos_macro 0.8.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate leptos_macro 0.8.6 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 349da39c0c29a958c99ece4e322cef52c17a2303c815bde150b754b232e4f4c7 [INFO] running `Command { std: "docker" "start" "-a" "349da39c0c29a958c99ece4e322cef52c17a2303c815bde150b754b232e4f4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "349da39c0c29a958c99ece4e322cef52c17a2303c815bde150b754b232e4f4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349da39c0c29a958c99ece4e322cef52c17a2303c815bde150b754b232e4f4c7", kill_on_drop: false }` [INFO] [stdout] 349da39c0c29a958c99ece4e322cef52c17a2303c815bde150b754b232e4f4c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43b6f05bf39068d7030f58f8fd45a372c7fa9e72d97a409840b7613af59e4e64 [INFO] running `Command { std: "docker" "start" "-a" "43b6f05bf39068d7030f58f8fd45a372c7fa9e72d97a409840b7613af59e4e64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking convert_case v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling server_fn_macro v0.8.6 [INFO] [stderr] Compiling leptos_macro v0.8.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking manyhow v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling typed-builder-macro v0.21.0 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Checking attribute-derive v0.10.3 [INFO] [stderr] Checking typed-builder v0.21.0 [INFO] [stderr] Checking rstml v0.12.1 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking leptos_hot_reload v0.8.5 [INFO] [stderr] Checking toml v0.9.2 [INFO] [stderr] Checking trybuild v1.0.106 [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/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: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/component.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | use ::leptos::{ [INFO] [stdout] | ^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `leptos` [INFO] [stdout] --> tests/component.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | use ::leptos::IntoView; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `self::leptos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `leptos` [INFO] [stdout] --> tests/component.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | use ::leptos::{ [INFO] [stdout] | ^^^^^^ help: a similar path exists: `self::leptos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/component.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (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/component.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (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/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/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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "memo") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `leptos` [INFO] [stdout] --> tests/server.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | 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:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | 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] [stderr] error: could not compile `leptos_macro` (test "slice") due to 4 previous errors [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] For more information about this error, try `rustc --explain E0433`. [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] [stderr] error: could not compile `leptos_macro` (test "params") due to 5 previous errors [INFO] [stdout] error: cannot find attribute `builder` in this scope [INFO] [stdout] --> tests/component.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `builder` in this scope [INFO] [stdout] --> tests/component.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (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: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] [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] [stdout] error[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | ::PATH [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `MyServerAction` in this scope [INFO] [stdout] --> tests/server.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | 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:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | 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:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | 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:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | 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:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | 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:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | 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:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | 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:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ::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:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | 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:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | ::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:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 82 | 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:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | ::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:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 99 | 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:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | ::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:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | TypeId::of::<::Protocol>(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn server_endpoint() { [INFO] [stdout] | ++++++++++++++++ [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] 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] [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] 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 "server") due to 18 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `leptos` in the list of imported crates [INFO] [stdout] --> tests/component.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | / view! { [INFO] [stdout] 138 | | {()} [INFO] [stdout] 139 | | {()} [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____________^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (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/component.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | / view! { [INFO] [stdout] 156 | |
[INFO] [stdout] 157 | | {().into_any()} [INFO] [stdout] 158 | | {()} [INFO] [stdout] 159 | |
[INFO] [stdout] 160 | | } [INFO] [stdout] | |_____________^ could not find `leptos` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (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/component.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 |
[INFO] [stdout] | ^^^ could not find `leptos` in the list of imported crates [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[E0412]: cannot find type `ComponentPropsBuilder` in this scope [INFO] [stdout] --> tests/component.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentPropsBuilder` in this scope [INFO] [stdout] --> tests/component.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | #[component] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [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, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_macro` (test "component") due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "43b6f05bf39068d7030f58f8fd45a372c7fa9e72d97a409840b7613af59e4e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b6f05bf39068d7030f58f8fd45a372c7fa9e72d97a409840b7613af59e4e64", kill_on_drop: false }` [INFO] [stdout] 43b6f05bf39068d7030f58f8fd45a372c7fa9e72d97a409840b7613af59e4e64