eclipse-chariott / chariott

chariott
MIT License
26 stars 16 forks source link

[BUG] Building Arm64 dev container fails #104

Closed benmordaunt closed 1 year ago

benmordaunt commented 1 year ago

While building the dev container using Dockerfile.arm64, the following error is encountered:

   Compiling tracing-log v0.1.3
   Compiling sharded-slab v0.1.4
   Compiling ess v0.1.0 (/sdv/ess)
   Compiling form_urlencoded v1.1.0
   Compiling chariott v0.1.0 (/sdv)
   Compiling uuid v1.3.0
   Compiling thread_local v1.1.7
   Compiling smallvec v1.10.0
   Compiling tracing-subscriber v0.3.16
   Compiling chariott-common v0.1.0 (/sdv/common)
   Compiling url v2.3.1
   Compiling async-recursion v1.0.4
error[E0658]: attributes on expressions are experimental
   --> src/chariott_grpc.rs:144:9
    |
144 |         #[cfg(test)]
    |         ^^^^^^^^^^^^
    |
    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information

error: removing an expression is not supported in this position
   --> src/chariott_grpc.rs:144:9
    |
144 |         #[cfg(test)]
    |         ^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0658`.
error: could not compile `chariott` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
The command '/bin/sh -c cargo build --release --target=aarch64-unknown-linux-musl' returned a non-zero code: 101
benmordaunt commented 1 year ago

Also fixed by #105