[INFO] fetching crate switchboard-program 0.1.45... [INFO] checking switchboard-program-0.1.45 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate switchboard-program 0.1.45 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate switchboard-program 0.1.45 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate switchboard-program 0.1.45 [INFO] finished tweaking crates.io crate switchboard-program 0.1.45 [INFO] tweaked toml for crates.io crate switchboard-program 0.1.45 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4a01001508e2756de969e8880d231991b3828d978cfb58a02d1b03c2aae136e [INFO] running `Command { std: "docker" "start" "-a" "d4a01001508e2756de969e8880d231991b3828d978cfb58a02d1b03c2aae136e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a01001508e2756de969e8880d231991b3828d978cfb58a02d1b03c2aae136e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a01001508e2756de969e8880d231991b3828d978cfb58a02d1b03c2aae136e", kill_on_drop: false }` [INFO] [stdout] d4a01001508e2756de969e8880d231991b3828d978cfb58a02d1b03c2aae136e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 313ec9251169a57fd5e12812918469268683169c412471d6b0768509b6188725 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "313ec9251169a57fd5e12812918469268683169c412471d6b0768509b6188725", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-protobuf v0.8.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking solana-logger v1.7.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling anchor-syn v0.9.0 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.9.0 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking switchboard-protos v0.1.34 [INFO] [stderr] Compiling anchor-derive-accounts v0.9.0 [INFO] [stderr] Compiling anchor-attribute-program v0.9.0 [INFO] [stderr] Compiling anchor-attribute-event v0.9.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.9.0 [INFO] [stderr] Compiling anchor-attribute-account v0.9.0 [INFO] [stderr] Compiling anchor-attribute-error v0.9.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.9.0 [INFO] [stderr] Compiling anchor-attribute-state v0.9.0 [INFO] [stderr] Checking anchor-lang v0.9.0 [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/ctor.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `anchor_lang::AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(AnchorSerialize, AnchorDeserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `BorshDeserialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `anchor_lang::AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `anchor_lang::AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `anchor_lang::AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[account("internal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `BorshSerialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pubkey: BorshDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.9.0/src/idl.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[account("internal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `BorshDeserialize` is not implemented for `Pubkey` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor-lang` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "313ec9251169a57fd5e12812918469268683169c412471d6b0768509b6188725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313ec9251169a57fd5e12812918469268683169c412471d6b0768509b6188725", kill_on_drop: false }` [INFO] [stdout] 313ec9251169a57fd5e12812918469268683169c412471d6b0768509b6188725