[INFO] cloning repository https://github.com/letteldream/doorman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/letteldream/doorman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletteldream%2Fdoorman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletteldream%2Fdoorman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7580f1ee3a58b6bcbbe4ffee4422f92724943d52 [INFO] testing letteldream/doorman against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletteldream%2Fdoorman" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/letteldream/doorman on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/letteldream/doorman [INFO] finished tweaking git repo https://github.com/letteldream/doorman [INFO] tweaked toml for git repo https://github.com/letteldream/doorman written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/letteldream/doorman 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 377791e42af04d46a2fcda1d579493e04f1d2647f46e9bcf3c4d03976e59426a [INFO] running `Command { std: "docker" "start" "-a" "377791e42af04d46a2fcda1d579493e04f1d2647f46e9bcf3c4d03976e59426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "377791e42af04d46a2fcda1d579493e04f1d2647f46e9bcf3c4d03976e59426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377791e42af04d46a2fcda1d579493e04f1d2647f46e9bcf3c4d03976e59426a", kill_on_drop: false }` [INFO] [stdout] 377791e42af04d46a2fcda1d579493e04f1d2647f46e9bcf3c4d03976e59426a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7d3d45fab82ff941370a2d59fef5e30a89e0ed0fa1599265b4958dc44266d73 [INFO] running `Command { std: "docker" "start" "-a" "e7d3d45fab82ff941370a2d59fef5e30a89e0ed0fa1599265b4958dc44266d73", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling solana-frozen-abi v1.8.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling solana-program v1.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling without-alloc v0.2.1 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.8.2 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling anchor-syn v0.18.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling anchor-attribute-error v0.18.0 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program v0.18.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.0 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-lang v0.18.0 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling serum_dex v0.4.0 [INFO] [stderr] Compiling anchor-spl v0.18.0 [INFO] [stderr] Compiling doorman v0.1.0 (/opt/rustwide/workdir/programs/doorman) [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 341 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = payer_mint_account.owner == *payer.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 406 | #[account(mut, "payer_mint_account.owner == *payer.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 35s [INFO] running `Command { std: "docker" "inspect" "e7d3d45fab82ff941370a2d59fef5e30a89e0ed0fa1599265b4958dc44266d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d3d45fab82ff941370a2d59fef5e30a89e0ed0fa1599265b4958dc44266d73", kill_on_drop: false }` [INFO] [stdout] e7d3d45fab82ff941370a2d59fef5e30a89e0ed0fa1599265b4958dc44266d73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 887dfa175e08263cb5ec757697b8f196821e43d61c53bc85f040f466dd0bf0ed [INFO] running `Command { std: "docker" "start" "-a" "887dfa175e08263cb5ec757697b8f196821e43d61c53bc85f040f466dd0bf0ed", kill_on_drop: false }` [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 341 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = payer_mint_account.owner == *payer.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 406 | #[account(mut, "payer_mint_account.owner == *payer.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling doorman v0.1.0 (/opt/rustwide/workdir/programs/doorman) [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 341 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = payer_mint_account.owner == *payer.key)] [INFO] [stdout] --> programs/doorman/src/lib.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 406 | #[account(mut, "payer_mint_account.owner == *payer.key")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stdout] --> programs/doorman/src/lib.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "887dfa175e08263cb5ec757697b8f196821e43d61c53bc85f040f466dd0bf0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887dfa175e08263cb5ec757697b8f196821e43d61c53bc85f040f466dd0bf0ed", kill_on_drop: false }` [INFO] [stdout] 887dfa175e08263cb5ec757697b8f196821e43d61c53bc85f040f466dd0bf0ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0424aa5a1811f0509d2232969f61ae16f9f155b9bd17c5686fb711f7f10ae355 [INFO] running `Command { std: "docker" "start" "-a" "0424aa5a1811f0509d2232969f61ae16f9f155b9bd17c5686fb711f7f10ae355", kill_on_drop: false }` [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> programs/doorman/src/lib.rs:292:27 [INFO] [stderr] | [INFO] [stderr] 292 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stderr] --> programs/doorman/src/lib.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> programs/doorman/src/lib.rs:338:27 [INFO] [stderr] | [INFO] [stderr] 338 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stderr] --> programs/doorman/src/lib.rs:341:20 [INFO] [stderr] | [INFO] [stderr] 341 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = payer_mint_account.owner == *payer.key)] [INFO] [stderr] --> programs/doorman/src/lib.rs:406:20 [INFO] [stderr] | [INFO] [stderr] 406 | #[account(mut, "payer_mint_account.owner == *payer.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> programs/doorman/src/lib.rs:409:27 [INFO] [stderr] | [INFO] [stderr] 409 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `doorman` (lib) generated 6 warnings [INFO] [stderr] warning: `doorman` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/doorman-e98ced5c7e110603) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests doorman [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:292:27 [INFO] [stderr] | [INFO] [stderr] 292 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:338:27 [INFO] [stderr] | [INFO] [stderr] 338 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = authority_mint_account.owner == *authority.key)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:341:20 [INFO] [stderr] | [INFO] [stderr] 341 | #[account(mut, "authority_mint_account.owner == *authority.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = payer_mint_account.owner == *payer.key)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:406:20 [INFO] [stderr] | [INFO] [stderr] 406 | #[account(mut, "payer_mint_account.owner == *payer.key")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Deprecated. Should be used with constraint: #[account(constraint = token_program.key == &token::ID)] [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:409:27 [INFO] [stderr] | [INFO] [stderr] 409 | #[account(executable, "token_program.key == &token::ID")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0659]: `doorman` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub mod doorman { [INFO] [stderr] | ^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `doorman` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::doorman` to refer to this crate unambiguously [INFO] [stderr] note: `doorman` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/doorman/src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / pub mod doorman { [INFO] [stderr] 23 | | use super::*; [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | use anchor_lang::solana_program::{ [INFO] [stderr] ... | [INFO] [stderr] 273 | | } [INFO] [stderr] 274 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::doorman` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-type lib --crate-name doorman --test /opt/rustwide/workdir/programs/doorman/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/target/debug/build/blake3-369dad11967132d9/out --extern anchor_lang=/opt/rustwide/target/debug/deps/libanchor_lang-852ac5b554a23521.rlib --extern anchor_spl=/opt/rustwide/target/debug/deps/libanchor_spl-0c70956e19f0b63d.rlib --extern doorman=/opt/rustwide/target/debug/deps/libdoorman.rlib --extern spl_token=/opt/rustwide/target/debug/deps/libspl_token-3076985b88c36cb6.rlib -C embed-bitcode=no --cfg 'feature="default"' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "0424aa5a1811f0509d2232969f61ae16f9f155b9bd17c5686fb711f7f10ae355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0424aa5a1811f0509d2232969f61ae16f9f155b9bd17c5686fb711f7f10ae355", kill_on_drop: false }` [INFO] [stdout] 0424aa5a1811f0509d2232969f61ae16f9f155b9bd17c5686fb711f7f10ae355