Cannot reproduce. It works on my machine, also with rust 1.65.0. Given that the errors appear come from the typenum crate and not the example code itself I would assume that this is a problem with your setup or something that happened when fetching dependencies, which we have no control over. Have you tried deleting your local caches or reinstalling rust?
Do you try in docker or local machine? Everytime I started a new docker image, so I’m sure no cache problem. What I do are only git clone and make install.