GradleRIO icon indicating copy to clipboard operation
GradleRIO copied to clipboard

Inconsistent simulation builds

Open spacey-sooty opened this issue 7 months ago • 4 comments

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
  • Link to code: https://github.com/spacey-sooty/2024-Crescendo/tree/master

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

spacey-sooty avatar Nov 24 '23 04:11 spacey-sooty