CI: Remove memo program from downstream job (#3804)
#### Problem
The SPL programs are in the process of being moved to program-specific
repos. Memo now exists in https://github.com/solana-program/memo, and
there's a PR to remove it from SPL at
https://github.com/solana-labs/solana-program-library/pull/7535. If we
merge that, however, the downstream jobs will immediately fail.
#### Summary of changes
Remove all references to the memo program in downstream CI.
(cherry picked from commit 4bdea4619a8842fae1958e7e2c5b7052d86c25b6)
Co-authored-by: Jon C <me@jonc.dev>
1. A incoming connection can be ignored now when we do rate limiting -- which is more efficient -- does not require queueing outgoing packets.
2. rustls interface changes of ServerCertVerifier applied to SkipServerVerification implementations
changes in Cargo.toml to handle curve25519-dalek 3.2.1 patching because of zeroize version constraint due to the newer rustls. The workaround is applied to downstream tests.
3. Quinn 0.11.x introduced new error codes which we need to handle.
4. stream finish is no longer an async function.
* bump rust to 1.80
* bump nightly version to 2024-07-21
* bump rust stable to 1.80.1, nightly to 2024-08-08
* clippy: macro_metavars_in_unsafe
* fix unexpected tag
* run anchor downstream test with their master
* add no-entrypoint into workspace level lint
* use correct llvm path for coverage test
* Run frozen-abi tests earlier in ci
* Run cargo check & clippy on frozen-abi code in ci
* Rename IgnoreAsHelper => TransparentAsHelper
* Add explaantion of impl AbiExample for Bank
* Use PhantomData<_> to avoid AbiExample for Bank
* Fix ci...
* put most AbiExample derivations behind a cfg_attr
* feature gate all `extern crate solana_frozen_abi_macro;`
* use cfg_attr wherever we were deriving both AbiExample and AbiEnumVisitor
* fix cases where AbiEnumVisitor was still being derived unconditionally
* fix a case where AbiExample was derived unconditionally
* fix more cases where both AbiEnumVisitor and AbiExample were derived unconditionally
* two more cases where AbiExample and AbiEnumVisitor were unconditionally derived
* fix remaining unconditional derivations of AbiEnumVisitor
* fix cases where AbiExample is the first thing derived
* fix most remaining unconditional derivations of AbiExample
* move all `frozen_abi(digest =` behind cfg_attr
* replace incorrect cfg with cfg_attr
* fix one more unconditionally derived AbiExample
* feature gate AbiExample impls
* add frozen-abi feature to required Cargo.toml files
* make frozen-abi features activate recursively
* fmt
* add missing feature gating
* fix accidentally changed digest
* activate frozen-abi in relevant test scripts
* don't activate solana-program's frozen-abi in sdk dev-dependencies
* update to handle AbiExample derivation on new AppendVecFileBacking enum
* revert toml formatting
* remove unused frozen-abi entries from address-lookup-table Cargo.toml
* remove toml references to solana-address-lookup-table-program/frozen-abi
* update lock file
* remove no-longer-used generic param
* ci: source based coverage
* point to file explorer
* fix sanity
* break line
* pass @ arg from ci/coverage to script/coverage
* move source script to the top
* direct to the summary page
* explain why nightly
* don't rug orignal rustflag
* rearrange args order
* bring back the trace level logging
* remove _
* fix log level
* add reference to envs
* put cov result into target/cov
* move output to target/cov
* XXX hack buildkite pipeline
* XXX: test for no log
* Revert "XXX hack buildkite pipeline"
This reverts commit effb72e78fa1a46e6e7f9b8a3791e8cc8dc1903e.
* Revert "XXX: test for no log"
This reverts commit 975482de9b21129f9ddd1d19d39d8f60500445e5.
* don't use trace log level temporarily
* only search coverage report in the main folder
* Add new script to patch spl in anchor downstream
* Only specify major version for token-2022
* Add update for ahash
* Patch spl in anchor
* Remove dex and metadata features for now
* Add script to specify spl-token-cli version
* Add check for spl-token-cli version to CI
* Add minor release branch cleanup instruction to unblock CI on the new stable branch
---------
Co-authored-by: Will Hickey <will.hickey@solana.com>
* ci: Test anchor-spl during downstream build
* Also test anchor-client
* Update scripts/build-downstream-anchor-projects.sh
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
* Specify features to use in build-sbf
---------
Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
CI uses a number of parameters when running `cargo clippy`. Repeating
the same command manually requires some copy/pasting. It is easier when
there is a common script that can be run by everyone.
* Add --canary option to cargo-install-all for building with separate debug symbols
* lint
* Remove debug-assertions
* switch flag from --canary to --release-with-debug