WARNING!
An error occurred during Candid interface compatibility check for canister 'backend'.
Deployed did file should contain some service interface
Do you want to proceed? yes/No
yes
but i have no any hint of what exactly make it not compatible .
After read the article above:
my project at the end of lib.rs file :
use ic_cdk::export_candid;
export_candid!();
btwl@btwl-virtual-machine:~/Desktop/ic/tax_lint$ dfx deploy backend
Please enter the passphrase for your identity: [hidden]
Decryption complete.
Deploying: backend
All canisters have already been created.
Building canisters...
WARN: Cannot check for vulnerabilities in rust canisters because cargo-audit is not installed. Please run 'cargo install cargo-audit' so that vulnerabilities can be detected.
Executing: cargo build --target wasm32-unknown-unknown --release -p backend --locked
Finished release [optimized] target(s) in 1.78s
Installing canisters...
WARNING!
An error occurred during Candid interface compatibility check for canister 'backend'.
Generated did file should contain some service interface
Do you want to proceed? yes/No
yes
Module hash a6ec1bf689e6a0b4f058ff27196aa192cbe79822cf621982e32d45e959f85fd2 is already installed.
Deployed canisters.
URLs:
Backend canister via Candid interface:
backend: http://127.0.0.1:4943/?canisterId=bd3sg-teaaa-aaaaa-qaaba-cai&id=bkyz2-fmaaa-aaaaa-qaaaq-cai
The error says: An error occurred during Candid interface compatibility check for canister ‘backend’.