You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
**
Compiling teres v0.3.4 (/home/sam/.cache/yay/teres-git/src/teres-git)
error: expected identifier, found keyword as
--> src/config.rs:42:21
|
40 | pub struct Timescale {
| --------- while parsing this struct
41 | pub input: f32,
42 | pub output: f32,as saying cuz of dependencies being really annoying
| ^^ expected identifier, found keyword
error: expected identifier
--> src/config.rs:42:21
|
42 | pub output: f32,as saying cuz of dependencies being really annoying
| ^^
error[E0277]: the trait bound Timescale: Serialize is not satisfied
--> src/config.rs:6:17
|
6 | #[derive(Debug, Serialize, Deserialize, Clone)]
| ^^^^^^^^^ the trait Serialize is not implemented for Timescale
...
11 | pub timescale: Timescale,
| --- required by a bound introduced by this call
|
= help: the following other types implement trait Serialize:
bool
char
isize
i8
i16
i32
i64
i128
and 139 others
note: required by a bound in config::_::_serde::ser::SerializeStruct::serialize_field
--> /home/sam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.149/src/ser/mod.rs:1899:12
|
1893 | fn serialize_field<T: ?Sized>(
| --------------- required by a bound in this associated function
...
1899 | T: Serialize;
| ^^^^^^^^^ required by this bound in SerializeStruct::serialize_field
error[E0277]: the trait bound Timescale: Deserialize<'_> is not satisfied
--> src/config.rs:11:20
|
11 | pub timescale: Timescale,
| ^^^^^^^^^ the trait Deserialize<'_> is not implemented for Timescale
|
= help: the following other types implement trait Deserialize<'de>:
bool
char
isize
i8
i16
i32
i64
i128
and 147 others
note: required by a bound in next_element
--> /home/sam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.149/src/de/mod.rs:1730:12
|
1728 | fn next_element(&mut self) -> Result<Option, Self::Error>
| ------------ required by a bound in this associated function
1729 | where
1730 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in SeqAccess::next_element
error[E0277]: the trait bound Timescale: Deserialize<'_> is not satisfied
--> src/config.rs:11:20
|
11 | pub timescale: Timescale,
| ^^^^^^^^^ the trait Deserialize<'_> is not implemented for Timescale
|
= help: the following other types implement trait Deserialize<'de>:
bool
char
isize
i8
i16
i32
i64
i128
and 147 others
note: required by a bound in next_value
--> /home/sam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.149/src/de/mod.rs:1869:12
|
1867 | fn next_value(&mut self) -> Result<V, Self::Error>
| ---------- required by a bound in this associated function
1868 | where
1869 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in MapAccess::next_value
error[E0277]: the trait bound Timescale: Deserialize<'_> is not satisfied
--> src/config.rs:11:5
|
11 | pub timescale: Timescale,
| ^^^ the trait Deserialize<'_> is not implemented for Timescale
|
= help: the following other types implement trait Deserialize<'de>:
bool
char
isize
i8
i16
i32
i64
i128
and 147 others
note: required by a bound in config::_::_serde::__private::de::missing_field
--> /home/sam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.149/src/private/de.rs:22:8
|
20 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
| ------------- required by a bound in this function
21 | where
22 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in missing_field
error[E0609]: no field adjust_audio_pitch on type Timescale
--> src/rendering.rs:205:35
|
205 | if settings.timescale.adjust_audio_pitch {
| ^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: input, output
Some errors have detailed explanations: E0277, E0609.
For more information about an error, try rustc --explain E0277.
error: could not compile teres (bin "teres") due to 7 previous errors
==> ERROR: A failure occurred in build().
Aborting...
-> error making: teres-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
teres-git - exit status 4
** To Reproduce
Steps to reproduce the behavior:
Compile teres-git from the AUR using arch linux and rustup default stable or nightly
Expected behavior
A clear and concise description of what you expected to happen.
Successful compilation
Desktop (please complete the following information):
Arch Linux CachyOS x86_64
rustup 1.26.0-3
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
**
**
To Reproduce
Steps to reproduce the behavior:
Compile teres-git from the AUR using arch linux and rustup default stable or nightly
Expected behavior
A clear and concise description of what you expected to happen.
Successful compilation
Desktop (please complete the following information):
Arch Linux CachyOS x86_64
rustup 1.26.0-3
The text was updated successfully, but these errors were encountered: