[INFO] cloning repository https://github.com/GuruKathryn/geode_referrals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GuruKathryn/geode_referrals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuruKathryn%2Fgeode_referrals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuruKathryn%2Fgeode_referrals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 910c0631ce5392aeac4661a0ca2c13f061d971ce [INFO] checking GuruKathryn/geode_referrals/910c0631ce5392aeac4661a0ca2c13f061d971ce against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuruKathryn%2Fgeode_referrals" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GuruKathryn/geode_referrals on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GuruKathryn/geode_referrals [INFO] finished tweaking git repo https://github.com/GuruKathryn/geode_referrals [INFO] tweaked toml for git repo https://github.com/GuruKathryn/geode_referrals written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GuruKathryn/geode_referrals 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6a7eac8e7cc963d9dd0420dbb18913bb62a44503bcb510c55426df7629e027f [INFO] running `Command { std: "docker" "start" "-a" "a6a7eac8e7cc963d9dd0420dbb18913bb62a44503bcb510c55426df7629e027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a7eac8e7cc963d9dd0420dbb18913bb62a44503bcb510c55426df7629e027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a7eac8e7cc963d9dd0420dbb18913bb62a44503bcb510c55426df7629e027f", kill_on_drop: false }` [INFO] [stdout] a6a7eac8e7cc963d9dd0420dbb18913bb62a44503bcb510c55426df7629e027f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65f66da4d012c9a98e199dbf3845095068b515fe9a32480ba830cd46485e8aea [INFO] running `Command { std: "docker" "start" "-a" "65f66da4d012c9a98e199dbf3845095068b515fe9a32480ba830cd46485e8aea", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling winnow v0.4.6 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking ink_prelude v5.0.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Checking xxhash-rust v0.8.6 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking pallet-contracts-uapi-next v6.0.3 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ink_allocator v5.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling const_env_impl v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling linkme-impl v0.3.25 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling scale-info-derive v2.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling const_env v0.1.2 [INFO] [stderr] Checking linkme v0.3.25 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.10.0 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling ink_ir v5.0.0 [INFO] [stderr] Compiling scale-info v2.7.0 [INFO] [stderr] Compiling scale-bits v0.4.0 [INFO] [stderr] Compiling scale-encode v0.5.0 [INFO] [stderr] Compiling scale-decode v0.10.0 [INFO] [stderr] Compiling ink_primitives v5.0.0 [INFO] [stderr] Compiling ink_codegen v5.0.0 [INFO] [stderr] Checking ink_metadata v5.0.0 [INFO] [stderr] Checking ink_engine v5.0.0 [INFO] [stderr] Checking ink_storage_traits v5.0.0 [INFO] [stderr] Checking ink_env v5.0.0 [INFO] [stderr] Checking ink_storage v5.0.0 [INFO] [stderr] Compiling ink_macro v5.0.0 [INFO] [stderr] Checking ink v5.0.0 [INFO] [stderr] Checking geode_referrals v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | / pub struct ContractStorage { [INFO] [stdout] 384 | | account_claims: Mapping, [INFO] [stdout] 385 | | claim_details: Mapping, [INFO] [stdout] 386 | | account_branches: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 397 | | program_child_accounts: Mapping [INFO] [stdout] 398 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [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: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | / pub fn new() -> Self { [INFO] [stdout] 410 | | Self { [INFO] [stdout] 411 | | account_claims: Mapping::default(), [INFO] [stdout] 412 | | claim_details: Mapping::default(), [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | / pub struct ContractStorage { [INFO] [stdout] 384 | | account_claims: Mapping, [INFO] [stdout] 385 | | claim_details: Mapping, [INFO] [stdout] 386 | | account_branches: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 397 | | program_child_accounts: Mapping [INFO] [stdout] 398 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [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: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | / pub fn new() -> Self { [INFO] [stdout] 410 | | Self { [INFO] [stdout] 411 | | account_claims: Mapping::default(), [INFO] [stdout] 412 | | claim_details: Mapping::default(), [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct ContractStorage { [INFO] [stdout] | -^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | _____| `ContractStorage` is not local [INFO] [stdout] | | [INFO] [stdout] 384 | | account_claims: Mapping, [INFO] [stdout] 385 | | claim_details: Mapping, [INFO] [stdout] 386 | | account_branches: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 397 | | program_child_accounts: Mapping [INFO] [stdout] 398 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____`ContractCallBuilder` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct ContractStorage { [INFO] [stdout] | -^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | _____| `ContractStorage` is not local [INFO] [stdout] | | [INFO] [stdout] 384 | | account_claims: Mapping, [INFO] [stdout] 385 | | claim_details: Mapping, [INFO] [stdout] 386 | | account_branches: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 397 | | program_child_accounts: Mapping [INFO] [stdout] 398 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____`ContractCallBuilder` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.21s [INFO] running `Command { std: "docker" "inspect" "65f66da4d012c9a98e199dbf3845095068b515fe9a32480ba830cd46485e8aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f66da4d012c9a98e199dbf3845095068b515fe9a32480ba830cd46485e8aea", kill_on_drop: false }` [INFO] [stdout] 65f66da4d012c9a98e199dbf3845095068b515fe9a32480ba830cd46485e8aea