[INFO] cloning repository https://github.com/Squads-Protocol/squads-mpl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Squads-Protocol/squads-mpl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSquads-Protocol%2Fsquads-mpl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSquads-Protocol%2Fsquads-mpl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac2b6509bf62dcb5da252feef87d59f1ee88f0a2 [INFO] checking Squads-Protocol/squads-mpl against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSquads-Protocol%2Fsquads-mpl" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Squads-Protocol/squads-mpl on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Squads-Protocol/squads-mpl [INFO] finished tweaking git repo https://github.com/Squads-Protocol/squads-mpl [INFO] tweaked toml for git repo https://github.com/Squads-Protocol/squads-mpl written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Squads-Protocol/squads-mpl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6592fa792a701efc5d6d4b9dcd7c7447cfe754265090bf751a8befe94dc9a7ac [INFO] running `Command { std: "docker" "start" "-a" "6592fa792a701efc5d6d4b9dcd7c7447cfe754265090bf751a8befe94dc9a7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6592fa792a701efc5d6d4b9dcd7c7447cfe754265090bf751a8befe94dc9a7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6592fa792a701efc5d6d4b9dcd7c7447cfe754265090bf751a8befe94dc9a7ac", kill_on_drop: false }` [INFO] [stdout] 6592fa792a701efc5d6d4b9dcd7c7447cfe754265090bf751a8befe94dc9a7ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8270b8bb16524c67dfdd492f4622be13d480dcd8822dc61a6c89f52367daf2eb [INFO] running `Command { std: "docker" "start" "-a" "8270b8bb16524c67dfdd492f4622be13d480dcd8822dc61a6c89f52367daf2eb", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [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 bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.14.13 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.14.13 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling solana-program v1.14.13 [INFO] [stderr] Checking memmap2 v0.5.5 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking solana-security-txt v1.0.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [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 regex v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling bytemuck_derive v1.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling solana-sdk-macro v1.14.13 [INFO] [stderr] Compiling default-env v0.1.1 [INFO] [stderr] Checking bytemuck v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Compiling anchor-syn v0.26.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking sha3 v0.10.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult 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-derive-accounts v0.26.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.26.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.26.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.26.0 [INFO] [stderr] Compiling anchor-attribute-account v0.26.0 [INFO] [stderr] Compiling anchor-attribute-event v0.26.0 [INFO] [stderr] Compiling anchor-attribute-program v0.26.0 [INFO] [stderr] Compiling anchor-attribute-error v0.26.0 [INFO] [stderr] Compiling anchor-attribute-state v0.26.0 [INFO] [stderr] Checking anchor-lang v0.26.0 [INFO] [stderr] Checking spl-token v3.5.0 [INFO] [stderr] Checking squads-mpl v1.3.0 (/opt/rustwide/workdir/programs/squads-mpl) [INFO] [stderr] Checking txmeta v0.1.0 (/opt/rustwide/workdir/programs/txmeta) [INFO] [stderr] Checking roles v0.1.0 (/opt/rustwide/workdir/programs/roles) [INFO] [stderr] Checking program-manager v0.1.0 (/opt/rustwide/workdir/programs/program-manager) [INFO] [stderr] Checking validator v0.1.0 (/opt/rustwide/workdir/programs/validator) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> programs/roles/src/lib.rs:236:56 [INFO] [stdout] | [INFO] [stdout] 236 | let remaining_accounts = ctx.remaining_accounts.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[anchor_lang::prelude::AccountInfo<'_>]` does not implement `Clone`, so calling `clone` on `&[anchor_lang::prelude::AccountInfo<'_>]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roles` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> programs/roles/src/lib.rs:236:56 [INFO] [stdout] | [INFO] [stdout] 236 | let remaining_accounts = ctx.remaining_accounts.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[anchor_lang::prelude::AccountInfo<'_>]` does not implement `Clone`, so calling `clone` on `&[anchor_lang::prelude::AccountInfo<'_>]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roles` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8270b8bb16524c67dfdd492f4622be13d480dcd8822dc61a6c89f52367daf2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8270b8bb16524c67dfdd492f4622be13d480dcd8822dc61a6c89f52367daf2eb", kill_on_drop: false }` [INFO] [stdout] 8270b8bb16524c67dfdd492f4622be13d480dcd8822dc61a6c89f52367daf2eb