If the tutorial uses Rust, why didn't they use a solver written in Rust? Z3 was written in C++.
Z3 is presumably written in C++ for performance, but without data I am very confident the vast majority of programs that use Z3 consume it via one of the other APIs.