Skip to content

Instantly share code, notes, and snippets.

@toku-sa-n
Created September 17, 2020 03:02
Show Gist options
  • Save toku-sa-n/6f98b24f70ac67649d281d7a01674b85 to your computer and use it in GitHub Desktop.
Save toku-sa-n/6f98b24f70ac67649d281d7a01674b85 to your computer and use it in GitHub Desktop.
log
Compiling core v0.0.0 (/home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Running `rustc --crate-name core --edition=2018 /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=80ccb2f950ca5996 -C extra-filename=-80ccb2f950ca5996 --out-dir /home/hiroki/Downloads/foo/target/x86_64-unknown-myos/debug/deps --target /home/hiroki/Downloads/foo/x86_64-unknown-myos.json -Z force-unstable-if-unmarked -L dependency=/home/hiroki/Downloads/foo/target/x86_64-unknown-myos/debug/deps -L dependency=/home/hiroki/Downloads/foo/target/debug/deps --cap-lints allow`
error[E0527]: pattern requires 0 elements but array has 4
--> /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1312:25
|
1312 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()];
| ^^ expected 4 elements
...
2070 | / atomic_int! {
2071 | | cfg(target_has_atomic = "64"),
2072 | | stable(feature = "integer_atomics_stable", since = "1.34.0"),
2073 | | stable(feature = "integer_atomics_stable", since = "1.34.0"),
... |
2086 | | i64 AtomicI64 ATOMIC_I64_INIT
2087 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0527]: pattern requires 0 elements but array has 4
--> /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1312:25
|
1312 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()];
| ^^ expected 4 elements
...
2089 | / atomic_int! {
2090 | | cfg(target_has_atomic = "64"),
2091 | | stable(feature = "integer_atomics_stable", since = "1.34.0"),
2092 | | stable(feature = "integer_atomics_stable", since = "1.34.0"),
... |
2105 | | u64 AtomicU64 ATOMIC_U64_INIT
2106 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0527]: pattern requires 0 elements but array has 4
--> /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1312:25
|
1312 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()];
| ^^ expected 4 elements
...
2167 | / atomic_int! {
2168 | | cfg(target_has_atomic = "ptr"),
2169 | | stable(feature = "rust1", since = "1.0.0"),
2170 | | stable(feature = "extended_compare_and_swap", since = "1.10.0"),
... |
2182 | | isize AtomicIsize ATOMIC_ISIZE_INIT
2183 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0527]: pattern requires 0 elements but array has 4
--> /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1312:25
|
1312 | let [] = [(); align_of::<Self>() - align_of::<$int_type>()];
| ^^ expected 4 elements
...
2185 | / atomic_int! {
2186 | | cfg(target_has_atomic = "ptr"),
2187 | | stable(feature = "rust1", since = "1.0.0"),
2188 | | stable(feature = "extended_compare_and_swap", since = "1.10.0"),
... |
2200 | | usize AtomicUsize ATOMIC_USIZE_INIT
2201 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0527`.
error: could not compile `core`
Caused by:
process didn't exit successfully: `rustc --crate-name core --edition=2018 /home/hiroki/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=80ccb2f950ca5996 -C extra-filename=-80ccb2f950ca5996 --out-dir /home/hiroki/Downloads/foo/target/x86_64-unknown-myos/debug/deps --target /home/hiroki/Downloads/foo/x86_64-unknown-myos.json -Z force-unstable-if-unmarked -L dependency=/home/hiroki/Downloads/foo/target/x86_64-unknown-myos/debug/deps -L dependency=/home/hiroki/Downloads/foo/target/debug/deps --cap-lints allow` (exit code: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment