Skip to content

I don't know why building error occur #2691

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

Closed
kaaatsu32329 opened this issue Dec 16, 2024 · 5 comments
Closed

I don't know why building error occur #2691

kaaatsu32329 opened this issue Dec 16, 2024 · 5 comments

Comments

@kaaatsu32329
Copy link

Crate name

echo-state-network

Build failure link

https://docs.rs/crate/echo-state-network/0.0.1/builds

Additional details

# pre-build errors
invalid Cargo.toml syntax

Stack backtrace:
0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
1: rustwide::prepare::Prepare::prepare
2: rustwide::build::BuildDirectory::run
3: docs_rs::docbuilder::rustwide_builder::RustwideBuilder::build_package
4: prometheus::histogram::Histogram::observe_closure_duration
5: docs_rs::build_queue::BuildQueue::build_next_queue_package
6: docs_rs::utils::queue_builder::queue_builder
7: cratesfyi::CommandLine::handle_args
8: cratesfyi::main
9: std::sys::backtrace::__rust_begin_short_backtrace
10: std::rt::lang_start::{{closure}}
11: std::rt::lang_start_internal
12: main
13: __libc_start_main
at /build/glibc-uZu3wS/glibc-2.27/csu/../csu/libc-start.c:310
14: _start

It seems to be no element of error in Cargo.toml.

[package]
name = "echo-state-network"
version = "0.0.1"
edition = "2024"
license = "MIT"
description = "A Rust library for Echo State Networks"
repository = "https://github.com/kaaatsu32329/esn-rs"

[features]
default = ["plot"]
plot = ["plotters"]

[dependencies]
assert_approx_eq = "1"
chrono = "0.4"
env_logger = "0.11"
log = "0.4"
nalgebra = { version = "0.33", features = ["serde-serialize"] }
petgraph = "0.6"
petgraph-gen = "0.1"
plotters = { version = "0.3", optional = true }
rand = "0.8"
rand_distr = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
@syphar
Copy link
Member

syphar commented Dec 16, 2024

My hunch is that this is the same error as
#2689

because you're using edition 2024, which is behind a feature-flag in the nightly version we're currently building with

@kaaatsu32329
Copy link
Author

I see. Thank you.

I'll wait for the implementation for edition 2024.

@syphar
Copy link
Member

syphar commented Dec 16, 2024

So your library is intentionally nightly-only?

@syphar
Copy link
Member

syphar commented Dec 16, 2024

seeing all the reports that need a newer nightly I decided to unfreeze the version.

I also queued rebuilds for the release above

@syphar syphar closed this as completed Dec 16, 2024
@kaaatsu32329
Copy link
Author

Thank you.

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