Plz make sure you DO NOT have the "rust-analyzer.cargo.loadOutDirsFromCheck": false, settings in your configuration file (like coc-settings.json for example). Build and run the demo: cargo clean && cargo build -