Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Failure on running simple.rs example #225

Open
abhi3700 opened this issue Oct 25, 2023 · 0 comments · May be fixed by #226
Open

Failure on running simple.rs example #225

abhi3700 opened this issue Oct 25, 2023 · 0 comments · May be fixed by #226
Assignees
Labels
bug Something isn't working

Comments

@abhi3700
Copy link

Description

I am getting error on running simple.rs example.

Problem

I ran this command to view the output:

$ cargo run --example simple

Found this error. Click on expand to view.

Expand:
❯ cargo run --example simple                                                                                                                            ⏎
   Compiling subspace-runtime v0.1.0 (https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef6)
   Compiling evm-domain-runtime v0.1.0 (https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef6)
   Compiling sdk-utils v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/utils)
   Compiling sdk-dsn v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/dsn)
   Compiling sdk-substrate v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/substrate)
   Compiling sdk-traits v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/traits)
   Compiling sdk-farmer v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/farmer)
   Compiling sdk-node v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk/node)
   Compiling subspace-sdk v0.1.0 (/Users/abhi3700/F/coding/github_repos/subspace/subspace-sdk)
    Finished dev [unoptimized + debuginfo] target(s) in 24.51s
     Running `target/debug/examples/simple`
2023-10-25T13:42:36.112763Z  INFO subspace_networking::constructor: DSN instance configured. allow_non_global_addresses_in_dht=false peer_id=12D3KooWL8fyCCbQ7qSWGsE6RkPxEXUSWjbUrBz9beyp5QhaC2eH protocol_version=/subspace/1af552d6d897e96f4787b6acdec4cd953f2b85a7c3c52883053682aa6dfef8a5
2023-10-25T13:42:36.115303Z  INFO sdk_dsn::builder: DSN listening on /ip4/127.0.0.1/tcp/61553/p2p/12D3KooWL8fyCCbQ7qSWGsE6RkPxEXUSWjbUrBz9beyp5QhaC2eH
2023-10-25T13:42:36.115809Z  WARN sc_service::config: Using default protocol ID "sup" because none is configured in the chain specs    
2023-10-25T13:42:36.117807Z  INFO sub-libp2p: 🏷  Local node identity is: 12D3KooWL8fyCCbQ7qSWGsE6RkPxEXUSWjbUrBz9beyp5QhaC2eH    
2023-10-25T13:42:36.120751Z  INFO subspace: Starting archiving from genesis    
2023-10-25T13:42:36.120883Z  INFO subspace: Archiving already produced blocks 0..=0    
2023-10-25T13:42:43.970972Z  INFO subspace_networking::node_runner: Added observed address as external: /ip4/49.37.35.133/tcp/61553
2023-10-25T13:42:50.134222Z  INFO subspace: 🧑‍🌾 Starting Subspace Authorship worker    
2023-10-25T13:42:50.138633Z  INFO sc_sysinfo: 💻 Operating system: macos    
2023-10-25T13:42:50.138660Z  INFO sc_sysinfo: 💻 CPU architecture: aarch64    
2023-10-25T13:42:50.138666Z  INFO sc_service::builder: 📦 Highest known block at #0    
2023-10-25T13:42:50.140233Z  INFO sc_rpc_server: Running JSON-RPC server: addr=127.0.0.1:61767, allowed origins=["*"]    
2023-10-25T13:42:51.936244Z  WARN sdk_utils: Destructor set: farmer-destructors with async allowed is being dropped. Async destructors won't run. Are you missing the `async_drop` call?
thread 'main' panicked at 'Failed to init a farmer: SingleDiskFarmCreate(InsufficientSpaceForFarm { min_space: 1070780769, allocated_space: 100000000 })', examples/simple.rs:30:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-10-25T13:42:51.937140Z  WARN sdk_utils: Destructor set: node-destructors with async allowed is being dropped. Async destructors won't run. Are you missing the `async_drop` call?
2023-10-25T13:42:51.937178Z ERROR sdk_node: Exited from node runner future
2023-10-25T13:42:51.937334Z ERROR sc_service::task_manager: Essential task `basic-block-import-worker` failed. Shutting down service.
@abhi3700 abhi3700 self-assigned this Oct 25, 2023
@abhi3700 abhi3700 linked a pull request Oct 25, 2023 that will close this issue
@abhi3700 abhi3700 linked a pull request Oct 25, 2023 that will close this issue
@abhi3700 abhi3700 added the bug Something isn't working label Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant