Skip to content

Error when attempting to build reo using cargo build #185

@morphqdd

Description

@morphqdd

When I downloaded the reo source code and tried to build it with the cargo build command, I got the following error:

error: failed to run custom build command for `reo v0.0.0 (/home/morphe/projects/reo)`

Caused by:
  process didn't exit successfully: `/home/morphe/projects/reo/target/debug/build/reo-41c4158051da4eb6/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=eo-tests
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-changed=test-pom.xml
  cargo:rerun-if-changed=target/eo/sodg

  --- stderr

  thread 'main' (133799) panicked at build.rs:22:14:
  called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error[E0282]: type annotations needed for `Box<_>`
  --> /home/morphe/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/time-0.3.34/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions