Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev]: Write a small documentation for the assembly from the source #79

Open
lotigara opened this issue Oct 5, 2023 · 10 comments
Open
Labels
todo Will be resolved but work hasn't started

Comments

@lotigara
Copy link

lotigara commented Oct 5, 2023

Unmet Need:

Instructions for assembling the bot from the source code.

Solution:

Write a detailed instruction on assemble the bot from the source code, that is, how to install Rust, how to сlone the repository and so on.

Challenges/Considerations:

I don't think they will be, since it has nothing to do with the code base (sumendingly), it's just a small bot assemble from the source code.

@lotigara lotigara added the todo Will be resolved but work hasn't started label Oct 5, 2023
@TylerBloom
Copy link
Member

To install Rust, follow the instructions on the language's website (linked below). After that, you just need to run cargo build (or cargo build --release for a production version) at the root of the repo. That will compile the binary and put it in the target/ directory. If you want to run the application, either run the binary directly or use cargo run/cargo run --release. Please let me know if you have any other questions.

https://www.rust-lang.org/tools/install

@lotigara
Copy link
Author

lotigara commented Oct 6, 2023

Thank you very much! However, cargo writes this error:

~/SquireBot $ cargo build --release
    Compiling proc-macro2 v1.0.68
    Compiling libc v0.2.148
    Compiling serde v1.0.188
    Compiling futures-core v0.3.28
    Compiling ahash v0.7.6
    Compiling spin v0.5.2
    Compiling untrusted v0.7.1
error: linker `cc` not found
    |
   = note: No such file or directory (os error 2)

error: could not compile `futures-core` (build script) due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `ahash` (build script) due to previous error
error: could not compile `serde` (build script) due to previous error
error: could not compile `libc` (build script) due to previous error
error: could not compile `proc-macro2` (build script) due to previous error
error: could not compile `libc` (build script) due to previous error
~/SquireBot $

P.S. I also cloned the SquireCore repo, because cargo swore at absence of SquireCore repo. I mean, SquireBot and SquireCore repos are put in the same directory ($HOME).

@lotigara
Copy link
Author

lotigara commented Oct 7, 2023

Okay, I installed openssl, openssl-devel and gcc packages on my openSUSE Tumbleweed on Windows 10 x86_64. However, cargo build --release evokes the following:

