Skip to content

Inconsistent simulation builds #687

Open
@spacey-sooty

Description

@spacey-sooty

Describe the bug
When running ./gradlew simulateNativeDebug I get inconsistent results with the same code.

To Reproduce
Steps to reproduce the behavior:

  1. run git clone https://github.com/spacey-sooty/2024-Crescendo.git
  2. run cd 2024-Crescendo
  3. run ./gradlew simulateNativeDebug
  4. See this error message
> Task :wombat:simulateNativeDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wombat:simulateNativeDebug'.
> Must have 1 and only 1 binary

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 16s
3 actionable tasks: 3 executed
  1. run ./gradlew build (succeeds)
  2. run ./gradlew simulateNative
  3. See this error message
> Task :wombat:simulateNativeRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wombat:simulateNativeRelease'.
> Must have 1 and only 1 binary

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 12s
6 actionable tasks: 2 executed, 4 up-to-date
  1. repeat steps 7 and 8 once.
  2. run ./gradlew simulateNativeDebug
  3. Success

Expected behavior
I expect when I simulate my project with no changes to it the result is the same.

Desktop (please complete the following information):

  • OS: Linux Mint 21.2
  • Project Information:
    Screenshot from 2023-11-24 11-58-37

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