Skip to content

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp… #4831

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp…

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp… #4831

Triggered via push March 8, 2024 01:10
Status Failure
Total duration 8m 59s
Artifacts

ci.yml

on: push
Matrix: build-latest
Matrix: build-nodefault
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

61 errors and 5 warnings
Clippy (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Latest build on ubuntu-latest
Process completed with exit code 101.
Latest build on windows-latest
The job was canceled because "ubuntu-latest" failed.
Latest build on windows-latest
The operation was canceled.
Latest build on macOS-latest
The job was canceled because "ubuntu-latest" failed.
Latest build on macOS-latest
The operation was canceled.
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1032
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1032:30 | 1032 | let cmx = orchard::note::ExtractedNoteCommitment::from(note.commitment()) | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `orchard::note` | help: consider importing this struct | 1 | use sapling::note::ExtractedNoteCommitment; | help: if you import `ExtractedNoteCommitment`, refer to it directly | 1032 - let cmx = orchard::note::ExtractedNoteCommitment::from(note.commitment()) 1032 + let cmx = ExtractedNoteCommitment::from(note.commitment()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1026
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1026:25 | 1026 | orchard::value::NoteValue::from_raw(value.into_u64()), | ^^^^^^^^^ not found in `orchard::value` | help: consider importing one of these items | 1 | use sapling::value::NoteValue; | 1 | use zcash_proofs::circuit::sprout::NoteValue; | help: if you import `NoteValue`, refer to it directly | 1026 - orchard::value::NoteValue::from_raw(value.into_u64()), 1026 + NoteValue::from_raw(value.into_u64()), |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1024
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1024:25 | 1024 | let note = orchard::Note::from_parts( | ^^^^ not found in `orchard` | help: consider importing one of these items | 1 | use crate::Note; | 1 | use sapling::Note; | 1 | use zcash_client_backend::wallet::Note; | help: if you import `Note`, refer to it directly | 1024 - let note = orchard::Note::from_parts( 1024 + let note = Note::from_parts( |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L911
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:911:28 | 911 | orchard::note::Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) | ^^^^^^^^^ not found in `orchard::note` | help: consider importing this struct | 1 | use sapling::Nullifier; | help: if you import `Nullifier`, refer to it directly | 911 - orchard::note::Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) 911 + Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L884
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:884:38 | 884 | break orchard::keys::FullViewingKey::from(&sk.unwrap()) | ^^^^^^^^^^^^^^ not found in `orchard::keys` | help: consider importing this struct | 1 | use sapling::keys::FullViewingKey; | help: if you import `FullViewingKey`, refer to it directly | 884 - break orchard::keys::FullViewingKey::from(&sk.unwrap()) 884 + break FullViewingKey::from(&sk.unwrap()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L882
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:882:37 | 882 | let sk = orchard::keys::SpendingKey::from_bytes(bytes); | ^^^^^^^^^^^ not found in `orchard::keys` | help: consider importing this struct | 1 | use zcash_proofs::circuit::sprout::SpendingKey; | help: if you import `SpendingKey`, refer to it directly | 882 - let sk = orchard::keys::SpendingKey::from_bytes(bytes); 882 + let sk = SpendingKey::from_bytes(bytes); |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1018
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1018:25 | 1018 | let rseed = orchard::note::RandomSeed::from_bytes(bytes, &nullifier); | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1011
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1011:29 | 1011 | ) -> (CompactOrchardAction, orchard::Note) { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1009
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1009:17 | 1009 | ovk: Option<orchard::keys::OutgoingViewingKey>, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1007
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1007:16 | 1007 | recipient: orchard::Address, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1006
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1006:16 | 1006 | nullifier: orchard::note::Nullifier, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L868
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:868:58 | 868 | fn orchard_ovk(&self, scope: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey> { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L862
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:862:22 | 862 | type Nullifier = orchard::note::Nullifier; | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L861
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:861:18 | 861 | impl TestFvk for orchard::keys::FullViewingKey { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L821
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:821:54 | 821 | fn orchard_ovk(&self, _: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey> { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L770
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:770:58 | 770 | fn orchard_ovk(&self, scope: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey>; | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L10
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:10:5 | 10 | use orchard::note_encryption::{OrchardDomain, OrchardNoteEncryption}; | ^^^^^^^ use of undeclared crate or module `orchard`
Clippy (MSRV)
Clippy had exited with the 101 exit code
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1032
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1032:30 | 1032 | let cmx = orchard::note::ExtractedNoteCommitment::from(note.commitment()) | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `orchard::note` | help: consider importing this struct | 1 | use sapling::note::ExtractedNoteCommitment; | help: if you import `ExtractedNoteCommitment`, refer to it directly | 1032 - let cmx = orchard::note::ExtractedNoteCommitment::from(note.commitment()) 1032 + let cmx = ExtractedNoteCommitment::from(note.commitment()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1026
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1026:25 | 1026 | orchard::value::NoteValue::from_raw(value.into_u64()), | ^^^^^^^^^ not found in `orchard::value` | help: consider importing one of these items | 1 | use sapling::value::NoteValue; | 1 | use zcash_proofs::circuit::sprout::NoteValue; | help: if you import `NoteValue`, refer to it directly | 1026 - orchard::value::NoteValue::from_raw(value.into_u64()), 1026 + NoteValue::from_raw(value.into_u64()), |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1024
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1024:25 | 1024 | let note = orchard::Note::from_parts( | ^^^^ not found in `orchard` | help: consider importing one of these items | 1 | use crate::Note; | 1 | use sapling::Note; | 1 | use zcash_client_backend::wallet::Note; | help: if you import `Note`, refer to it directly | 1024 - let note = orchard::Note::from_parts( 1024 + let note = Note::from_parts( |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L911
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:911:28 | 911 | orchard::note::Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) | ^^^^^^^^^ not found in `orchard::note` | help: consider importing this struct | 1 | use sapling::Nullifier; | help: if you import `Nullifier`, refer to it directly | 911 - orchard::note::Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) 911 + Nullifier::from_bytes(&pallas::Base::random(&mut rng).to_repr()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L884
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:884:38 | 884 | break orchard::keys::FullViewingKey::from(&sk.unwrap()) | ^^^^^^^^^^^^^^ not found in `orchard::keys` | help: consider importing this struct | 1 | use sapling::keys::FullViewingKey; | help: if you import `FullViewingKey`, refer to it directly | 884 - break orchard::keys::FullViewingKey::from(&sk.unwrap()) 884 + break FullViewingKey::from(&sk.unwrap()) |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L882
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:882:37 | 882 | let sk = orchard::keys::SpendingKey::from_bytes(bytes); | ^^^^^^^^^^^ not found in `orchard::keys` | help: consider importing this struct | 1 | use zcash_proofs::circuit::sprout::SpendingKey; | help: if you import `SpendingKey`, refer to it directly | 882 - let sk = orchard::keys::SpendingKey::from_bytes(bytes); 882 + let sk = SpendingKey::from_bytes(bytes); |
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1018
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1018:25 | 1018 | let rseed = orchard::note::RandomSeed::from_bytes(bytes, &nullifier); | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1011
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1011:29 | 1011 | ) -> (CompactOrchardAction, orchard::Note) { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1009
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1009:17 | 1009 | ovk: Option<orchard::keys::OutgoingViewingKey>, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1007
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1007:16 | 1007 | recipient: orchard::Address, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L1006
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:1006:16 | 1006 | nullifier: orchard::note::Nullifier, | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L868
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:868:58 | 868 | fn orchard_ovk(&self, scope: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey> { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L862
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:862:22 | 862 | type Nullifier = orchard::note::Nullifier; | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L861
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:861:18 | 861 | impl TestFvk for orchard::keys::FullViewingKey { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L821
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:821:54 | 821 | fn orchard_ovk(&self, _: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey> { | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L770
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:770:58 | 770 | fn orchard_ovk(&self, scope: zip32::Scope) -> Option<orchard::keys::OutgoingViewingKey>; | ^^^^^^^ use of undeclared crate or module `orchard`
failed to resolve: use of undeclared crate or module `orchard`: zcash_client_sqlite/src/testing.rs#L10
error[E0433]: failed to resolve: use of undeclared crate or module `orchard` --> zcash_client_sqlite/src/testing.rs:10:5 | 10 | use orchard::note_encryption::{OrchardDomain, OrchardNoteEncryption}; | ^^^^^^^ use of undeclared crate or module `orchard`
Test on ubuntu-latest
Process completed with exit code 101.
Test on ubuntu-latest with --features unstable-nu6
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on ubuntu-latest with --features unstable-nu6
Process completed with exit code 101.
Test on windows-latest with --features unstable-nu6
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on windows-latest with --features unstable-nu6
The operation was canceled.
Test on windows-latest
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on windows-latest
The operation was canceled.
Test on windows-latest with --features orchard
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on windows-latest with --features orchard
The operation was canceled.
Test on windows-latest with --features zfuture
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on windows-latest with --features zfuture
The operation was canceled.
Test on ubuntu-latest with --features zfuture
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on ubuntu-latest with --features zfuture
Process completed with exit code 101.
Test on ubuntu-latest with --features orchard
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on ubuntu-latest with --features orchard
The operation was canceled.
Test on macOS-latest
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on macOS-latest
The operation was canceled.
Test on macOS-latest with --features orchard
The job was canceled because "ubuntu-latest_NOT_A_PUZZL" failed.
Test on macOS-latest with --features orchard
The operation was canceled.
Code coverage
Process completed with exit code 1.
Clippy (beta)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
protobuf consistency
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: supplypike/setup-bin@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (MSRV)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (MSRV)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/