Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [cargo-make] INFO - cargo make 0.37.9
- [cargo-make] INFO - Calling cargo metadata to extract project info
- [cargo-make] INFO - Cargo metadata done
- [cargo-make] INFO - Project: webapp
- [cargo-make] INFO - Build File: Makefile.toml
- [cargo-make] INFO - Task: build
- [cargo-make] INFO - Profile: development
- [cargo-make] INFO - Running Task: legacy-migration
- [cargo-make] INFO - Execute Command: "cargo" "build"
- Compiling proc-macro2 v1.0.78
- Compiling unicode-ident v1.0.12
- Compiling wasm-bindgen-shared v0.2.91
- Compiling autocfg v1.1.0
- Compiling bumpalo v3.15.0
- Compiling serde v1.0.196
- Compiling once_cell v1.19.0
- Compiling log v0.4.20
- Compiling cfg-if v1.0.0
- Compiling serde_json v1.0.113
- Compiling ryu v1.0.16
- Compiling wasm-bindgen v0.2.91
- Compiling itoa v1.0.10
- Compiling version_check v0.9.4
- Compiling libc v0.2.153
- Compiling tinyvec_macros v0.1.1
- Compiling futures-sink v0.3.30
- Compiling tinyvec v1.6.0
- Compiling futures-core v0.3.30
- Compiling slab v0.4.9
- Compiling memchr v2.7.1
- Compiling futures-channel v0.3.30
- Compiling pin-utils v0.1.0
- Compiling version_check v0.1.5
- Compiling matches v0.1.10
- Compiling unicase v2.7.0
- Compiling futures-task v0.3.30
- Compiling pin-project-lite v0.2.13
- Compiling quote v1.0.35
- Compiling futures-io v0.3.30
- Compiling unicode-bidi v0.3.15
- Compiling dbg v1.0.4
- Compiling indexmap v1.9.3
- Compiling syn v2.0.49
- Compiling unicode-width v0.1.11
- Compiling percent-encoding v1.0.1
- Compiling pulldown-cmark v0.6.1
- Compiling getopts v0.2.21
- Compiling unicode-normalization v0.1.22
- Compiling seed v0.6.0
- Compiling time v0.1.45
- Compiling bitflags v1.3.2
- Compiling hashbrown v0.12.3
- Compiling getrandom v0.2.12
- Compiling idna v0.1.5
- Compiling enclose v1.1.8
- Compiling uuid v0.8.2
- Compiling url v1.7.2
- Compiling cookie v0.12.0
- Compiling wasm-bindgen-backend v0.2.91
- Compiling serde_derive v1.0.196
- Compiling futures-macro v0.3.30
- Compiling wasm-bindgen-macro-support v0.2.91
- Compiling wasm-bindgen-macro v0.2.91
- Compiling futures-util v0.3.30
- Compiling futures-executor v0.3.30
- Compiling futures v0.3.30
- Compiling js-sys v0.3.68
- Compiling console_error_panic_hook v0.1.7
- Compiling web-sys v0.3.68
- Compiling wasm-bindgen-futures v0.4.41
- Compiling gloo-timers v0.2.6
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: cannot satisfy `_: WasmClosure`
- = help: the following types implement trait `WasmClosure`:
- (dyn Fn() -> R + 'static)
- (dyn for<'a> Fn(&'a A) -> R + 'static)
- (dyn Fn(A) -> R + 'static)
- (dyn Fn(A, B) -> R + 'static)
- (dyn Fn(A, B, C) -> R + 'static)
- (dyn Fn(A, B, C, D) -> R + 'static)
- (dyn Fn(A, B, C, D, E) -> R + 'static)
- (dyn Fn(A, B, C, D, E, F) -> R + 'static)
- and 12 others
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:253:17
- |
- 253 | T: ?Sized + WasmClosure,
- | ^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- ...
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: multiple `impl`s satisfying `{closure@/home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:32: 113:60}: IntoWasmClosure<_>` found in the `wasm_bindgen` crate:
- - impl<T, A, R> IntoWasmClosure<(dyn Fn(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: Fn(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- - impl<T, A, R> IntoWasmClosure<(dyn FnMut(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: FnMut(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:273:12
- |
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- 272 | where
- 273 | F: IntoWasmClosure<T> + 'static,
- | ^^^^^^^^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- For more information about this error, try `rustc --explain E0283`.
- error: could not compile `seed` (lib) due to 2 previous errors
- warning: build failed, waiting for other jobs to finish...
- [cargo-make] ERROR - Error while executing command, exit code: 101
- [cargo-make] WARN - Build Failed.
- terfy@srv667508:~/aiode/src/main/webapp$ cargo make build
- [cargo-make] INFO - cargo make 0.37.9
- [cargo-make] INFO - Calling cargo metadata to extract project info
- [cargo-make] INFO - Cargo metadata done
- [cargo-make] INFO - Project: webapp
- [cargo-make] INFO - Build File: Makefile.toml
- [cargo-make] INFO - Task: build
- [cargo-make] INFO - Profile: development
- [cargo-make] INFO - Running Task: legacy-migration
- [cargo-make] INFO - Execute Command: "cargo" "build"
- Compiling seed v0.6.0
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: cannot satisfy `_: WasmClosure`
- = help: the following types implement trait `WasmClosure`:
- (dyn Fn() -> R + 'static)
- (dyn for<'a> Fn(&'a A) -> R + 'static)
- (dyn Fn(A) -> R + 'static)
- (dyn Fn(A, B) -> R + 'static)
- (dyn Fn(A, B, C) -> R + 'static)
- (dyn Fn(A, B, C, D) -> R + 'static)
- (dyn Fn(A, B, C, D, E) -> R + 'static)
- (dyn Fn(A, B, C, D, E, F) -> R + 'static)
- and 12 others
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:253:17
- |
- 253 | T: ?Sized + WasmClosure,
- | ^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- ...
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: multiple `impl`s satisfying `{closure@/home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:32: 113:60}: IntoWasmClosure<_>` found in the `wasm_bindgen` crate:
- - impl<T, A, R> IntoWasmClosure<(dyn Fn(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: Fn(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- - impl<T, A, R> IntoWasmClosure<(dyn FnMut(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: FnMut(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:273:12
- |
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- 272 | where
- 273 | F: IntoWasmClosure<T> + 'static,
- | ^^^^^^^^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- For more information about this error, try `rustc --explain E0283`.
- error: could not compile `seed` (lib) due to 2 previous errors
- [cargo-make] ERROR - Error while executing command, exit code: 101
- [cargo-make] WARN - Build Failed.
- terfy@srv667508:~/aiode/src/main/webapp$ rustc --explain E0283 cargo make buildE0283
- [cargo-make] INFO - cargo make 0.37.9
- [cargo-make] INFO - Calling cargo metadata to extract project info
- [cargo-make] INFO - Cargo metadata done
- [cargo-make] INFO - Project: webapp
- [cargo-make] INFO - Build File: Makefile.toml
- [cargo-make] INFO - Task: build
- [cargo-make] INFO - Profile: development
- [cargo-make] INFO - Running Task: legacy-migration
- [cargo-make] INFO - Execute Command: "cargo" "build"
- Compiling seed v0.6.0
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: cannot satisfy `_: WasmClosure`
- = help: the following types implement trait `WasmClosure`:
- (dyn Fn() -> R + 'static)
- (dyn for<'a> Fn(&'a A) -> R + 'static)
- (dyn Fn(A) -> R + 'static)
- (dyn Fn(A, B) -> R + 'static)
- (dyn Fn(A, B, C) -> R + 'static)
- (dyn Fn(A, B, C, D) -> R + 'static)
- (dyn Fn(A, B, C, D, E) -> R + 'static)
- (dyn Fn(A, B, C, D, E, F) -> R + 'static)
- and 12 others
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:253:17
- |
- 253 | T: ?Sized + WasmClosure,
- | ^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- ...
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- error[E0283]: type annotations needed for `Closure<T>`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
- |
- 113 | let closure = Closure::new(move |event: web_sys::Event| {
- | ^^^^^^^ ------------ type must be known at this point
- |
- = note: multiple `impl`s satisfying `{closure@/home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:32: 113:60}: IntoWasmClosure<_>` found in the `wasm_bindgen` crate:
- - impl<T, A, R> IntoWasmClosure<(dyn Fn(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: Fn(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- - impl<T, A, R> IntoWasmClosure<(dyn FnMut(A) -> R + 'static)> for T
- where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: FnMut(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
- note: required by a bound in `Closure::<T>::new`
- --> /home/terfy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.91/src/closure.rs:273:12
- |
- 271 | pub fn new<F>(t: F) -> Closure<T>
- | --- required by a bound in this associated function
- 272 | where
- 273 | F: IntoWasmClosure<T> + 'static,
- | ^^^^^^^^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
- help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
- |
- 113 | let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
- | ++++++++++++
- For more information about this error, try `rustc --explain E0283`.
- error: could not compile `seed` (lib) due to 2 previous errors
- [cargo-make] ERROR - Error while executing command, exit code: 101
- [cargo-make] WARN - Build Failed.
Advertisement
Comments
-
- I don't have any knowledge of cargo or rust, so I've got no idea how to fix this.
- I'm just trying to host a music bot
Add Comment
Please, Sign In to add comment
Advertisement