You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
下面是报错信息:
error[E0432]: unresolved import alloc_crate::collections::TryReserveError
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/collections/mod.rs:35:9
|
35 | pub use alloc_crate::collections::TryReserveError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no TryReserveError in collections
error[E0658]: The ! type is experimental
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/error.rs:185:16
|
185 | impl Error for ! {
| ^
|
= note: for more information, see rust-lang/rust#35121
= help: add #![feature(never_type)] to the crate attributes to enable
error[E0658]: non exhaustive is an experimental feature
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/io/error.rs:86:1
|
86 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44109
= help: add #![feature(non_exhaustive)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'todo_macro'
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/lib.rs:109:67
|
109 | pub use core::{unreachable, unimplemented, write, writeln, r#try, todo};
| ^^^^
|
= note: for more information, see rust-lang/rust#59277
= help: add #![feature(todo_macro)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'mem_take'
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:266:28
|
266 | let contents = mem::take(self.fill());
| ^^^^^^^^^
|
= note: for more information, see rust-lang/rust#61129
= help: add #![feature(mem_take)] to the crate attributes to enable
error[E0308]: mismatched types
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:236:9
|
236 | &location
| ^^^^^^^^^
| |
| expected struct core::panic::Location, found reference
| help: consider removing the borrow: location
|
= note: expected type core::panic::Location<'_>
found type &core::panic::Location<'_>
error[E0308]: mismatched types
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:357:13
|
357 | &location
| ^^^^^^^^^
| |
| expected struct core::panic::Location, found reference
| help: consider removing the borrow: location
|
= note: expected type core::panic::Location<'_>
found type &core::panic::Location<'_>
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0308, E0432, E0658.
For more information about an error, try rustc --explain E0308.
error: Could not compile sgx_tstd.
warning: build failed, waiting for other jobs to finish...
error: build failed
Makefile:42: recipe for target 'libenclave.a' failed
make[1]: *** [libenclave.a] Error 101
make[1]: Leaving directory '/root/sgx_test/http_req-sgx-1.0.9-backup/sgx/http_req-sgx-test/enclave'
Makefile:161: recipe for target 'enclave' failed
make: *** [enclave] Error 2
The text was updated successfully, but these errors were encountered:
sgx更新到1.1.0编译不通过,如http_req-sgx这个,即使用v1.0.9-backup也不能编译通过,因为还有依赖包使用了sgx master的依赖(依赖指向1.1.0) 还有就是make_pub.diff路径错误需要将所有的
/src
去掉,才能make通过。下面是报错信息:
error[E0432]: unresolved import
alloc_crate::collections::TryReserveError
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/collections/mod.rs:35:9
|
35 | pub use alloc_crate::collections::TryReserveError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no
TryReserveError
incollections
error[E0658]: The
!
type is experimental--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/error.rs:185:16
|
185 | impl Error for ! {
| ^
|
= note: for more information, see rust-lang/rust#35121
= help: add
#![feature(never_type)]
to the crate attributes to enableerror[E0658]: non exhaustive is an experimental feature
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/io/error.rs:86:1
|
86 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44109
= help: add
#![feature(non_exhaustive)]
to the crate attributes to enableerror[E0658]: use of unstable library feature 'todo_macro'
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/lib.rs:109:67
|
109 | pub use core::{unreachable, unimplemented, write, writeln, r#try, todo};
| ^^^^
|
= note: for more information, see rust-lang/rust#59277
= help: add
#![feature(todo_macro)]
to the crate attributes to enableerror[E0658]: use of unstable library feature 'mem_take'
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:266:28
|
266 | let contents = mem::take(self.fill());
| ^^^^^^^^^
|
= note: for more information, see rust-lang/rust#61129
= help: add
#![feature(mem_take)]
to the crate attributes to enableerror[E0308]: mismatched types
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:236:9
|
236 | &location
| ^^^^^^^^^
| |
| expected struct
core::panic::Location
, found reference| help: consider removing the borrow:
location
|
= note: expected type
core::panic::Location<'_>
found type
&core::panic::Location<'_>
error[E0308]: mismatched types
--> /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/4508450/sgx_tstd/src/panicking.rs:357:13
|
357 | &location
| ^^^^^^^^^
| |
| expected struct
core::panic::Location
, found reference| help: consider removing the borrow:
location
|
= note: expected type
core::panic::Location<'_>
found type
&core::panic::Location<'_>
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0308, E0432, E0658.
For more information about an error, try
rustc --explain E0308
.error: Could not compile
sgx_tstd
.warning: build failed, waiting for other jobs to finish...
error: build failed
Makefile:42: recipe for target 'libenclave.a' failed
make[1]: *** [libenclave.a] Error 101
make[1]: Leaving directory '/root/sgx_test/http_req-sgx-1.0.9-backup/sgx/http_req-sgx-test/enclave'
Makefile:161: recipe for target 'enclave' failed
make: *** [enclave] Error 2
The text was updated successfully, but these errors were encountered: