[INFO] fetching crate yew-state 0.2.1...
[INFO] testing yew-state-0.2.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409
[INFO] extracting crate yew-state 0.2.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate yew-state 0.2.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yew-state 0.2.1
[INFO] finished tweaking crates.io crate yew-state 0.2.1
[INFO] tweaked toml for crates.io crate yew-state 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5d173a1aa9a024ea586a6cf82c92f1e2ae2f2239e7faa9f7e41136b858365d6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a5d173a1aa9a024ea586a6cf82c92f1e2ae2f2239e7faa9f7e41136b858365d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5d173a1aa9a024ea586a6cf82c92f1e2ae2f2239e7faa9f7e41136b858365d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5d173a1aa9a024ea586a6cf82c92f1e2ae2f2239e7faa9f7e41136b858365d6", kill_on_drop: false }`
[INFO] [stdout] a5d173a1aa9a024ea586a6cf82c92f1e2ae2f2239e7faa9f7e41136b858365d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 780e9a1105785afbc8a51337bad1a7f006b8a883f9a32e4530ca69b745451679
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "780e9a1105785afbc8a51337bad1a7f006b8a883f9a32e4530ca69b745451679", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.19
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling syn v1.0.35
[INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65
[INFO] [stderr] Compiling log v0.4.11
[INFO] [stderr] Compiling cfg-if v0.1.10
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling bumpalo v3.4.0
[INFO] [stderr] Compiling wasm-bindgen v0.2.65
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling pin-project-internal v0.4.22
[INFO] [stderr] Compiling proc-macro-nested v0.1.6
[INFO] [stderr] Compiling proc-macro-hack v0.5.16
[INFO] [stderr] Compiling serde_derive v1.0.114
[INFO] [stderr] Compiling futures-sink v0.3.5
[INFO] [stderr] Compiling futures-core v0.3.5
[INFO] [stderr] Compiling once_cell v1.4.0
[INFO] [stderr] Compiling serde v1.0.114
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling futures-io v0.3.5
[INFO] [stderr] Compiling slab v0.4.2
[INFO] [stderr] Compiling byteorder v1.3.4
[INFO] [stderr] Compiling anyhow v1.0.31
[INFO] [stderr] Compiling itoa v0.4.6
[INFO] [stderr] Compiling serde_json v1.0.56
[INFO] [stderr] Compiling bytes v0.5.6
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling yew v0.17.2
[INFO] [stderr] Compiling boolinator v2.4.0
[INFO] [stderr] Compiling cfg-match v0.2.1
[INFO] [stderr] Compiling anymap v0.12.1
[INFO] [stderr] Compiling futures-channel v0.3.5
[INFO] [stderr] Compiling futures-task v0.3.5
[INFO] [stderr] Compiling hashbrown v0.8.1
[INFO] [stderr] Compiling indexmap v1.5.0
[INFO] [stderr] Compiling http v0.2.1
[INFO] [stderr] Compiling quote v1.0.7
[INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65
[INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65
[INFO] [stderr] Compiling futures-macro v0.3.5
[INFO] [stderr] Compiling thiserror-impl v1.0.20
[INFO] [stderr] Compiling yew-macro v0.17.0
[INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65
[INFO] [stderr] Compiling thiserror v1.0.20
[INFO] [stderr] Compiling pin-project v0.4.22
[INFO] [stderr] Compiling futures-util v0.3.5
[INFO] [stderr] Compiling js-sys v0.3.42
[INFO] [stderr] Compiling console_error_panic_hook v0.1.6
[INFO] [stderr] Compiling web-sys v0.3.42
[INFO] [stderr] Compiling wasm-bindgen-futures v0.4.15
[INFO] [stderr] Compiling futures-executor v0.3.5
[INFO] [stderr] Compiling futures v0.3.5
[INFO] [stderr] Compiling bincode v1.3.1
[INFO] [stderr] Compiling gloo-events v0.1.1
[INFO] [stderr] Compiling gloo-timers v0.2.1
[INFO] [stderr] Compiling gloo-console-timer v0.1.0
[INFO] [stderr] Compiling gloo-file v0.1.0
[INFO] [stderr] Compiling gloo v0.2.1
[INFO] [stderr] Compiling yew-state v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "780e9a1105785afbc8a51337bad1a7f006b8a883f9a32e4530ca69b745451679", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "780e9a1105785afbc8a51337bad1a7f006b8a883f9a32e4530ca69b745451679", kill_on_drop: false }`
[INFO] [stdout] 780e9a1105785afbc8a51337bad1a7f006b8a883f9a32e4530ca69b745451679
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2e57d7e8ab9c4d2188c1c65dc2ecda717915689d5dd0b30dcfed1146779af9b9
[INFO] running `Command { std: "docker" "start" "-a" "2e57d7e8ab9c4d2188c1c65dc2ecda717915689d5dd0b30dcfed1146779af9b9", kill_on_drop: false }`
[INFO] [stderr] Compiling yew-state v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s
[INFO] running `Command { std: "docker" "inspect" "2e57d7e8ab9c4d2188c1c65dc2ecda717915689d5dd0b30dcfed1146779af9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e57d7e8ab9c4d2188c1c65dc2ecda717915689d5dd0b30dcfed1146779af9b9", kill_on_drop: false }`
[INFO] [stdout] 2e57d7e8ab9c4d2188c1c65dc2ecda717915689d5dd0b30dcfed1146779af9b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 66e86937157dd9b602d097f22d8d50b99d4549b74ef32c885e5392d1493f358a
[INFO] running `Command { std: "docker" "start" "-a" "66e86937157dd9b602d097f22d8d50b99d4549b74ef32c885e5392d1493f358a", kill_on_drop: false }`
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr] Running /opt/rustwide/target/debug/deps/yew_state-34608fa2bf4d09b6
[INFO] [stdout]
[INFO] [stderr] Doc-tests yew-state
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 53) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 73) ... ok
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error: cannot find macro `html` in this scope
[INFO] [stdout] --> src/lib.rs:34:1
[INFO] [stdout] |
[INFO] [stdout] 5 | html! {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout] --> src/lib.rs:33:15
[INFO] [stdout] |
[INFO] [stdout] 3 | / fn main() {
[INFO] [stdout] 4 | | let onclick = self.handle.reduce_callback(|state| *state += 1);
[INFO] [stdout] | | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 5 | | html! {
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | }
[INFO] [stdout] 8 | | }
[INFO] [stdout] | |_- this function doesn't have a `self` parameter
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 40) stdout ----
[INFO] [stdout] error: cannot find macro `html` in this scope
[INFO] [stdout] --> src/lib.rs:45:1
[INFO] [stdout] |
[INFO] [stdout] 7 | html! {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout] --> src/lib.rs:41:15
[INFO] [stdout] |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let oninput = self
[INFO] [stdout] | | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 4 | | .handle
[INFO] [stdout] 5 | | .reduce_callback_with(|state, i: InputData| state.user.name = i.value);
[INFO] [stdout] ... |
[INFO] [stdout] 9 | | }
[INFO] [stdout] 10 | | }
[INFO] [stdout] | |_- this function doesn't have a `self` parameter
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `InputData` in this scope
[INFO] [stdout] --> src/lib.rs:43:38
[INFO] [stdout] |
[INFO] [stdout] 5 | .reduce_callback_with(|state, i: InputData| state.user.name = i.value);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew::InputData;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout] --> src/lib.rs:21:13
[INFO] [stdout] |
[INFO] [stdout] 3 | let state: &T = self.handle.state();
[INFO] [stdout] | ^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout] --> src/lib.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 2 | / fn main() {
[INFO] [stdout] 3 | | let state: &T = self.handle.state();
[INFO] [stdout] | | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 4 | | }
[INFO] [stdout] | |_- this function doesn't have a `self` parameter
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 6) stdout ----
[INFO] [stdout] error: non-item in item list
[INFO] [stdout] --> src/lib.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 7 | impl Component for Model {
[INFO] [stdout] | - item list starts here
[INFO] [stdout] 8 | type Properties = GlobalHandle;
[INFO] [stdout] 9 | ...
[INFO] [stdout] | ^^^ non-item starts here
[INFO] [stdout] 10 | }
[INFO] [stdout] | - item list ends here
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `GlobalHandle` in this scope
[INFO] [stdout] --> src/lib.rs:8:13
[INFO] [stdout] |
[INFO] [stdout] 4 | handle: GlobalHandle,
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::GlobalHandle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout] --> src/lib.rs:8:26
[INFO] [stdout] |
[INFO] [stdout] 3 | struct Model {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] 4 | handle: GlobalHandle,
[INFO] [stdout] | ^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope
[INFO] [stdout] --> src/lib.rs:11:6
[INFO] [stdout] |
[INFO] [stdout] 7 | impl Component for Model {
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew::Component;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `GlobalHandle` in this scope
[INFO] [stdout] --> src/lib.rs:12:23
[INFO] [stdout] |
[INFO] [stdout] 8 | type Properties = GlobalHandle;
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::GlobalHandle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout] --> src/lib.rs:12:36
[INFO] [stdout] |
[INFO] [stdout] 8 | type Properties = GlobalHandle;
[INFO] [stdout] | ^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `SharedStateComponent` in this scope
[INFO] [stdout] --> src/lib.rs:16:20
[INFO] [stdout] |
[INFO] [stdout] 12 | type MyComponent = SharedStateComponent;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::SharedStateComponent;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 53) stdout ----
[INFO] [stdout] error: cannot find derive macro `Properties` in this scope
[INFO] [stdout] --> src/lib.rs:54:17
[INFO] [stdout] |
[INFO] [stdout] 3 | #[derive(Clone, Properties)]
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `prop_or_default` in this scope
[INFO] [stdout] --> src/lib.rs:56:7
[INFO] [stdout] |
[INFO] [stdout] 5 | #[prop_or_default]
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `GlobalHandle` in this scope
[INFO] [stdout] --> src/lib.rs:57:17
[INFO] [stdout] |
[INFO] [stdout] 6 | pub handle: GlobalHandle,
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::GlobalHandle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout] --> src/lib.rs:57:30
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct Props {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] 5 | #[prop_or_default]
[INFO] [stdout] 6 | pub handle: GlobalHandle,
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error[E0405]: cannot find trait `SharedState` in this scope
[INFO] [stdout] --> src/lib.rs:60:6
[INFO] [stdout] |
[INFO] [stdout] 9 | impl SharedState for Props {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::SharedState;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `GlobalHandle` in this scope
[INFO] [stdout] --> src/lib.rs:61:19
[INFO] [stdout] |
[INFO] [stdout] 10 | type Handle = GlobalHandle;
[INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout] |
[INFO] [stdout] 2 | use yew_state::GlobalHandle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout] --> src/lib.rs:61:32
[INFO] [stdout] |
[INFO] [stdout] 9 | impl SharedState for Props {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] 10 | type Handle = GlobalHandle;
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 25) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout] --> src/lib.rs:27:1
[INFO] [stdout] |
[INFO] [stdout] 3 | / fn main() {
[INFO] [stdout] 4 | | self.handle.reduce(|state| state.user = new_user);
[INFO] [stdout] | | ^^^^
[INFO] [stdout] | | |
[INFO] [stdout] | | `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 5 | | }
[INFO] [stdout] | |_- this function doesn't have a `self` parameter
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `new_user` in this scope
[INFO] [stdout] --> src/lib.rs:27:41
[INFO] [stdout] |
[INFO] [stdout] 4 | self.handle.reduce(|state| state.user = new_user);
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout] src/lib.rs - (line 20)
[INFO] [stdout] src/lib.rs - (line 25)
[INFO] [stdout] src/lib.rs - (line 31)
[INFO] [stdout] src/lib.rs - (line 40)
[INFO] [stdout] src/lib.rs - (line 53)
[INFO] [stdout] src/lib.rs - (line 6)
[INFO] [stdout]
[INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout]
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "66e86937157dd9b602d097f22d8d50b99d4549b74ef32c885e5392d1493f358a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66e86937157dd9b602d097f22d8d50b99d4549b74ef32c885e5392d1493f358a", kill_on_drop: false }`
[INFO] [stdout] 66e86937157dd9b602d097f22d8d50b99d4549b74ef32c885e5392d1493f358a