Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sui 1.28.1 #175910

Closed
Closed

sui 1.28.1 #175910

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/s/sui.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Sui < Formula
desc "Next-generation smart contract platform powered by the Move programming language"
homepage "https://sui.io"
url "https://github.com/MystenLabs/sui/archive/refs/tags/testnet-v1.27.2.tar.gz"
sha256 "b665f10f9612b5cb8dc11723055823d1569628d34e266806a2c192b10fcbc75f"
url "https://github.com/MystenLabs/sui/archive/refs/tags/testnet-v1.28.1.tar.gz"
sha256 "e4ba039687c9a524cf827eb6ddf760a91fefcd7b6901a99ee860a9f8ed68b103"
license "Apache-2.0"

livecheck do
Expand All @@ -28,7 +28,7 @@
depends_on "llvm" => :build
end

def install

Check failure on line 31 in Formula/s/sui.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle sui` failed on macOS Sonoma (14) on Apple Silicon!

... 31 | fn contains_block_at_slot(&self, slot: Slot) -> ConsensusResult<bool>; | ^^^^^^^^^^^^^^^^^^^^^^ ... 43 | fn scan_last_blocks_by_author( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `NoopTransactionVerifier` is never constructed --> consensus/core/src/transaction.rs:238:19 | 238 | pub(crate) struct NoopTransactionVerifier; | ^^^^^^^^^^^^^^^^^^^^^^^ Compiling narwhal-storage v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/storage) warning: struct `NoCache` is never constructed --> narwhal/storage/src/certificate_store.rs:192:8 | 192 | struct NoCache {} | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `narwhal-storage` (lib) generated 1 warning Compiling narwhal-primary v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/primary) Compiling narwhal-executor v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/executor) Compiling narwhal-worker v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/worker) warning: fields `authority_id` and `request_batches_retry_nodes` are never read --> narwhal/worker/src/handlers.rs:117:9 | 115 | pub struct PrimaryReceiverHandler<V> { | ---------------------- fields in this struct 116 | // The id of this authority. 117 | pub authority_id: AuthorityIdentifier, | ^^^^^^^^^^^^ ... 130 | pub request_batches_retry_nodes: usize, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `narwhal-worker` (lib) generated 1 warning Compiling narwhal-node v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/node) Compiling sui-archival v1.28.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-archival) Compiling narwhal-test-utils v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/narwhal/test-utils) warning: `consensus-core` (lib) generated 3 warnings warning: field `0` is never read --> crates/sui-network/src/state_sync/server.rs:224:39 | 224 | struct SemaphoreExtension(OwnedSemaphorePermit); | ------------------ ^^^^^^^^^^^^^^^^^^^^ | | | field in this struct | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 224 | struct SemaphoreExtension(()); | ~~ Compiling sui-simulator v0.7.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-simulator) Compiling sui-core v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-core) warning: unused variable: `ccp_digest` --> crates/sui-core/src/checkpoints/mod.rs:1106:22 | 1106 | if let Some((ccp_digest, ccp_effects)) = consensus_commit_prologue { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ccp_digest` | = note: `#[warn(unused_variables)]` on by default Compiling sui-data-ingestion-core v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-data-ingestion-core) Compiling sui-bridge v1.28.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-bridge) warning: `sui-network` (lib) generated 1 warning Compiling simulacrum v0.1.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/simulacrum) Compiling sui-faucet v1.28.0 (/private/tmp/sui-20240628-8883-nr1dvk/sui-testnet-v1.28.1/crates/sui-faucet) warning: field `0` is never read --> crates/sui-core/src/authority/authority_per_epoch_store.rs:127:26 | 127 | pub struct CertLockGuard(MutexGuard); | ------------- ^^^^^^^^^^ | | | field in this struct

Check failure on line 31 in Formula/s/sui.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew install --verbose --formula --build-bottle sui` failed on macOS Monterey (12) on Apple Silicon!

warning: methods `contains_block_at_slot` and `scan_last_blocks_by_author` are never used --> consensus/core/src/storage/mod.rs:31:8 | 20 | pub(crate) trait Store: Send + Sync { | ----- methods in this trait ... 31 | fn contains_block_at_slot(&self, slot: Slot) -> ConsensusResult<bool>; | ^^^^^^^^^^^^^^^^^^^^^^ ... 43 | fn scan_last_blocks_by_author( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `NoopTransactionVerifier` is never constructed --> consensus/core/src/transaction.rs:238:19 | 238 | pub(crate) struct NoopTransactionVerifier; | ^^^^^^^^^^^^^^^^^^^^^^^ Compiling narwhal-storage v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/storage) warning: struct `NoCache` is never constructed --> narwhal/storage/src/certificate_store.rs:192:8 | 192 | struct NoCache {} | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `narwhal-storage` (lib) generated 1 warning Compiling narwhal-primary v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/primary) Compiling narwhal-executor v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/executor) Compiling narwhal-worker v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/worker) warning: fields `authority_id` and `request_batches_retry_nodes` are never read --> narwhal/worker/src/handlers.rs:117:9 | 115 | pub struct PrimaryReceiverHandler<V> { | ---------------------- fields in this struct 116 | // The id of this authority. 117 | pub authority_id: AuthorityIdentifier, | ^^^^^^^^^^^^ ... 130 | pub request_batches_retry_nodes: usize, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `narwhal-worker` (lib) generated 1 warning Compiling narwhal-node v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/node) Compiling sui-archival v1.28.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-archival) warning: field `0` is never read --> crates/sui-network/src/state_sync/server.rs:224:39 | 224 | struct SemaphoreExtension(OwnedSemaphorePermit); | ------------------ ^^^^^^^^^^^^^^^^^^^^ | | | field in this struct | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 224 | struct SemaphoreExtension(()); | ~~ warning: `consensus-core` (lib) generated 3 warnings Compiling narwhal-test-utils v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/narwhal/test-utils) Compiling sui-simulator v0.7.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-simulator) Compiling sui-core v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-core) warning: unused variable: `ccp_digest` --> crates/sui-core/src/checkpoints/mod.rs:1106:22 | 1106 | if let Some((ccp_digest, ccp_effects)) = consensus_commit_prologue { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ccp_digest` | = note: `#[warn(unused_variables)]` on by default Compiling sui-data-ingestion-core v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-data-ingestion-core) warning: `sui-network` (lib) generated 1 warning Compiling sui-bridge v1.28.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-bridge) Compiling simulacrum v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/simulacrum) Compiling sui-faucet v1.28.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-faucet) warning: field `0` is neve
ENV["GIT_REVISION"] = "homebrew"
system "cargo", "install", *std_cargo_args(path: "crates/sui")
end
Expand Down
Loading