~/SquireBot $ cargo build --release
Compiling serde v1.0.188
Compiling tokio v1.32.0
Compiling openssl-sys v0.9.93
Compiling futures-util v0.3.28                                                                                                                                                                                                               Compiling httparse v1.8.0                                                                                                                                                                                                                    Compiling tracing v0.1.37                                                                                                                                                                                                                    Compiling sct v0.7.0                                                                                                                                                                                                                         Compiling unicase v2.7.0                                                                                                                                                                                                                     Compiling generic-array v0.14.7                                                                                                                                                                                                              Compiling openssl v0.10.57                                                                                                                                                                                                                   Compiling foreign-types-shared v0.1.1                                                                                                                                                                                                        Compiling foreign-types v0.3.2                                                                                                                                                                                                               Compiling indexmap v1.9.3                                                                                                                                                                                                                    Compiling typenum v1.17.0                                                                                                                                                                                                                    Compiling num-traits v0.2.16                                                                                                                                                                                                                 Compiling openssl-macros v0.1.1                                                                                                                                                                                                              Compiling memoffset v0.9.0                                                                                                                                                                                                                   Compiling try-lock v0.2.4                                                                                                                                                                                                                    Compiling tinyvec_macros v0.1.1                                                                                                                                                                                                              Compiling crossbeam-utils v0.8.16                                                                                                                                                                                                            Compiling native-tls v0.2.11                                                                                                                                                                                                                 Compiling scopeguard v1.2.0                                                                                                                                                                                                                  Compiling tinyvec v1.6.0                                                                                                                                                                                                                     Compiling want v0.3.1                                                                                                                                                                                                                        Compiling http-body v0.4.5                                                                                                                                                                                                                   Compiling socket2 v0.4.9                                                                                                                                                                                                                     Compiling crossbeam-epoch v0.9.15                                                                                                                                                                                                            Compiling httpdate v1.0.3                                                                                                                                                                                                                    Compiling openssl-probe v0.1.5                                                                                                                                                                                                               Compiling tower-service v0.3.2                                                                                                                                                                                                               Compiling percent-encoding v2.3.0                                                                                                                                                                                                            Compiling form_urlencoded v1.2.0                                                                                                                                                                                                             Compiling unicode-normalization v0.1.22                                                                                                                                                                                                      Compiling darling_core v0.13.4                                                                                                                                                                                                               Compiling webpki v0.22.2                                                                                                                                                                                                                     Compiling rustls v0.21.7                                                                                                                                                                                                                     Compiling either v1.9.0                                                                                                                                                                                                                      Compiling rustls v0.20.9                                                                                                                                                                                                                     Compiling serde_json v1.0.107                                                                                                                                                                                                                Compiling unicode-bidi v0.3.13                                                                                                                                                                                                               Compiling ryu v1.0.15                                                                                                                                                                                                                        Compiling idna v0.4.0                                                                                                                                                                                                                        Compiling block-buffer v0.10.4                                                                                                                                                                                                               Compiling crypto-common v0.1.6                                                                                                                                                                                                               Compiling darling_core v0.20.3                                                                                                                                                                                                               Compiling rustls-webpki v0.101.6                                                                                                                                                                                                             Compiling rand_core v0.6.4                                                                                                                                                                                                                   Compiling lock_api v0.4.10                                                                                                                                                                                                                   Compiling num-integer v0.1.45                                                                                                                                                                                                                Compiling parking_lot_core v0.9.8                                                                                                                                                                                                            Compiling tokio-util v0.7.9                                                                                                                                                                                                                  Compiling darling_macro v0.13.4                                                                                                                                                                                                              Compiling tokio-native-tls v0.3.1                                                                                                                                                                                                            Compiling byteorder v1.5.0                                                                                                                                                                                                                   Compiling lazy_static v1.4.0                                                                                                                                                                                                                 Compiling rayon-core v1.12.0                                                                                                                                                                                                                 Compiling ppv-lite86 v0.2.17                                                                                                                                                                                                                 Compiling thiserror v1.0.49                                                                                                                                                                                                                  Compiling darling v0.13.4                                                                                                                                                                                                                    Compiling h2 v0.3.21                                                                                                                                                                                                                         Compiling darling_macro v0.20.3                                                                                                                                                                                                              Compiling rand_chacha v0.3.1                                                                                                                                                                                                                 Compiling url v2.4.1                                                                                                                                                                                                                         Compiling mime_guess v2.0.4                                                                                                                                                                                                                  Compiling digest v0.10.7                                                                                                                                                                                                                     Compiling crossbeam-deque v0.8.3                                                                                                                                                                                                             Compiling thiserror-impl v1.0.49                                                                                                                                                                                                             Compiling aho-corasick v1.1.1                                                                                                                                                                                                                Compiling num-bigint v0.4.4                                                                                                                                                                                                                  Compiling hyper v0.14.27                                                                                                                                                                                                                     Compiling smallvec v1.11.1                                                                                                                                                                                                                   Compiling cpufeatures v0.2.9                                                                                                                                                                                                                 Compiling sha1_smol v1.0.0                                                                                                                                                                                                                   Compiling crc32fast v1.3.2                                                                                                                                                                                                                   Compiling regex-syntax v0.7.5                                                                                                                                                                                                                Compiling sha1 v0.6.1                                                                                                                                                                                                                        Compiling sha-1 v0.10.1                                                                                                                                                                                                                      Compiling hyper-tls v0.5.0                                                                                                                                                                                                                   Compiling tokio-rustls v0.24.1                                                                                                                                                                                                               Compiling rand v0.8.5                                                                                                                                                                                                                        Compiling regex-automata v0.3.9                                                                                                                                                                                                              Compiling darling v0.20.3                                                                                                                                                                                                                    Compiling serde_with_macros v1.5.2                                                                                                                                                                                                           Compiling num-rational v0.4.1                                                                                                                                                                                                                Compiling adler v1.0.2                                                                                                                                                                                                                       Compiling utf-8 v0.7.6                                                                                                                                                                                                                       Compiling ucd-util v0.1.10                                                                                                                                                                                                                   Compiling base64 v0.21.4                                                                                                                                                                                                                     Compiling regex v0.2.11                                                                                                                                                                                                                      Compiling async-trait v0.1.73                                                                                                                                                                                                                Compiling rustix v0.38.17                                                                                                                                                                                                                    Compiling base64 v0.13.1                                                                                                                                                                                                                     Compiling iana-time-zone v0.1.57                                                                                                                                                                                                             Compiling mime v0.3.17                                                                                                                                                                                                                       Compiling tungstenite v0.17.3                                                                                                                                                                                                                Compiling chrono v0.4.31                                                                                                                                                                                                                     Compiling rustls-pemfile v1.0.3                                                                                                                                                                                                              Compiling regex-syntax v0.5.6                                                                                                                                                                                                                Compiling miniz_oxide v0.7.1                                                                                                                                                                                                                 Compiling regex v1.9.6                                                                                                                                                                                                                       Compiling serde_with v1.14.0                                                                                                                                                                                                                 Compiling serde_with_macros v3.3.0                                                                                                                                                                                                           Compiling rayon v1.8.0                                                                                                                                                                                                                       Compiling hyper-rustls v0.24.1                                                                                                                                                                                                               Compiling uuid v0.8.2                                                                                                                                                                                                                        Compiling tokio-rustls v0.23.4                                                                                                                                                                                                               Compiling thread_local v0.3.6                                                                                                                                                                                                                Compiling serde_urlencoded v0.7.1                                                                                                                                                                                                            Compiling webpki-roots v0.22.6                                                                                                                                                                                                               Compiling deranged v0.3.8                                                                                                                                                                                                                    Compiling cycle_map v0.1.1                                                                                                                                                                                                                   Compiling hashbag v0.1.11                                                                                                                                                                                                                    Compiling ordered-float v2.10.0                                                                                                                                                                                                              Compiling aho-corasick v0.6.10                                                                                                                                                                                                               Compiling encoding_rs v0.8.33                                                                                                                                                                                                                Compiling utf8-ranges v1.0.5                                                                                                                                                                                                                 Compiling ipnet v2.8.0                                                                                                                                                                                                                       Compiling time-core v0.1.2                                                                                                                                                                                                                   Compiling hashbrown v0.14.1                                                                                                                                                                                                                  Compiling linux-raw-sys v0.4.8                                                                                                                                                                                                               Compiling serenity v0.11.6                                                                                                                                                                                                                   Compiling utf8-width v0.1.6                                                                                                                                                                                                                  Compiling webpki-roots v0.25.2                                                                                                                                                                                                               Compiling html-escape v0.2.13                                                                                                                                                                                                                Compiling dashmap v5.5.3                                                                                                                                                                                                                     Compiling reqwest v0.11.22                                                                                                                                                                                                                   Compiling time v0.3.29                                                                                                                                                                                                                       Compiling serde-value v0.7.0                                                                                                                                                                                                                 Compiling mtgjson v0.1.0-pre-alpha.1 (https://github.com/TylerBloom/mtgjson-rust-sdk?rev=979ffccde3b0eecd230c2f067e18383ed804c5f3#979ffccd)                                                                                                  Compiling async-tungstenite v0.17.2                                                                                                                                                                                                          Compiling serde_with v3.3.0                                                                                                                                                                                                                  Compiling flate2 v1.0.27                                                                                                                                                                                                                     Compiling parking_lot v0.12.1                                                                                                                                                                                                                Compiling fxhash v0.2.1                                                                                                                                                                                                                      Compiling itertools v0.11.0                                                                                                                                                                                                                  Compiling futures v0.3.28                                                                                                                                                                                                                    Compiling uuid v1.4.1                                                                                                                                                                                                                        Compiling cycle_map v0.2.0                                                                                                                                                                                                                   Compiling command_attr v0.4.2                                                                                                                                                                                                                Compiling deterministic-hash v1.0.1                                                                                                                                                                                                          Compiling static_assertions v1.1.0                                                                                                                                                                                                           Compiling uwl v0.6.0                                                                                                                                                                                                                         Compiling fastrand v2.0.1                                                                                                                                                                                                                    Compiling levenshtein v1.0.5                                                                                                                                                                                                                 Compiling bitflags v1.3.2                                                                                                                                                                                                                    Compiling typemap_rev v0.1.5                                                                                                                                                                                                                 Compiling tempfile v3.8.0                                                                                                                                                                                                                    Compiling squire_lib v0.1.0 (/home/vanya/SquireCore/squire_lib)                                                                                                                                                                              Compiling dotenv v0.9.0                                                                                                                                                                                                                      Compiling itertools v0.10.5                                                                                                                                                                                                                  Compiling squire_bot v0.1.0-pre-alpha.1 (/home/vanya/SquireBot)                                                                                                                                                                           error[E0425]: cannot find value `ISSUE_CHANNEL_ID` in this scope                                                                                                                                                                                --> src/main.rs:580:35                                                                                                                                                                                                                        |                                                                                                                                                                                                                                        580 |         .get_channel(env_vars.get(ISSUE_CHANNEL_ID).unwrap().parse().unwrap())                                                                                                                                                             |                                   ^^^^^^^^^^^^^^^^ not found in this scope                                                                                                                                                                                                                                                                                                                                                                                                          error[E0425]: cannot find value `TELEMETRY_CHANNEL_ID` in this scope                                                                                                                                                                            --> src/main.rs:593:35                                                                                                                                                                                                                        |                                                                                                                                                                                                                                        593 |         .get_channel(env_vars.get(TELEMETRY_CHANNEL_ID).unwrap().parse().unwrap())                                                                                                                                                         |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope                                                                                                                                                                                                                                                                                                                                                                                                      error[E0599]: no function or associated item named `new` found for struct `TournamentSettingsTree` in the current scope                                                                                                                        --> src/model/guilds/guild_settings.rs:48:53                                                                                                                                                                                                  |                                                                                                                                                                                                                                         48 |             tourn_settings: TournamentSettingsTree::new(TournamentPreset::Swiss),                                                                                                                                                          |                                                     ^^^ function or associated item not found in `TournamentSettingsTree`                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                       help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                          |                                                                                                                                                                                                                                         1  + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      error[E0599]: no method named `iter` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                            --> src/model/guilds/guild_settings.rs:74:43                                                                                                                                                                                                  |                                                                                                                                                                                                                                         74 |             for op in self.tourn_settings.iter() {                                                                                                                                                                                         |                                           ^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:31:8                                                                                                                                                                                |                                                                                                                                                                                                                                         31 |     fn iter(&self) -> Box<dyn Iterator<Item = Self::Setting>>;                                                                                                                                                                             |        ---- the method is available for `TournamentSettingsTree` here                                                                                                                                                                      |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                       help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                          |                                                                                                                                                                                                                                         1  + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      error[E0599]: no function or associated item named `new` found for struct `TournamentSettingsTree` in the current scope                                                                                                                         --> src/model/guilds/guild_settings.rs:100:53                                                                                                                                                                                                 |                                                                                                                                                                                                                                        100 |             tourn_settings: TournamentSettingsTree::new(TournamentPreset::Swiss),                                                                                                                                                          |                                                     ^^^ function or associated item not found in `TournamentSettingsTree`                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:293:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        291 | /             reg.settings                                                                                                                                                                                                             292 | |                 .tourn_settings                                                                                                                                                                                                      293 | |                 .update(GeneralSetting::Format(val).into());                                                                                                                                                                             | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:334:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        332 | /             reg.settings                                                                                                                                                                                                             333 | |                 .tourn_settings                                                                                                                                                                                                      334 | |                 .update(GeneralSetting::MinDeckCount(val).into());                                                                                                                                                                       | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:363:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        361 | /             reg.settings                                                                                                                                                                                                             362 | |                 .tourn_settings                                                                                                                                                                                                      363 | |                 .update(GeneralSetting::MaxDeckCount(val).into());                                                                                                                                                                       | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:402:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        400 | /             reg.settings                                                                                                                                                                                                             401 | |                 .tourn_settings                                                                                                                                                                                                      402 | |                 .update(GeneralSetting::RequireCheckIn(b).into());                                                                                                                                                                       | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:440:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        438 | /             reg.settings                                                                                                                                                                                                             439 | |                 .tourn_settings                                                                                                                                                                                                      440 | |                 .update(GeneralSetting::RequireDeckReg(b).into());                                                                                                                                                                       | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:481:22                                                                                                                                                                                            |                                                                                                                                                                                                                                        479 | /                 reg.settings                                                                                                                                                                                                         480 | |                     .tourn_settings                                                                                                                                                                                                  481 | |                     .update(CommonPairingSetting::Algorithm(PairingAlgorithm::Greedy).into());                                                                                                                                           | |                     -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                 | |_____________________|                                                                                                                                                                                                                    |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:523:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        521 | /             reg.settings                                                                                                                                                                                                             522 | |                 .tourn_settings                                                                                                                                                                                                      523 | |                 .update(CommonPairingSetting::MatchSize(val).into());                                                                                                                                                                    | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:555:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        553 | /             reg.settings                                                                                                                                                                                                             554 | |                 .tourn_settings                                                                                                                                                                                                      555 | |                 .update(CommonPairingSetting::RepairTolerance(val).into());                                                                                                                                                              | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:603:41                                                                                                                                                                                            |                                                                                                                                                                                                                                        603 |             reg.settings.tourn_settings.update(setting.into());                                                                                                                                                                            |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:684:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        682 | /         reg.settings                                                                                                                                                                                                                 683 | |             .tourn_settings                                                                                                                                                                                                          684 | |             .update(MatchWinPoints(val).into());                                                                                                                                                                                         | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:716:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        714 | /         reg.settings                                                                                                                                                                                                                 715 | |             .tourn_settings                                                                                                                                                                                                          716 | |             .update(MatchDrawPoints(val).into());                                                                                                                                                                                        | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:748:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        746 | /         reg.settings                                                                                                                                                                                                                 747 | |             .tourn_settings                                                                                                                                                                                                          748 | |             .update(MatchLossPoints(val).into());                                                                                                                                                                                        | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:780:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        778 | /         reg.settings                                                                                                                                                                                                                 779 | |             .tourn_settings                                                                                                                                                                                                          780 | |             .update(GameWinPoints(val).into());                                                                                                                                                                                          | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:812:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        810 | /         reg.settings                                                                                                                                                                                                                 811 | |             .tourn_settings                                                                                                                                                                                                          812 | |             .update(GameDrawPoints(val).into());                                                                                                                                                                                         | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:844:14                                                                                                                                                                                            |                                                                                                                                                                                                                                        842 | /         reg.settings                                                                                                                                                                                                                 843 | |             .tourn_settings                                                                                                                                                                                                          844 | |             .update(GameLossPoints(val).into());                                                                                                                                                                                         | |             -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                         | |_____________|                                                                                                                                                                                                                            |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:876:37                                                                                                                                                                                            |                                                                                                                                                                                                                                        876 |         reg.settings.tourn_settings.update(ByePoints(val).into());                                                                                                                                                                         |                                     ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                    |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:910:41                                                                                                                                                                                            |                                                                                                                                                                                                                                        910 |             reg.settings.tourn_settings.update(IncludeByes(b).into());                                                                                                                                                                     |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:949:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        947 | /             reg.settings                                                                                                                                                                                                             948 | |                 .tourn_settings                                                                                                                                                                                                      949 | |                 .update(IncludeMatchPoints(b).into());                                                                                                                                                                                   | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                           --> src/setup_commands/defaults_commands.rs:988:18                                                                                                                                                                                            |                                                                                                                                                                                                                                        986 | /             reg.settings                                                                                                                                                                                                             987 | |                 .tourn_settings                                                                                                                                                                                                      988 | |                 .update(IncludeGamePoints(b).into());                                                                                                                                                                                    | |                 -^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                                     | |_________________|                                                                                                                                                                                                                        |                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                        28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                            |          ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                  |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                      help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                           |                                                                                                                                                                                                                                        1   + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                            --> src/setup_commands/defaults_commands.rs:1025:41                                                                                                                                                                                           |                                                                                                                                                                                                                                       1025 |             reg.settings.tourn_settings.update(IncludeMwp(b).into());                                                                                                                                                                      |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                       28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                     help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                            |                                                                                                                                                                                                                                       1    + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                            --> src/setup_commands/defaults_commands.rs:1062:41                                                                                                                                                                                           |                                                                                                                                                                                                                                       1062 |             reg.settings.tourn_settings.update(IncludeGwp(b).into());                                                                                                                                                                      |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                       28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                     help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                            |                                                                                                                                                                                                                                       1    + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                            --> src/setup_commands/defaults_commands.rs:1099:41                                                                                                                                                                                           |                                                                                                                                                                                                                                       1099 |             reg.settings.tourn_settings.update(IncludeOppMwp(b).into());                                                                                                                                                                   |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                       28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                     help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                            |                                                                                                                                                                                                                                       1    + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope                                                                                                                                            --> src/setup_commands/defaults_commands.rs:1136:41                                                                                                                                                                                           |                                                                                                                                                                                                                                       1136 |             reg.settings.tourn_settings.update(IncludeOppGwp(b).into());                                                                                                                                                                   |                                         ^^^^^^ method not found in `TournamentSettingsTree`                                                                                                                                                |                                                                                                                                                                                                                                           ::: /home/vanya/SquireCore/squire_lib/src/settings/mod.rs:28:8                                                                                                                                                                                |                                                                                                                                                                                                                                       28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;                                                                                                                                                                              |        ------ the method is available for `TournamentSettingsTree` here                                                                                                                                                                    |                                                                                                                                                                                                                                            = help: items from traits can only be used if the trait is in scope                                                                                                                                                                     help: the following trait is implemented but not in scope; perhaps add a `use` for it:                                                                                                                                                            |                                                                                                                                                                                                                                       1    + use squire_lib::settings::SettingsTree;                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Some errors have detailed explanations: E0425, E0599.                                                                                                                                                                                        For more information about an error, try `rustc --explain E0425`.                                                                                                                                                                            error: could not compile `squire_bot` (bin "squire_bot") due to 28 previous errors
~/SquireBot $

@djpiper28
Copy link
Collaborator

You need nightly rust. Rustup default nightly. That might help you

@lotigara
Copy link
Author

Hmmm... I installed nightly Rust via rustup (it's form Arch Linux's repos), but there's following output:

❯ cargo build
    Updating crates.io index
    Updating git repository `https://github.com/TylerBloom/mtgjson-rust-sdk`
   Compiling proc-macro2 v1.0.70
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.150
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
   Compiling once_cell v1.19.0
   Compiling serde v1.0.193
   Compiling fnv v1.0.7
   Compiling log v0.4.20
   Compiling pin-project-lite v0.2.13
   Compiling bytes v1.5.0
   Compiling memchr v2.6.4
   Compiling futures-core v0.3.29
   Compiling itoa v1.0.10
   Compiling untrusted v0.9.0
   Compiling spin v0.9.8
   Compiling futures-task v0.3.29
   Compiling futures-channel v0.3.29
   Compiling vcpkg v0.2.15
   Compiling pkg-config v0.3.27
   Compiling futures-sink v0.3.29
   Compiling slab v0.4.9
   Compiling strsim v0.10.0
   Compiling futures-util v0.3.29
   Compiling ident_case v1.0.1
   Compiling http v0.2.11
   Compiling syn v1.0.109
   Compiling httparse v1.8.0
   Compiling futures-io v0.3.29
   Compiling pin-utils v0.1.0
   Compiling num-traits v0.2.17
   Compiling quote v1.0.33
   Compiling tracing-core v0.1.32
   Compiling syn v2.0.39
   Compiling bitflags v2.4.1
   Compiling hashbrown v0.14.3
   Compiling cc v1.0.83
   Compiling getrandom v0.2.11
   Compiling socket2 v0.5.5
   Compiling mio v0.8.10
   Compiling num_cpus v1.16.0
   Compiling typenum v1.17.0
   Compiling generic-array v0.14.7
   Compiling foreign-types-shared v0.1.1
   Compiling openssl v0.10.61
   Compiling equivalent v1.0.1
   Compiling indexmap v2.1.0
   Compiling foreign-types v0.3.2
   Compiling memoffset v0.9.0
   Compiling tinyvec_macros v0.1.1
   Compiling native-tls v0.2.11
   Compiling try-lock v0.2.5
   Compiling crossbeam-utils v0.8.16
   Compiling scopeguard v1.2.0
   Compiling want v0.3.1
   Compiling tinyvec v1.6.0
   Compiling http-body v0.4.6
   Compiling socket2 v0.4.10
   Compiling crossbeam-epoch v0.9.15
   Compiling ahash v0.7.7
   Compiling unicase v2.7.0
   Compiling openssl-probe v0.1.5
   Compiling percent-encoding v2.3.1
   Compiling ring v0.17.7
   Compiling openssl-sys v0.9.97
   Compiling ring v0.16.20
   Compiling tower-service v0.3.2
   Compiling httpdate v1.0.3
   Compiling form_urlencoded v1.2.1
   Compiling rustls v0.20.9
   Compiling ryu v1.0.16
   Compiling unicode-bidi v0.3.14
   Compiling unicode-normalization v0.1.22
   Compiling serde_json v1.0.108
   Compiling rustls v0.21.10
   Compiling spin v0.5.2
   Compiling untrusted v0.7.1
   Compiling either v1.9.0
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling idna v0.5.0
   Compiling rand_core v0.6.4
   Compiling lock_api v0.4.11
   Compiling num-integer v0.1.45
   Compiling thiserror v1.0.50
   Compiling rayon-core v1.12.0
   Compiling parking_lot_core v0.9.9
   Compiling lazy_static v1.4.0
   Compiling byteorder v1.5.0
   Compiling ppv-lite86 v0.2.17
   Compiling mime_guess v2.0.4
   Compiling hashbrown v0.12.3
   Compiling crossbeam-deque v0.8.3
   Compiling digest v0.10.7
   Compiling aho-corasick v1.1.2
   Compiling num-bigint v0.4.4
   Compiling rand_chacha v0.3.1
   Compiling crc32fast v1.3.2
   Compiling sha1_smol v1.0.0
   Compiling regex-syntax v0.8.2
   Compiling darling_core v0.20.3
   Compiling darling_core v0.13.4
   Compiling cpufeatures v0.2.11
   Compiling smallvec v1.11.2
   Compiling sha-1 v0.10.1
   Compiling rand v0.8.5
   Compiling sha1 v0.6.1
   Compiling num-rational v0.4.1
   Compiling ucd-util v0.1.10
   Compiling adler v1.0.2
   Compiling regex v0.2.11
   Compiling base64 v0.13.1
   Compiling mime v0.3.17
   Compiling rustix v0.38.28
   Compiling async-trait v0.1.74
   Compiling utf-8 v0.7.6
   Compiling powerfmt v0.2.0
   Compiling base64 v0.21.5
   Compiling iana-time-zone v0.1.58
   Compiling miniz_oxide v0.7.1
   Compiling regex-automata v0.4.3
   Compiling rustls-pemfile v1.0.4
   Compiling regex-syntax v0.5.6
   Compiling sct v0.7.1
   Compiling webpki v0.22.4
   Compiling rustls-webpki v0.101.7
   Compiling serde_derive v1.0.193
   Compiling tokio-macros v2.2.0
   Compiling tracing-attributes v0.1.27
   Compiling openssl-macros v0.1.1
   Compiling darling_macro v0.13.4
   Compiling tokio v1.35.0
   Compiling thiserror-impl v1.0.50
   Compiling darling_macro v0.20.3
   Compiling darling v0.13.4
   Compiling serde_with_macros v1.5.2
   Compiling regex v1.10.2
   Compiling webpki-roots v0.22.6
   Compiling rayon v1.8.0
   Compiling darling v0.20.3
   Compiling serde_with_macros v3.4.0
   Compiling tracing v0.1.40
   Compiling uuid v0.8.2
   Compiling thread_local v0.3.6
   Compiling ordered-float v2.10.1
   Compiling aho-corasick v0.6.10
   Compiling encoding_rs v0.8.33
   Compiling webpki-roots v0.25.3
   Compiling time-core v0.1.2
   Compiling utf8-width v0.1.7
   Compiling serenity v0.11.7
   Compiling utf8-ranges v1.0.5
   Compiling linux-raw-sys v0.4.12
   Compiling ipnet v2.9.0
   Compiling html-escape v0.2.13
   Compiling flate2 v1.0.28
   Compiling command_attr v0.4.2
   Compiling parking_lot v0.12.1
   Compiling fxhash v0.2.1
   Compiling futures v0.3.29
   Compiling itertools v0.12.0
   Compiling tokio-util v0.7.10
   Compiling tokio-native-tls v0.3.1
   Compiling h2 v0.3.22
   Compiling tokio-rustls v0.24.1
   Compiling tokio-rustls v0.23.4
   Compiling bitflags v1.3.2
   Compiling uwl v0.6.0
   Compiling static_assertions v1.1.0
   Compiling typemap_rev v0.1.5
   Compiling deterministic-hash v1.0.1
   Compiling levenshtein v1.0.5
   Compiling fastrand v2.0.1
   Compiling dotenv v0.9.0
   Compiling itertools v0.10.5
   Compiling tempfile v3.8.1
   Compiling url v2.5.0
   Compiling cycle_map v0.1.1
   Compiling hashbag v0.1.11
   Compiling serde_urlencoded v0.7.1
   Compiling deranged v0.3.10
   Compiling chrono v0.4.31
   Compiling serde_with v1.14.0
   Compiling cycle_map v0.2.0
   Compiling serde_with v3.4.0
   Compiling serde-value v0.7.0
   Compiling dashmap v5.5.3
   Compiling uuid v1.6.1
   Compiling tungstenite v0.17.3
   Compiling time v0.3.30
   Compiling async-tungstenite v0.17.2
   Compiling hyper v0.14.27
   Compiling hyper-tls v0.5.0
   Compiling hyper-rustls v0.24.2
   Compiling mtgjson v0.1.0-pre-alpha.1 (https://github.com/TylerBloom/mtgjson-rust-sdk?rev=979ffccde3b0eecd230c2f067e18383ed804c5f3#979ffccd)
   Compiling reqwest v0.11.22
   Compiling squire_lib v0.1.0 (/mnt/data/build/SquireCore/squire_lib)
   Compiling squire_bot v0.1.0-pre-alpha.1 (/mnt/data/build/SquireBot)
warning: unused imports: `get_default_judge_role_id`, `get_default_matches_category_id`, `get_default_pairings_channel_id`, `get_default_tourn_admin_role_id`
  --> src/model/guilds/mod.rs:11:5
   |
11 |     get_default_judge_role_id, get_default_matches_category_id, get_default_pairings_channel_id,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 |     get_default_tourn_admin_role_id, GuildSettings,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

error[E0599]: no function or associated item named `new` found for struct `TournamentSettingsTree` in the current scope
  --> src/model/guilds/guild_settings.rs:48:53
   |
48 |             tourn_settings: TournamentSettingsTree::new(TournamentPreset::Swiss),
   |                                                     ^^^ function or associated item not found in `TournamentSettingsTree`
   |
note: if you're trying to build a new `TournamentSettingsTree`, consider using `TournamentSettingsTree::with_preset` which returns `TournamentSettingsTree`
  --> /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:78:5
   |
78 |     pub fn with_preset(preset: TournamentPreset) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
1  + use squire_lib::settings::SettingsTree;
   |

error[E0599]: no method named `iter` found for struct `TournamentSettingsTree` in the current scope
  --> src/model/guilds/guild_settings.rs:74:43
   |
74 |             for op in self.tourn_settings.iter() {
   |                                           ^^^^ method not found in `TournamentSettingsTree`
   |
  ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:31:8
   |
31 |     fn iter(&self) -> Box<dyn Iterator<Item = Self::Setting>>;
   |        ---- the method is available for `TournamentSettingsTree` here
   |
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
1  + use squire_lib::settings::SettingsTree;
   |

error[E0599]: no function or associated item named `new` found for struct `TournamentSettingsTree` in the current scope
   --> src/model/guilds/guild_settings.rs:100:53
    |
100 |             tourn_settings: TournamentSettingsTree::new(TournamentPreset::Swiss),
    |                                                     ^^^ function or associated item not found in `TournamentSettingsTree`
    |
note: if you're trying to build a new `TournamentSettingsTree`, consider using `TournamentSettingsTree::with_preset` which returns `TournamentSettingsTree`
   --> /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:78:5
    |
78  |     pub fn with_preset(preset: TournamentPreset) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:293:18
    |
291 | /             reg.settings
292 | |                 .tourn_settings
293 | |                 .update(GeneralSetting::Format(val).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:334:18
    |
332 | /             reg.settings
333 | |                 .tourn_settings
334 | |                 .update(GeneralSetting::MinDeckCount(val).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:363:18
    |
361 | /             reg.settings
362 | |                 .tourn_settings
363 | |                 .update(GeneralSetting::MaxDeckCount(val).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:402:18
    |
400 | /             reg.settings
401 | |                 .tourn_settings
402 | |                 .update(GeneralSetting::RequireCheckIn(b).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:440:18
    |
438 | /             reg.settings
439 | |                 .tourn_settings
440 | |                 .update(GeneralSetting::RequireDeckReg(b).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:481:22
    |
479 | /                 reg.settings
480 | |                     .tourn_settings
481 | |                     .update(CommonPairingSetting::Algorithm(PairingAlgorithm::Greedy).into());
    | |                     -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:523:18
    |
521 | /             reg.settings
522 | |                 .tourn_settings
523 | |                 .update(CommonPairingSetting::MatchSize(val).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:555:18
    |
553 | /             reg.settings
554 | |                 .tourn_settings
555 | |                 .update(CommonPairingSetting::RepairTolerance(val).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:603:41
    |
603 |             reg.settings.tourn_settings.update(setting.into());
    |                                         ^^^^^^ method not found in `TournamentSettingsTree`
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;
    |        ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:684:14
    |
682 | /         reg.settings
683 | |             .tourn_settings
684 | |             .update(MatchWinPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:716:14
    |
714 | /         reg.settings
715 | |             .tourn_settings
716 | |             .update(MatchDrawPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:748:14
    |
746 | /         reg.settings
747 | |             .tourn_settings
748 | |             .update(MatchLossPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:780:14
    |
778 | /         reg.settings
779 | |             .tourn_settings
780 | |             .update(GameWinPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:812:14
    |
810 | /         reg.settings
811 | |             .tourn_settings
812 | |             .update(GameDrawPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:844:14
    |
842 | /         reg.settings
843 | |             .tourn_settings
844 | |             .update(GameLossPoints(val).into());
    | |             -^^^^^^ method not found in `TournamentSettingsTree`
    | |_____________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:876:37
    |
876 |         reg.settings.tourn_settings.update(ByePoints(val).into());
    |                                     ^^^^^^ method not found in `TournamentSettingsTree`
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;
    |        ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:910:41
    |
910 |             reg.settings.tourn_settings.update(IncludeByes(b).into());
    |                                         ^^^^^^ method not found in `TournamentSettingsTree`
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |     fn update(&mut self, setting: Self::Setting) -> OpResult;
    |        ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:949:18
    |
947 | /             reg.settings
948 | |                 .tourn_settings
949 | |                 .update(IncludeMatchPoints(b).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
   --> src/setup_commands/defaults_commands.rs:988:18
    |
986 | /             reg.settings
987 | |                 .tourn_settings
988 | |                 .update(IncludeGamePoints(b).into());
    | |                 -^^^^^^ method not found in `TournamentSettingsTree`
    | |_________________|
    | 
    |
   ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
    |
28  |       fn update(&mut self, setting: Self::Setting) -> OpResult;
    |          ------ the method is available for `TournamentSettingsTree` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use squire_lib::settings::SettingsTree;
    |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
    --> src/setup_commands/defaults_commands.rs:1025:41
     |
1025 |             reg.settings.tourn_settings.update(IncludeMwp(b).into());
     |                                         ^^^^^^ method not found in `TournamentSettingsTree`
     |
    ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
     |
28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;
     |        ------ the method is available for `TournamentSettingsTree` here
     |
     = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
     |
1    + use squire_lib::settings::SettingsTree;
     |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
    --> src/setup_commands/defaults_commands.rs:1062:41
     |
1062 |             reg.settings.tourn_settings.update(IncludeGwp(b).into());
     |                                         ^^^^^^ method not found in `TournamentSettingsTree`
     |
    ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
     |
28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;
     |        ------ the method is available for `TournamentSettingsTree` here
     |
     = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
     |
1    + use squire_lib::settings::SettingsTree;
     |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
    --> src/setup_commands/defaults_commands.rs:1099:41
     |
1099 |             reg.settings.tourn_settings.update(IncludeOppMwp(b).into());
     |                                         ^^^^^^ method not found in `TournamentSettingsTree`
     |
    ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
     |
28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;
     |        ------ the method is available for `TournamentSettingsTree` here
     |
     = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
     |
1    + use squire_lib::settings::SettingsTree;
     |

error[E0599]: no method named `update` found for struct `TournamentSettingsTree` in the current scope
    --> src/setup_commands/defaults_commands.rs:1136:41
     |
1136 |             reg.settings.tourn_settings.update(IncludeOppGwp(b).into());
     |                                         ^^^^^^ method not found in `TournamentSettingsTree`
     |
    ::: /mnt/data/build/SquireCore/squire_lib/src/settings/mod.rs:28:8
     |
28   |     fn update(&mut self, setting: Self::Setting) -> OpResult;
     |        ------ the method is available for `TournamentSettingsTree` here
     |
     = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
     |
1    + use squire_lib::settings::SettingsTree;
     |

For more information about this error, try `rustc --explain E0599`.
warning: `squire_bot` (bin "squire_bot") generated 1 warning
error: could not compile `squire_bot` (bin "squire_bot") due to 26 previous errors; 1 warning emitted

@TylerBloom
Copy link
Member

Ah, this is probably because SquireBot has not been updated to include changes in SquireCore. This is a long overdue task

@lotigara
Copy link
Author

I see.

@TylerBloom
Copy link
Member

If you feel up to it and have the time, I would appreciate the help. We've been focusing on launching the webapp of Squire, so this has fallen by the wayside. I would be more than happy to give guidance and aid.

@lotigara
Copy link
Author

I don't want to create a new bot because I know how the GNU/Linux community broke down, and what happens to the Linux (include rooted Android, Alpine and other non-GNU Linux distributions) community... Therefore, I want to continue to develop this Discord-bot. But I'm on UTC+3, so I'll take care of it tomorrow.

@lotigara lotigara reopened this Dec 12, 2023
@TylerBloom
Copy link
Member

That's entirely reasonable. SB will continue to be supported, but I've just had limited time. If you'd like, we also have a discord that you can join for tighter communication than what GitHub allows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Will be resolved but work hasn't started
Projects
None yet
Development

No branches or pull requests

3 participants