Skip to content

[ bug ] error: unexpected argument '--build-plan' found #319

Description

@yonas
$ git clone https://github.com/yonasBSD/github-rs /tmp/github-rs
$ cd /tmp/github-rs
$ curl -sSfL https://hurry-releases.s3.amazonaws.com/install.sh | bash
$ hurry cargo build --release
Error: 
   0: calculating expected units
   1: run cargo command
   2: cargo exited with status: exit status: 1

Location:
   /home/runner/work/hurry/hurry/packages/hurry/src/cargo.rs:135

Stderr:
   error: unexpected argument '--build-plan' found

   Usage: cargo build --release

   For more information, try '--help'.


  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   0: hurry::cargo::workspace::Workspace::build_plan_inner with self=Workspace { root: /tmp/g, build_dir: /tmp/g/target, cargo_home: /home/yonas/.cargo, profile: Release, target_arch: ImplicitHost, host_arch: X86_64LinuxGnu } args=CargoBuildArguments([Release])
      at packages/hurry/src/cargo/workspace.rs:279
   1: hurry::cargo::workspace::Workspace::build_plan with self=Workspace { root: /tmp/g, build_dir: /tmp/g/target, cargo_home: /home/yonas/.cargo, profile: Release, target_arch: ImplicitHost, host_arch: X86_64LinuxGnu } args=CargoBuildArguments([Release])
      at packages/hurry/src/cargo/workspace.rs:237
   2: hurry::cargo::workspace::Workspace::units with self=Workspace { root: /tmp/g, build_dir: /tmp/g/target, cargo_home: /home/yonas/.cargo, profile: Release, target_arch: ImplicitHost, host_arch: X86_64LinuxGnu } args=CargoBuildArguments([Release])
      at packages/hurry/src/cargo/workspace.rs:322
   3: hurry::cmd::cargo::build::exec with options=Options { api_url: https://app.hurry.build/, api_token: Some([redacted]), skip_backup: false, skip_build: false, skip_restore: false, wait_for_upload: None, help: false, argv: ["--release"] }
      at packages/hurry/src/bin/hurry/cmd/cargo/build.rs:121

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

cargo 1.94.0-nightly
Ubuntu 25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions