Giter Site home page Giter Site logo

scaap's People

Contributors

ecyshor avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

erki1998

scaap's Issues

Build and Run failure

Hi there, I am trying to build a docker image from this repo and I got this error:

` .
.
.
Compiling base64 v0.13.0
Compiling scoped-tls v1.0.0
Compiling urlencoding v1.3.2
error[E0658]: use of unstable library feature 'matches_macro'
--> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/urlencoding-1.3.2/src/enc.rs:79:31
|
79 | .take_while(|&&c| matches!(c, b'0'..=b'9' | b'A'..=b'Z' | b'a'..=b'z' | b'-' | b'.' | b'_' | b'~')).count();
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#65721

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile urlencoding.
warning: build failed, waiting for other jobs to finish...
error: failed to compile scaap v0.1.0 (/usr/src/scaap), intermediate artifacts can be found at /usr/src/scaap/target

Caused by:
build failed
The command '/bin/sh -c cargo install --path .' returned a non-zero code: 101`

Also, when I try to run a docker container with your image "ghcr.io/ecyshor/scaap:latest" I get this error:

`Initializing scaap
Starting scaap

  • echo 'Initializing scaap'
  • test -f /etc/scaap/init-runtime.sh
  • echo 'Starting scaap'
  • exec /etc/scaap-app/scaap
    thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
    stack backtrace:
    0: backtrace::backtrace::libunwind::trace
    at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
    1: backtrace::backtrace::trace_unsynchronized
    at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
    2: std::sys_common::backtrace::_print_fmt
    at src/libstd/sys_common/backtrace.rs:77
    3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
    at src/libstd/sys_common/backtrace.rs:61
    4: core::fmt::write
    at src/libcore/fmt/mod.rs:1028
    5: std::io::Write::write_fmt
    at src/libstd/io/mod.rs:1412
    6: std::sys_common::backtrace::_print
    at src/libstd/sys_common/backtrace.rs:65
    7: std::sys_common::backtrace::print
    at src/libstd/sys_common/backtrace.rs:50
    8: std::panicking::default_hook::{{closure}}
    at src/libstd/panicking.rs:188
    9: std::panicking::default_hook
    at src/libstd/panicking.rs:205
    10: std::panicking::rust_panic_with_hook
    at src/libstd/panicking.rs:464
    11: std::panicking::continue_panic_fmt
    at src/libstd/panicking.rs:373
    12: rust_begin_unwind
    at src/libstd/panicking.rs:302
    13: core::panicking::panic_fmt
    at src/libcore/panicking.rs:139
    14: core::result::unwrap_failed
    at src/libcore/result.rs:1165
    15: <std::future::GenFuture as core::future::future::Future>::poll
    16: tokio::runtime::enter::Enter::block_on
    17: tokio::runtime::context::enter
    18: tokio::runtime::Runtime::block_on
    19: scaap::main
    20: std::rt::lang_start::{{closure}}
    21: std::rt::lang_start_internal::{{closure}}
    at src/libstd/rt.rs:48
    22: std::panicking::try::do_call
    at src/libstd/panicking.rs:287
    23: __rust_maybe_catch_panic
    at src/libpanic_unwind/lib.rs:78
    24: std::panicking::try
    at src/libstd/panicking.rs:265
    25: std::panic::catch_unwind
    at src/libstd/panic.rs:396
    26: std::rt::lang_start_internal
    at src/libstd/rt.rs:47
    27: main
    28: __libc_start_main
    29:
    note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.