Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Can't build from source on develop #726

@jkbbwr

Description

@jkbbwr

Hi back again to try and build from source on develop.

I installed the recommended rust version nightly-2022-11-02 and I cloned the project. I have llvm15 installed.

I run cargo make and get this failure state.

firefly on  develop [!] is 📦 v0.1.0 via 🦀 v1.67.0-nightly took 25s 
❯ LLVM_PREFIX=/usr/lib cargo make
[cargo-make] INFO - cargo make 0.36.11
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: print-build-env
************************************* 
Build Environment: 
    Task: default 
    Task Arguments:  
    Command: cargo make 
    Working Directory: /home/kibb/projects/personal/firefly 
    Target Directory: /home/kibb/projects/personal/firefly/target 
    Profile: dev 
    Build Type: static 
    LTO Enabled: false 
    Bin Directory: /home/kibb/projects/personal/firefly/bin 
    Install Directory: /home/kibb/projects/personal/firefly/bin/x86_64-unknown-linux-gnu 
    Target Triple: x86_64-unknown-linux-gnu 
 
    RUST_BACKTRACE: 0 
    GECKODRIVER_VERSION: 0.27.0 
    CHROMEDRIVER_VERSION: 85.0.4183.87 
    FIREFLY_LLVM_LTO: OFF 
    LLVM_BUILD_STATIC: ON 
    LLVM_USE_LIBCXX: OFF 
    LLVM_LINK_LLVM_DYLIB: OFF 
    SANITIZER:  
    LLVM_USE_SANITIZER:  
************************************* 
[cargo-make] INFO - Skipping Task: print-ci-env 
[cargo-make] INFO - Running Task: print-rust-env
************************************* 
Rust: 
    Version: 1.67.0 
    Channel: nightly 
    Toolchain: nightly 
    Target Arch: x86_64 
    Target Env: gnu 
    Target OS: linux 
    Pointer Width: 64 
    Target Triple: x86_64-unknown-linux-gnu 
************************************* 
[cargo-make] INFO - Running Task: print-cargo-env
************************************* 
Cargo: 
    Home: /home/kibb/.cargo 
    Profile:  
************************************* 
[cargo-make] INFO - Running Task: require-ninja
[cargo-make] INFO - Running Task: require-cmake
[cargo-make] INFO - Execute Command: "rustup" "run" "nightly" "cargo" "-Z" "unstable-options" "build" "--manifest-path" "tools/firefly-make/Cargo.toml" "--release" "--out-dir" "/home/kibb/projects/personal/firefly/bin"
   Compiling proc-macro2 v1.0.51
   Compiling backtrace v0.3.67
   Compiling term v0.7.0
   Compiling indexmap v1.9.2
   Compiling tempfile v3.4.0
   Compiling clap_lex v0.2.4
   Compiling anyhow v1.0.69
   Compiling regex v1.7.1
   Compiling once_cell v1.17.1
   Compiling strsim v0.10.0
   Compiling lazy_static v1.4.0
   Compiling textwrap v0.16.0
   Compiling termcolor v1.2.0
   Compiling tar v0.4.38
   Compiling flate2 v1.0.25
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/kibb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.51/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions