I have cloned tried to run the http-axum example locally using cargo lambda watch -p 9001. It does successfully respond to requests, but while it is just sitting, it throws an error and re-compiles every second or so.
ERROR internal error watching your project error=IoError { about: "waiting on process group", err: Os { code: 10, kind: Uncategorized, message: "No child processes" } }
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/http-basic-lambda`
ERROR internal error watching your project error=IoError { about: "waiting on process group", err: Os { code: 10, kind: Uncategorized, message: "No child processes" } }
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/http-basic-lambda`
I initially tried running the example from within this parent project, and then pulled it out into its own directory, updating the lambda-runtime and lambda-http dependencies to "0.7.3" and the same error occurs.
I am running this on an M1 Mac. Originally, I had rustc 1.65.0 (897e37553 2022-11-02), but ran rustup update to the latest (rustc 1.67.1 (d5a82bbd2 2023-02-07)) with the same results.
Again, it does still respond successfully to requests over http://localhost:9001/lambda-url/http-basic-lambda, it just keeps recompiling every second or so.