Mos build generates "slice bounds out of range" error

Hi folks, I’m banging my head into the wall with what appears to be a mos issue that no other member of my dev team is having.

  1. My goal is: I’m trying to resolve a build issue that appeared suddenly on my (Windows 10) machine. For weeks I’ve been able to build successfully. Today suddenly I am getting a Go runtime error when I try to build: “panic: runtime error: slice bounds out of range”

Two other members of our dev team can build no problem, but I get that error message for each version of our project I’ve tried as well as the Mongoose-OS example project from the quickstart page.
Last week I updated my machine to Go 1.13.8 and Git 2.2.5 but rolling back to the versions I had before didn’t fix it. I have also tried mos version 2.13.0, 2.15.0, 2.16.0, and 2.17.0. I’ve rebooted countless times, restarted Docker several times.

  1. My actions are: Running mos build with the following command:
mos build --platform esp32 --local --build-docker-extra -v --build-docker-extra "$pwd\components:/app/components"
  1. The result I see is:
Fetching libmbedtls-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/mbedtls/releases/download/2.17.0/libmbedtls-esp32.a...
Fetching libmongoose-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/mongoose/releases/download/2.17.0/libmongoose-esp32.a...
Fetching libota-common-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-common/releases/download/2.17.0/libota-common-esp32.a...
Fetching libota-http-client-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-http-client/releases/download/2.17.0/libota-http-client-esp32.a...
Fetching libota-http-server-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-http-server/releases/download/2.17.0/libota-http-server-esp32.a...
Fetching librpc-service-ota-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/rpc-service-ota/releases/download/2.17.0/librpc-service-ota-esp32.a...
Fetching libmbedtls-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/mbedtls/releases/download/2.17.0/libmbedtls-esp32.a...
Fetching libmongoose-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/mongoose/releases/download/2.17.0/libmongoose-esp32.a...
Fetching libota-common-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-common/releases/download/2.17.0/libota-common-esp32.a...
Fetching libota-http-client-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-http-client/releases/download/2.17.0/libota-http-client-esp32.a...
Fetching libota-http-server-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/ota-http-server/releases/download/2.17.0/libota-http-server-esp32.a...
Fetching librpc-service-ota-esp32.a (2.17.0) from https://github.com/mongoose-os-libs/rpc-service-ota/releases/download/2.17.0/librpc-service-ota-esp32.a...
panic: runtime error: slice bounds out of range

goroutine 1 [running, locked to thread]:
main.buildLocal2(0xf38d40, 0x1443c118, 0x1463dd10, 0x1, 0x0, 0x0)
        /src/go/src/github.com/mongoose-os/mos/cli/build_local.go:341 +0x3597
main.buildLocal2(0xf38d40, 0x1443c118, 0x1463dd10, 0x0, 0x0, 0x49303d)
        /src/go/src/github.com/mongoose-os/mos/cli/build_local.go:157 +0x33e0
main.buildLocal(0xf38d40, 0x1443c118, 0x1463dd10, 0x1463ddb0, 0x0)
        /src/go/src/github.com/mongoose-os/mos/cli/build_local.go:58 +0x79
main.doBuild(0xf38d40, 0x1443c118, 0x1463dd10, 0x0, 0x0)
        /src/go/src/github.com/mongoose-os/mos/cli/build.go:216 +0x34e
main.buildHandler(0xf38d40, 0x1443c118, 0x0, 0x0, 0x0, 0x0)
        /src/go/src/github.com/mongoose-os/mos/cli/build.go:164 +0xc1
main.run(0x1461ef40, 0xf38d40, 0x1443c118, 0x0, 0x0, 0x0, 0x1449034)
        /src/go/src/github.com/mongoose-os/mos/cli/main.go:196 +0x78
main.main()
        /src/go/src/github.com/mongoose-os/mos/cli/main.go:298 +0x50b