[INFO] fetching crate safe-anchor-spl 0.22.0...
[INFO] documenting safe-anchor-spl-0.22.0 against nightly for pr-99919
[INFO] extracting crate safe-anchor-spl 0.22.0 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate safe-anchor-spl 0.22.0 on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate safe-anchor-spl 0.22.0
[INFO] finished tweaking crates.io crate safe-anchor-spl 0.22.0
[INFO] tweaked toml for crates.io crate safe-anchor-spl 0.22.0 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anchor-attribute-account v0.22.1
[INFO] [stderr]   Downloaded enumflags2 v0.6.4
[INFO] [stderr]   Downloaded alloc-traits v0.1.1
[INFO] [stderr]   Downloaded safe-token-2022 v0.2.1
[INFO] [stderr]   Downloaded serum_dex v0.4.0
[INFO] [stderr]   Downloaded spl-token v3.5.0
[INFO] [stderr]   Downloaded safecoin-frozen-abi-macro v1.10.34
[INFO] [stderr]   Downloaded safecoin-program v1.10.34
[INFO] [stderr]   Downloaded anchor-derive-accounts v0.22.1
[INFO] [stderr]   Downloaded anchor-attribute-constant v0.22.1
[INFO] [stderr]   Downloaded enumflags2_derive v0.6.4
[INFO] [stderr]   Downloaded safe-transmute v0.11.2
[INFO] [stderr]   Downloaded without-alloc v0.2.1
[INFO] [stderr]   Downloaded anchor-attribute-error v0.22.1
[INFO] [stderr]   Downloaded anchor-attribute-event v0.22.1
[INFO] [stderr]   Downloaded anchor-attribute-interface v0.22.1
[INFO] [stderr]   Downloaded anchor-attribute-program v0.22.1
[INFO] [stderr]   Downloaded anchor-attribute-state v0.22.1
[INFO] [stderr]   Downloaded anchor-syn v0.22.1
[INFO] [stderr]   Downloaded safe-anchor-lang v0.22.0
[INFO] [stderr]   Downloaded anchor-attribute-access-control v0.22.1
[INFO] [stderr]   Downloaded safe-associated-token-account v1.0.12
[INFO] [stderr]   Downloaded safecoin-frozen-abi v1.10.34
[INFO] [stderr]   Downloaded safecoin-sdk-macro v1.10.34
[INFO] [stderr]   Downloaded safe-memo v3.0.8
[INFO] [stderr]   Downloaded safecoin-sdk v1.10.34
[INFO] [stderr]   Downloaded safe-zk-token-sdk v1.10.34
[INFO] [stderr]   Downloaded safecoin-logger v1.10.34
[INFO] [stderr]   Downloaded safe-token v3.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c37dbb3ca114229dabcdc65860060e4581bee1b620fd09f29e95aa8758da8e9c
[INFO] running `Command { std: "docker" "start" "-a" "c37dbb3ca114229dabcdc65860060e4581bee1b620fd09f29e95aa8758da8e9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c37dbb3ca114229dabcdc65860060e4581bee1b620fd09f29e95aa8758da8e9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c37dbb3ca114229dabcdc65860060e4581bee1b620fd09f29e95aa8758da8e9c", kill_on_drop: false }`
[INFO] [stdout] c37dbb3ca114229dabcdc65860060e4581bee1b620fd09f29e95aa8758da8e9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14d55ea7a3b152d65596da83b8525ffb2f687752018a8fcdc7ed9b68000edc54
[INFO] running `Command { std: "docker" "start" "-a" "14d55ea7a3b152d65596da83b8525ffb2f687752018a8fcdc7ed9b68000edc54", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.82
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]     Checking keccak v0.1.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.82
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking signature v1.5.0
[INFO] [stderr]     Checking derivation-path v0.2.0
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]     Checking qstring v0.7.2
[INFO] [stderr]     Checking uriparse v0.6.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking bitmaps v2.1.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking memmap2 v0.5.6
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling safecoin-frozen-abi-macro v1.10.34
[INFO] [stderr]    Compiling safecoin-frozen-abi v1.10.34
[INFO] [stderr]    Compiling safecoin-program v1.10.34
[INFO] [stderr]    Compiling safecoin-sdk v1.10.34
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_xoshiro v0.6.0
[INFO] [stderr]     Checking rayon v1.5.3
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking safecoin-logger v1.10.34
[INFO] [stderr]     Checking sized-chunks v0.6.5
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.82
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.82
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling bytemuck_derive v1.1.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.82
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling safecoin-sdk-macro v1.10.34
[INFO] [stderr]     Checking bytemuck v1.11.0
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]     Checking serde v1.0.143
[INFO] [stderr]     Checking serde_bytes v0.11.7
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_json v1.0.83
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]     Checking aead v0.4.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]     Checking polyval v0.5.3
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking cipher v0.4.3
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking ctr v0.8.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking sha3 v0.10.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pbkdf2 v0.10.1
[INFO] [stderr]     Checking aes-gcm-siv v0.10.3
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling anchor-syn v0.22.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]     Checking ed25519-dalek-bip32 v0.2.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]     Checking borsh v0.9.3
[INFO] [stderr]     Checking num_enum v0.5.7
[INFO] [stderr]    Compiling anchor-attribute-interface v0.22.1
[INFO] [stderr]    Compiling anchor-derive-accounts v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-program v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-state v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-account v0.22.1
[INFO] [stderr]    Compiling anchor-attribute-event v0.22.1
[INFO] [stderr]     Checking safe-memo v3.0.8
[INFO] [stderr]     Checking safe-token v3.3.3
[INFO] [stderr]     Checking safe-anchor-lang v0.22.0
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/ctor.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ could not find `solana_program` in the crate root
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ could not find `solana_program` in the crate root
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ could not find `solana_program` in the crate root
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ could not find `solana_program` in the crate root
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/ctor.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ not found in `anchor_lang::solana_program::instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::AccountMeta
[INFO] [stdout]            safecoin_program::instruction::AccountMeta
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ not found in `anchor_lang::solana_program::instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::AccountMeta
[INFO] [stdout]            safecoin_program::instruction::AccountMeta
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ not found in `anchor_lang::solana_program::instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::AccountMeta
[INFO] [stdout]            safecoin_program::instruction::AccountMeta
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_program` in the crate root
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ not found in `anchor_lang::solana_program::instruction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::AccountMeta
[INFO] [stdout]            safecoin_program::instruction::AccountMeta
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/safe-anchor-lang-0.22.0/src/idl.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Accounts)]
[INFO] [stdout]    |                 ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `Break`
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `safe-anchor-lang` due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "14d55ea7a3b152d65596da83b8525ffb2f687752018a8fcdc7ed9b68000edc54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14d55ea7a3b152d65596da83b8525ffb2f687752018a8fcdc7ed9b68000edc54", kill_on_drop: false }`
[INFO] [stdout] 14d55ea7a3b152d65596da83b8525ffb2f687752018a8fcdc7ed9b68000edc54
