[INFO] fetching crate switchboard-solana 0.30.4... [INFO] testing switchboard-solana-0.30.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate switchboard-solana 0.30.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate switchboard-solana 0.30.4 [INFO] finished tweaking crates.io crate switchboard-solana 0.30.4 [INFO] tweaked toml for crates.io crate switchboard-solana 0.30.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate switchboard-solana 0.30.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.30.1 (available: v0.31.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded seahash v4.1.0 [INFO] [stderr] Downloaded superslice v1.0.0 [INFO] [stderr] Downloaded ptr_meta v0.1.4 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded anchor-derive-accounts v0.30.1 [INFO] [stderr] Downloaded borsh v0.9.3 [INFO] [stderr] Downloaded anchor-syn v0.30.1 [INFO] [stderr] Downloaded anchor-attribute-error v0.30.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.30.1 [INFO] [stderr] Downloaded im v15.1.0 [INFO] [stderr] Downloaded ark-ff v0.4.2 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.30.1 [INFO] [stderr] Downloaded memoffset v0.9.1 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded anchor-attribute-account v0.30.1 [INFO] [stderr] Downloaded bs58 v0.5.1 [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] [stderr] Downloaded libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Downloaded ark-ff-asm v0.4.2 [INFO] [stderr] Downloaded solana-program v1.18.26 [INFO] [stderr] Downloaded bytemuck_derive v1.10.1 [INFO] [stderr] Downloaded anchor-derive-space v0.30.1 [INFO] [stderr] Downloaded libsecp256k1 v0.6.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.30.1 [INFO] [stderr] Downloaded anchor-derive-serde v0.30.1 [INFO] [stderr] Downloaded curve25519-dalek v3.2.1 [INFO] [stderr] Downloaded ark-ff-macros v0.4.2 [INFO] [stderr] Downloaded ark-std v0.4.0 [INFO] [stderr] Downloaded feature-probe v0.1.1 [INFO] [stderr] Downloaded hmac v0.8.1 [INFO] [stderr] Downloaded borsh-derive v1.5.7 [INFO] [stderr] Downloaded ptr_meta_derive v0.1.4 [INFO] [stderr] Downloaded anchor-lang-idl v0.1.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded ahash v0.7.8 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded toml_edit v0.23.6 [INFO] [stderr] Downloaded borsh-derive v0.9.3 [INFO] [stderr] Downloaded console_log v0.2.2 [INFO] [stderr] Downloaded ark-poly v0.4.2 [INFO] [stderr] Downloaded ark-serialize v0.4.2 [INFO] [stderr] Downloaded light-poseidon v0.2.0 [INFO] [stderr] Downloaded bitmaps v2.1.0 [INFO] [stderr] Downloaded bs58 v0.4.0 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.7 [INFO] [stderr] Downloaded tiny-bip39 v0.8.2 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded zeroize v1.3.0 [INFO] [stderr] Downloaded anchor-lang v0.30.1 [INFO] [stderr] Downloaded proc-macro-crate v3.4.0 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded anchor-attribute-program v0.30.1 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.3 [INFO] [stderr] Downloaded borsh-derive-internal v0.10.4 [INFO] [stderr] Downloaded borsh-derive v0.10.4 [INFO] [stderr] Downloaded borsh v0.10.4 [INFO] [stderr] Downloaded libsecp256k1-core v0.2.2 [INFO] [stderr] Downloaded rand_xoshiro v0.6.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.26 [INFO] [stderr] Downloaded pbkdf2 v0.4.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Downloaded jobserver v0.1.34 [INFO] [stderr] Downloaded ark-bn254 v0.4.0 [INFO] [stderr] Downloaded num-derive v0.4.2 [INFO] [stderr] Downloaded hmac-drbg v0.3.0 [INFO] [stderr] Downloaded libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Downloaded ark-ec v0.4.2 [INFO] [stderr] Downloaded ark-serialize-derive v0.4.2 [INFO] [stderr] Downloaded bv v0.11.1 [INFO] [stderr] Downloaded sized-chunks v0.6.5 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.26 [INFO] [stderr] Downloaded crypto-mac v0.8.0 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f93fda62ab7c0c2a34856f4d8f3868ba8ef41b0c0342c5e166f0ec693bbe3bfc [INFO] running `Command { std: "docker" "start" "-a" "f93fda62ab7c0c2a34856f4d8f3868ba8ef41b0c0342c5e166f0ec693bbe3bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f93fda62ab7c0c2a34856f4d8f3868ba8ef41b0c0342c5e166f0ec693bbe3bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93fda62ab7c0c2a34856f4d8f3868ba8ef41b0c0342c5e166f0ec693bbe3bfc", kill_on_drop: false }` [INFO] [stdout] f93fda62ab7c0c2a34856f4d8f3868ba8ef41b0c0342c5e166f0ec693bbe3bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8248834ce7f95c1af96c67c935b5b0e5c518d4eab387b9f51097b83561c12ae3 [INFO] running `Command { std: "docker" "start" "-a" "8248834ce7f95c1af96c67c935b5b0e5c518d4eab387b9f51097b83561c12ae3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling superslice v1.0.0 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.30.1 [INFO] [stderr] Compiling anchor-attribute-program v0.30.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.30.1 [INFO] [stderr] Compiling anchor-derive-serde v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Compiling anchor-attribute-account v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling anchor-lang v0.30.1 [INFO] [stderr] Compiling switchboard-solana v0.30.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `macros` [INFO] [stdout] --> src/macros.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / cfg_macros! { [INFO] [stdout] 125 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 126 | | pub use futures; [INFO] [stdout] 127 | | pub use futures::Future; [INFO] [stdout] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / cfg_macros! { [INFO] [stdout] 125 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 126 | | pub use futures; [INFO] [stdout] 127 | | pub use futures::Future; [INFO] [stdout] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(doc_cfg, doc(cfg(feature = "client")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_client! { [INFO] [stdout] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stdout] 40 | | pub async fn get_instruction( [INFO] [stdout] 41 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `client` [INFO] [stdout] --> src/macros.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_client! { [INFO] [stdout] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stdout] 40 | | pub async fn get_instruction( [INFO] [stdout] 41 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/oracle_program/instructions/permission_set.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/program_id.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Program id for the Switchboard oracle program [INFO] [stdout] 11 | | /// SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f [INFO] [stdout] | |_----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use utils::*; [INFO] [stdout] | -------- but the name `pubkey` in the macro namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 116 | pub use program_id::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `pubkey` in the macro namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(doc_cfg, doc(cfg(not(feature = "client"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / cfg_program! { [INFO] [stdout] 15 | | pub use anchor_lang; [INFO] [stdout] 16 | | pub use anchor_lang::solana_program; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `client` [INFO] [stdout] --> src/macros.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(feature = "client"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / cfg_program! { [INFO] [stdout] 15 | | pub use anchor_lang; [INFO] [stdout] 16 | | pub use anchor_lang::solana_program; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `macros` [INFO] [stdout] --> src/macros.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / cfg_macros! { [INFO] [stdout] 24 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 25 | | pub use futures; [INFO] [stdout] 26 | | pub use futures::Future; [INFO] [stdout] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / cfg_macros! { [INFO] [stdout] 24 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 25 | | pub use futures; [INFO] [stdout] 26 | | pub use futures::Future; [INFO] [stdout] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_account_metas` is never used [INFO] [stdout] --> src/oracle_program/instructions/oracle_heartbeat.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'info> OracleHeartbeat { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 21 | #[allow(unused_variables)] [INFO] [stdout] 22 | fn to_account_metas(&self, is_signer: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "8248834ce7f95c1af96c67c935b5b0e5c518d4eab387b9f51097b83561c12ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8248834ce7f95c1af96c67c935b5b0e5c518d4eab387b9f51097b83561c12ae3", kill_on_drop: false }` [INFO] [stdout] 8248834ce7f95c1af96c67c935b5b0e5c518d4eab387b9f51097b83561c12ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187cde591e0f29f511df0971aa304c795aea4b95c9ef2a410e7e8fde94a14d18 [INFO] running `Command { std: "docker" "start" "-a" "187cde591e0f29f511df0971aa304c795aea4b95c9ef2a410e7e8fde94a14d18", kill_on_drop: false }` [INFO] [stderr] Compiling switchboard-solana v0.30.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `macros` [INFO] [stdout] --> src/macros.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / cfg_macros! { [INFO] [stdout] 125 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 126 | | pub use futures; [INFO] [stdout] 127 | | pub use futures::Future; [INFO] [stdout] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / cfg_macros! { [INFO] [stdout] 125 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 126 | | pub use futures; [INFO] [stdout] 127 | | pub use futures::Future; [INFO] [stdout] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(target_os = "solana"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(doc_cfg, doc(cfg(feature = "client")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_client! { [INFO] [stdout] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stdout] 40 | | pub async fn get_instruction( [INFO] [stdout] 41 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `client` [INFO] [stdout] --> src/macros.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_client! { [INFO] [stdout] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stdout] 40 | | pub async fn get_instruction( [INFO] [stdout] 41 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/oracle_program/instructions/permission_set.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/program_id.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Program id for the Switchboard oracle program [INFO] [stdout] 11 | | /// SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f [INFO] [stdout] | |_----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use utils::*; [INFO] [stdout] | -------- but the name `pubkey` in the macro namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 116 | pub use program_id::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `pubkey` in the macro namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/macros.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(doc_cfg, doc(cfg(not(feature = "client"))))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / cfg_program! { [INFO] [stdout] 15 | | pub use anchor_lang; [INFO] [stdout] 16 | | pub use anchor_lang::solana_program; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `client` [INFO] [stdout] --> src/macros.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(feature = "client"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / cfg_program! { [INFO] [stdout] 15 | | pub use anchor_lang; [INFO] [stdout] 16 | | pub use anchor_lang::solana_program; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `macros` [INFO] [stdout] --> src/macros.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / cfg_macros! { [INFO] [stdout] 24 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 25 | | pub use futures; [INFO] [stdout] 26 | | pub use futures::Future; [INFO] [stdout] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stdout] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/macros.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / cfg_macros! { [INFO] [stdout] 24 | | // Futures crate is needed by the proc_macro [INFO] [stdout] 25 | | pub use futures; [INFO] [stdout] 26 | | pub use futures::Future; [INFO] [stdout] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stdout] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_account_metas` is never used [INFO] [stdout] --> src/oracle_program/instructions/oracle_heartbeat.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'info> OracleHeartbeat { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 21 | #[allow(unused_variables)] [INFO] [stdout] 22 | fn to_account_metas(&self, is_signer: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "187cde591e0f29f511df0971aa304c795aea4b95c9ef2a410e7e8fde94a14d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187cde591e0f29f511df0971aa304c795aea4b95c9ef2a410e7e8fde94a14d18", kill_on_drop: false }` [INFO] [stdout] 187cde591e0f29f511df0971aa304c795aea4b95c9ef2a410e7e8fde94a14d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee3ac4559b5c9520b12b3a9ea242acc3745660532a12a7a31ce5069f00199eca [INFO] running `Command { std: "docker" "start" "-a" "ee3ac4559b5c9520b12b3a9ea242acc3745660532a12a7a31ce5069f00199eca", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `macros` [INFO] [stderr] --> src/macros.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | / cfg_macros! { [INFO] [stderr] 125 | | // Futures crate is needed by the proc_macro [INFO] [stderr] 126 | | pub use futures; [INFO] [stderr] 127 | | pub use futures::Future; [INFO] [stderr] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stderr] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stderr] 130 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stderr] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/macros.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | / cfg_macros! { [INFO] [stderr] 125 | | // Futures crate is needed by the proc_macro [INFO] [stderr] 126 | | pub use futures; [INFO] [stderr] 127 | | pub use futures::Future; [INFO] [stderr] 128 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stderr] 129 | | pub use switchboard_solana_macros::sb_error; [INFO] [stderr] 130 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/macros.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/macros.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/macros.rs:129:11 [INFO] [stderr] | [INFO] [stderr] 129 | #[cfg(not(target_os = "solana"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/macros.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 130 | #[cfg_attr(doc_cfg, doc(cfg(not(target_os = "solana"))))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/macros.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(doc_cfg, doc(cfg(feature = "client")))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / cfg_client! { [INFO] [stderr] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stderr] 40 | | pub async fn get_instruction( [INFO] [stderr] 41 | | &self, [INFO] [stderr] ... | [INFO] [stderr] 170 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `client` [INFO] [stderr] --> src/macros.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(feature = "client")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/oracle_program/instructions/aggregator_save_result.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / cfg_client! { [INFO] [stderr] 39 | | impl<'info> AggregatorSaveResult { [INFO] [stderr] 40 | | pub async fn get_instruction( [INFO] [stderr] 41 | | &self, [INFO] [stderr] ... | [INFO] [stderr] 170 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stderr] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_client` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/oracle_program/instructions/permission_set.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/program_id.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / /// Program id for the Switchboard oracle program [INFO] [stderr] 11 | | /// SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f [INFO] [stderr] | |_----------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/lib.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 111 | pub use utils::*; [INFO] [stderr] | -------- but the name `pubkey` in the macro namespace is also re-exported here [INFO] [stderr] ... [INFO] [stderr] 116 | pub use program_id::*; [INFO] [stderr] | ^^^^^^^^^^^^^ the name `pubkey` in the macro namespace is first re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/macros.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg_attr(doc_cfg, doc(cfg(not(feature = "client"))))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/prelude.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / cfg_program! { [INFO] [stderr] 15 | | pub use anchor_lang; [INFO] [stderr] 16 | | pub use anchor_lang::solana_program; [INFO] [stderr] ... | [INFO] [stderr] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stderr] 21 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `client` [INFO] [stderr] --> src/macros.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(not(feature = "client"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/prelude.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / cfg_program! { [INFO] [stderr] 15 | | pub use anchor_lang; [INFO] [stderr] 16 | | pub use anchor_lang::solana_program; [INFO] [stderr] ... | [INFO] [stderr] 20 | | pub use anchor_lang::prelude::Result; [INFO] [stderr] 21 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stderr] = help: consider adding `client` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `macros` [INFO] [stderr] --> src/macros.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/prelude.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / cfg_macros! { [INFO] [stderr] 24 | | // Futures crate is needed by the proc_macro [INFO] [stderr] 25 | | pub use futures; [INFO] [stderr] 26 | | pub use futures::Future; [INFO] [stderr] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stderr] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `pid_override` [INFO] [stderr] = help: consider adding `macros` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/macros.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(all(feature = "macros", not(target_os = "solana")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/prelude.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / cfg_macros! { [INFO] [stderr] 24 | | // Futures crate is needed by the proc_macro [INFO] [stderr] 25 | | pub use futures; [INFO] [stderr] 26 | | pub use futures::Future; [INFO] [stderr] 27 | | pub use switchboard_solana_macros::switchboard_function; [INFO] [stderr] 28 | | pub use switchboard_solana_macros::sb_error; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `to_account_metas` is never used [INFO] [stderr] --> src/oracle_program/instructions/oracle_heartbeat.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl<'info> OracleHeartbeat { [INFO] [stderr] | --------------------------- method in this implementation [INFO] [stderr] 21 | #[allow(unused_variables)] [INFO] [stderr] 22 | fn to_account_metas(&self, is_signer: Option) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `switchboard-solana` (lib test) generated 17 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/switchboard_solana-9010d065b204ce60) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test decimal::tests::empty_switchboard_decimal_is_false ... ok [INFO] [stdout] test decimal::tests::switchboard_decimal_into_rust_decimal ... ok [INFO] [stdout] test decimal::tests::switchboard_decimal_to_f64 ... ok [INFO] [stdout] test decimal::tests::switchboard_decimal_to_u64 ... ok [INFO] [stdout] test oracle_program::accounts::aggregator::tests::test_accept_current_on_sucess_count ... ok [INFO] [stdout] test oracle_program::accounts::aggregator::tests::test_no_valid_aggregator_result ... ok [INFO] [stdout] test oracle_program::accounts::aggregator::tests::test_reject_current_on_sucess_count ... ok [INFO] [stdout] test oracle_program::accounts::history_buffer::tests::test_history_buffer ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee3ac4559b5c9520b12b3a9ea242acc3745660532a12a7a31ce5069f00199eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee3ac4559b5c9520b12b3a9ea242acc3745660532a12a7a31ce5069f00199eca", kill_on_drop: false }` [INFO] [stdout] ee3ac4559b5c9520b12b3a9ea242acc3745660532a12a7a31ce5069f00199eca