Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on current Git version #1

Open
Synergyst opened this issue Jan 25, 2019 · 3 comments
Open

Does not compile on current Git version #1

Synergyst opened this issue Jan 25, 2019 · 3 comments

Comments

@Synergyst
Copy link

Cargo version and error output:

cargo 0.25.0

~# git clone https://github.com/KOBA789/obs-lenkeng
Cloning into 'obs-lenkeng'...
cd remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 84 (delta 29), reused 84 (delta 29), pack-reused 0
Unpacking objects: 100% (84/84), done.
~# cd obs-lenkeng/
~/obs-lenkeng# git submodule init
Submodule 'libobs-sys/obs-studio' (https://github.com/obsproject/obs-studio) registered for path 'libobs-sys/obs-studio'
Submodule 'libturbojpeg-sys/libjpeg-turbo' (https://github.com/libjpeg-turbo/libjpeg-turbo.git) registered for path 'libturbojpeg-sys/libjpeg-turbo'
root@pve:~/obs-lenkeng# git submodule update
Cloning into '/root/obs-lenkeng/libobs-sys/obs-studio'...
Cloning into '/root/obs-lenkeng/libturbojpeg-sys/libjpeg-turbo'...
Submodule path 'libobs-sys/obs-studio': checked out 'e6ac83024725fb167c5e71d93dc9de715b36611c'
Submodule path 'libturbojpeg-sys/libjpeg-turbo': checked out 'bb3d325624526c91646bb9af9578d7198c082d51'
~/obs-lenkeng# cargo build
    Updating registry https://github.com/rust-lang/crates.io-index
 Downloading cmake v0.1.35
 Downloading bindgen v0.43.1
 Downloading cc v1.0.25
 Downloading proc-macro2 v0.3.5
 Downloading cexpr v0.3.3
 Downloading bitflags v1.0.4
 Downloading cfg-if v0.1.6
 Downloading which v1.0.5
 Downloading clap v2.32.0
 Downloading regex v1.0.6
 Downloading log v0.4.6
 Downloading peeking_take_while v0.1.2
 Downloading env_logger v0.5.13
 Downloading lazy_static v1.2.0
 Downloading clang-sys v0.26.3
 Downloading quote v0.5.2
 Downloading unicode-xid v0.1.0
 Downloading nom v4.1.1
 Downloading memchr v2.1.1
 Downloading libc v0.2.43
 Downloading version_check v0.1.5
 Downloading atty v0.2.11
 Downloading vec_map v0.8.1
 Downloading unicode-width v0.1.5
 Downloading strsim v0.7.0
 Downloading textwrap v0.10.0
 Downloading aho-corasick v0.6.9
 Downloading thread_local v0.3.6
 Downloading utf8-ranges v1.0.2
 Downloading regex-syntax v0.6.3
 Downloading ucd-util v0.1.2
 Downloading humantime v1.1.1
 Downloading termcolor v1.0.4
 Downloading quick-error v1.2.2
 Downloading libloading v0.5.0
 Downloading glob v0.2.11
 Downloading worker-sentinel v0.3.1
 Downloading net2 v0.2.33
 Downloading ansi_term v0.11.0
   Compiling cc v1.0.25
   Compiling unicode-xid v0.1.0
   Compiling termcolor v1.0.4
   Compiling regex v1.0.6
   Compiling bitflags v1.0.4
   Compiling bindgen v0.43.1
   Compiling utf8-ranges v1.0.2
   Compiling vec_map v0.8.1
   Compiling worker-sentinel v0.3.1
   Compiling libc v0.2.43
   Compiling version_check v0.1.5
   Compiling unicode-width v0.1.5
   Compiling ansi_term v0.11.0
   Compiling cfg-if v0.1.6
   Compiling lazy_static v1.2.0
   Compiling strsim v0.7.0
   Compiling peeking_take_while v0.1.2
   Compiling ucd-util v0.1.2
   Compiling glob v0.2.11
   Compiling quick-error v1.2.2
   Compiling proc-macro2 v0.3.5
   Compiling log v0.4.6
   Compiling textwrap v0.10.0
   Compiling thread_local v0.3.6
   Compiling memchr v2.1.1
   Compiling regex-syntax v0.6.3
   Compiling which v1.0.5
   Compiling atty v0.2.11
   Compiling net2 v0.2.33
   Compiling humantime v1.1.1
   Compiling clang-sys v0.26.3
   Compiling cmake v0.1.35
   Compiling libloading v0.5.0
   Compiling clap v2.32.0
   Compiling quote v0.5.2
   Compiling nom v4.1.1
   Compiling aho-corasick v0.6.9
error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:467:44
    |
467 | pub fn be_u128(i: &[u8]) -> IResult<&[u8], u128, u32> {
    |                                            ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:471:25
    |
471 |     let res = ((i[0] as u128) << 120)
    |                         ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:472:19
    |
472 |       + ((i[1] as u128) << 112)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:473:19
    |
473 |       + ((i[2] as u128) << 104)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:474:19
    |
474 |       + ((i[3] as u128) << 96)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:475:19
    |
475 |       + ((i[4] as u128) << 88)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:476:19
    |
476 |       + ((i[5] as u128) << 80)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:477:19
    |
477 |       + ((i[6] as u128) << 72)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:478:19
    |
478 |       + ((i[7] as u128) << 64)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:479:19
    |
479 |       + ((i[8] as u128) << 56)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:480:19
    |
480 |       + ((i[9] as u128) << 48)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:481:20
    |
481 |       + ((i[10] as u128) << 40)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:482:20
    |
482 |       + ((i[11] as u128) << 32)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:483:20
    |
483 |       + ((i[12] as u128) << 24)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:484:20
    |
484 |       + ((i[13] as u128) << 16)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:485:20
    |
485 |       + ((i[14] as u128) << 8)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:486:18
    |
486 |       + i[15] as u128;
    |                  ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:528:44
    |
528 | pub fn be_i128(i: &[u8]) -> IResult<&[u8], i128> {
    |                                            ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:529:29
    |
529 |   map!(i, be_u128, |x| x as i128)
    |                             ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:589:44
    |
589 | pub fn le_u128(i: &[u8]) -> IResult<&[u8], u128, u32> {
    |                                            ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:593:26
    |
593 |     let res = ((i[15] as u128) << 120)
    |                          ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:594:20
    |
594 |       + ((i[14] as u128) << 112)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:595:20
    |
595 |       + ((i[13] as u128) << 104)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:596:20
    |
596 |       + ((i[12] as u128) << 96)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:597:20
    |
597 |       + ((i[11] as u128) << 88)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:598:20
    |
598 |       + ((i[10] as u128) << 80)
    |                    ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:599:19
    |
599 |       + ((i[9] as u128) << 72)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:600:19
    |
600 |       + ((i[8] as u128) << 64)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:601:19
    |
601 |       + ((i[7] as u128) << 56)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:602:19
    |
602 |       + ((i[6] as u128) << 48)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:603:19
    |
603 |       + ((i[5] as u128) << 40)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:604:19
    |
604 |       + ((i[4] as u128) << 32)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:605:19
    |
605 |       + ((i[3] as u128) << 24)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:606:19
    |
606 |       + ((i[2] as u128) << 16)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:607:19
    |
607 |       + ((i[1] as u128) << 8)
    |                   ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:608:17
    |
608 |       + i[0] as u128;
    |                 ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:650:44
    |
650 | pub fn le_i128(i: &[u8]) -> IResult<&[u8], i128> {
    |                                            ^^^^

error: 128-bit type is unstable (see issue #35118)
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-4.1.1/src/nom.rs:651:29
    |
651 |   map!(i, le_u128, |x| x as i128)
    |                             ^^^^

error: aborting due to 38 previous errors

error: Could not compile nom.
warning: build failed, waiting for other jobs to finish...
error: build failed

If there is anything else you need specifically, please let me know.

@rela1470
Copy link

I using cargo 1.30.0 (a1a4ad372 2018-11-02), it builded successfully.

@Synergyst
Copy link
Author

@rela1470
Where did you install that version of Cargo from? The latest I see is 0.33.

Are you also using the latest version of obs-lenkeng from Git?

@rela1470
Copy link

@Synergyst
Your environment is not appropriate.

Please Check Official site. https://www.rust-lang.org/
Rust&cargo last version is 1.32.0

I checked first step(git clone), but it successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants