pure-peace / peace Goto Github PK
View Code? Open in Web Editor NEWosu! server development framework ๐
osu! server development framework ๐
Compiling peace_dal v0.1.0 (/home/ubuntu/peace/frame/dal)
error[E0659]: `sea_orm` is ambiguous
--> frame/dal/src/db/peace/migration/versions/create_seed_data.rs:1:5
|
1 | use sea_orm::DbBackend;
| ^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple potential import sources
= note: `sea_orm` could refer to a crate passed with `--extern`
= help: use `::sea_orm` to refer to this crate unambiguously
note: `sea_orm` could also refer to the crate imported here
--> frame/dal/src/db/peace/migration/versions/create_seed_data.rs:2:5
|
2 | use sea_orm_migration::prelude::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: use `self::sea_orm` to refer to this crate unambiguously
error[E0659]: `sea_orm` is ambiguous
--> frame/dal/src/db/peace/migration/versions/init_tables.rs:1:5
|
1 | use sea_orm::DbBackend;
| ^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple potential import sources
= note: `sea_orm` could refer to a crate passed with `--extern`
= help: use `::sea_orm` to refer to this crate unambiguously
note: `sea_orm` could also refer to the crate imported here
--> frame/dal/src/db/peace/migration/versions/init_tables.rs:2:5
|
2 | use sea_orm_migration::prelude::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: use `self::sea_orm` to refer to this crate unambiguously
warning: unused `#[macro_use]` import
--> frame/dal/src/lib.rs:1:1
|
1 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `sea_orm::DbBackend`
--> frame/dal/src/db/peace/migration/versions/create_seed_data.rs:1:5
|
1 | use sea_orm::DbBackend;
| ^^^^^^^^^^^^^^^^^^
error[E0119]: conflicting implementations of trait `sea_orm::TryFromU64` for type `PpVersion`
--> frame/dal/src/db/peace/entity/sea_orm_active_enums.rs:125:1
|
125 | impl TryFromU64 for PpVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `sea_orm`:
- impl<T> sea_orm::TryFromU64 for T
where T: sea_orm::ActiveEnum;
error[E0119]: conflicting implementations of trait `sea_orm::TryFromU64` for type `sea_orm_active_enums::RankingType`
--> frame/dal/src/db/peace/entity/sea_orm_active_enums.rs:136:1
|
136 | impl TryFromU64 for RankingType {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `sea_orm`:
- impl<T> sea_orm::TryFromU64 for T
where T: sea_orm::ActiveEnum;
error[E0119]: conflicting implementations of trait `sea_orm::TryFromU64` for type `sea_orm_active_enums::ChannelHandleType`
--> frame/dal/src/db/peace/entity/sea_orm_active_enums.rs:149:1
|
149 | impl TryFromU64 for ChannelHandleType {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `sea_orm`:
- impl<T> sea_orm::TryFromU64 for T
where T: sea_orm::ActiveEnum;
Some errors have detailed explanations: E0119, E0659.
For more information about an error, try `rustc --explain E0119`.
warning: `peace_dal` (lib) generated 2 warnings
error: could not compile `peace_dal` due to 5 previous errors; 2 warnings emitted
Hey @Pure-Peace, Thanks for adopting SeaORM!
It's our pleasure to see more inspirational projects were built on top of SeaORM :)
Let us know if you have any feature recommendation or feedback. Your contribution is what drive us forward!
Some learning resources for you: Documentation, Tutorial, Cookbook, Q&A, Blog
Join our Discord server to chat with others in the SeaQL community!
Feel free to submit a PR to showcase your project, SeaQL/sea-orm#403.
I doubt this caused by #1, should I install Python 3.7 to resolve this issue?
e814598: add Python3 (Temporary rijndael decryption)
Because Rust does not have an implementation of the rijndael algorithm, it is temporarily solved with the built-in python3 interpreter.
This problem is temporarily solved by embedding the python3 interpreter in peace,
In the future, I may use Rust to implement this algorithm and remove python.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.