cargo check --no-default-features
Updating crates.io index
Checking smallvec v1.8.0
Checking hashbrown v0.12.0
Checking edict v0.1.1 (/home/luke/programming/rust/edict)
error[E0433]: failed to resolve: use of undeclared crate or module `std`
--> src/query/option.rs:1:5
|
1 | use std::any::TypeId;
| ^^^ use of undeclared crate or module `std`
error[E0433]: failed to resolve: use of undeclared crate or module `std`
--> src/query/mod.rs:22:5
|
22 | use std::{any::TypeId, marker::PhantomData};
| ^^^ use of undeclared crate or module `std`
error[E0433]: failed to resolve: use of undeclared type `OwnershipError`
--> src/world/mod.rs:1771:24
|
1771 | matches!(self, OwnershipError::NoSuchEntity)
| ^^^^^^^^^^^^^^ use of undeclared type `OwnershipError`
error[E0412]: cannot find type `TypeId` in this scope
--> src/query/option.rs:61:19
|
61 | fn access(ty: TypeId) -> Access {
| ^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use core::any::TypeId;
|
error[E0412]: cannot find type `PhantomData` in this scope
--> src/query/mod.rs:96:30
|
96 | struct QueryAllowed<Q>(bool, PhantomData<Q>);
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
9 | use core::marker::PhantomData;
|
error[E0425]: cannot find value `PhantomData` in this scope
--> src/query/mod.rs:108:31
|
108 | QueryAllowed(allowed, PhantomData)
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this unit struct
|
9 | use core::marker::PhantomData;
|
error[E0412]: cannot find type `TypeId` in this scope
--> src/query/mod.rs:139:19
|
139 | fn access(ty: TypeId) -> Access;
| ^^^^^^ not found in this scope
|
help: consider importing this struct
|
9 | use core::any::TypeId;
|
error[E0412]: cannot find type `TypeId` in this scope
--> src/query/mod.rs:211:28
|
211 | fn access(_ty: TypeId) -> Access {
| ^^^^^^ not found in this scope
...
319 | for_tuple!();
| ------------ in this macro invocation
|
= note: this error originates in the macro `for_tuple` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this struct
|
9 | use core::any::TypeId;
|
error[E0412]: cannot find type `TypeId` in this scope
--> src/query/mod.rs:275:27
|
275 | fn access(ty: TypeId) -> Access {
| ^^^^^^ not found in this scope
...
319 | for_tuple!();
| ------------ in this macro invocation
|
= note: this error originates in the macro `for_tuple` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this struct
|
9 | use core::any::TypeId;
|
error[E0425]: cannot find value `PhantomData` in this scope
--> src/query/mod.rs:289:40
|
289 | QueryAllowed(true, PhantomData::<$a>)
| ^^^^^^^^^^^ not found in this scope
...
319 | for_tuple!();
| ------------ in this macro invocation
|
= note: this error originates in the macro `for_tuple` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this unit struct
|
9 | use core::marker::PhantomData;
|
error[E0412]: cannot find type `OwnershipError` in this scope
--> src/world/mod.rs:1769:34
|
1769 | impl PartialEq<NoSuchEntity> for OwnershipError {
| ^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0412, E0425, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `edict` due to 41 previous errors