Skip to content

Fix compile errors found by cargo check against ic-cdk 0.19#12

Merged
JoshDFN merged 1 commit into
mainfrom
fix-compile-errors
Feb 26, 2026
Merged

Fix compile errors found by cargo check against ic-cdk 0.19#12
JoshDFN merged 1 commit into
mainfrom
fix-compile-errors

Conversation

@JoshDFN

@JoshDFN JoshDFN commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Ran cargo check on all 11 Rust skills against ic-cdk 0.19. Found and fixed compile errors in 6 skills:

  • wallet + multi-canister factory: Missing environment_variables: None field in CanisterSettings (new in ic-cdk 0.19)
  • https-outcalls: Missing is_replicated: None field in HttpRequestArgs (new in ic-cdk 0.19), HttpResponse type renamed to HttpRequestResult
  • multi-canister content_service: StableBTreeMap::iter() returns LazyEntry in ic-stable-structures 0.7, not tuples
  • certified-variables: Wrong import (HashTreeAsHashTree), certify_response rewritten for ic-http-certification 3.1 API
  • evm-rpc: Call::with_args takes a reference (&), not owned value
  • ckbtc: Removed unused query import

Compile status after fixes

Skill Status
wallet PASS
ckbtc PASS
evm-rpc PASS
https-outcalls PASS
internet-identity PASS (no changes needed)
stable-memory PASS (no changes needed)
multi-canister (3 canisters) PASS
icrc-ledger PASS (no changes needed)
certified-variables PASS
vetkd PASS (no changes needed)
sns-launch PASS (no changes needed)

- wallet/multi-canister factory: add missing environment_variables field to CanisterSettings
- https-outcalls: add is_replicated field to HttpRequestArgs, fix HttpResponse → HttpRequestResult
- multi-canister content_service: fix StableBTreeMap iter() to use entry.value()
- certified-variables: fix AsHashTree import, rewrite certify_response for ic-http-certification 3.1
- evm-rpc: fix Call::with_args to take reference (&)
- ckbtc: remove unused query import
@JoshDFN JoshDFN merged commit 6a3e17d into main Feb 26, 2026
3 checks passed
@marc0olo marc0olo deleted the fix-compile-errors branch February 27, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant