https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

06/07/2022, 4:14 PM
I feel like this one's a forehead slapper. See my WIP PR
Copy code
Exception message: PyExecutionStrategyOptions.__new__() got an unexpected keyword argument 'graceful_shutdown_max_wait_time'
But it's there! https://github.com/pantsbuild/pants/pull/15767/files#diff-18e353db2e73ac671b9cd2ab0d08a156cf2fffbd51f460dc9a4ab6684d443e22
1
w

witty-crayon-22786

06/07/2022, 4:16 PM
i… don’t see anything wrong there. perhaps the native-engine build (which because it is bootstrapped, is handled by a shell script) got out of sync? if you make other edits to the rust code, does it shake loose?
b

bitter-ability-32190

06/07/2022, 4:17 PM
Yeah I tried adding a dummy argument along with mine.
./pants help
compiles and runs fine 😕
w

witty-crayon-22786

06/07/2022, 4:20 PM
i just tried that PR out, and it works on my machine …
b

bitter-ability-32190

06/07/2022, 4:20 PM
well fun 😵
w

witty-crayon-22786

06/07/2022, 4:21 PM
given that you’ve got lots of cores, you might try moving aside or nuking
src/rust/engine/target
, which contains `cargo`’s cache
💥 1
b

bitter-ability-32190

06/07/2022, 4:34 PM
That did it!
w

witty-crayon-22786

06/07/2022, 4:48 PM
Oof. Sorry. Wonder if that is an incremental compile bug in rustc or something dumber. I haven't needed to do that in... the last year probably