[INFO] cloning repository https://github.com/snjax/near-sdk-pure-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snjax/near-sdk-pure-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnear-sdk-pure-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnear-sdk-pure-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2feab47b29290ee3f53ab6efe7d9b76167d6da5a [INFO] checking snjax/near-sdk-pure-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnear-sdk-pure-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snjax/near-sdk-pure-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snjax/near-sdk-pure-rs [INFO] finished tweaking git repo https://github.com/snjax/near-sdk-pure-rs [INFO] tweaked toml for git repo https://github.com/snjax/near-sdk-pure-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/snjax/near-sdk-pure-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded trybuild v1.0.42 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b418ad5c88f5fd811fbade860aa7aa5d3498b3b234c50807cfdff602d0156cd [INFO] running `Command { std: "docker" "start" "-a" "5b418ad5c88f5fd811fbade860aa7aa5d3498b3b234c50807cfdff602d0156cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b418ad5c88f5fd811fbade860aa7aa5d3498b3b234c50807cfdff602d0156cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b418ad5c88f5fd811fbade860aa7aa5d3498b3b234c50807cfdff602d0156cd", kill_on_drop: false }` [INFO] [stdout] 5b418ad5c88f5fd811fbade860aa7aa5d3498b3b234c50807cfdff602d0156cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9096a51b59fb590c7d70520561e9b27dea7a964d137edd4fec39019747a1a7f [INFO] running `Command { std: "docker" "start" "-a" "f9096a51b59fb590c7d70520561e9b27dea7a964d137edd4fec39019747a1a7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking near-sdk-pure-core v2.0.0 (/opt/rustwide/workdir/near-sdk-pure-core) [INFO] [stdout] warning: unused import: `attr_sig_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use attr_sig_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use impl_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_trait_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use item_trait_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trait_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use trait_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_impl_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use item_impl_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(target_arch = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [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: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_arch = "wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attr_sig_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use attr_sig_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use impl_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_trait_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use item_trait_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trait_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use trait_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_impl_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use item_impl_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(target_arch = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [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: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_arch = "wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking near-sdk-pure-macros v2.0.0 (/opt/rustwide/workdir/near-sdk-pure-macros) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stdout] warning: unused import: `attr_sig_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use attr_sig_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use impl_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_trait_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use item_trait_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trait_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use trait_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_impl_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use item_impl_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(target_arch = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [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: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_arch = "wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-sdk-pure v2.0.0 (/opt/rustwide/workdir/near-sdk-pure) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 594 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 697 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 713 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 730 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 749 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 594 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 697 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 713 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 730 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> near-sdk-pure/src/environment/env.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | _ => panic!(RETURN_CODE_ERR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 749 | _ => panic!("{}", RETURN_CODE_ERR), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.03s [INFO] running `Command { std: "docker" "inspect" "f9096a51b59fb590c7d70520561e9b27dea7a964d137edd4fec39019747a1a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9096a51b59fb590c7d70520561e9b27dea7a964d137edd4fec39019747a1a7f", kill_on_drop: false }` [INFO] [stdout] f9096a51b59fb590c7d70520561e9b27dea7a964d137edd4fec39019747a1a7f [INFO] checking snjax/near-sdk-pure-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnjax%2Fnear-sdk-pure-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snjax/near-sdk-pure-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snjax/near-sdk-pure-rs [INFO] finished tweaking git repo https://github.com/snjax/near-sdk-pure-rs [INFO] tweaked toml for git repo https://github.com/snjax/near-sdk-pure-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/snjax/near-sdk-pure-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1543e4c23ecfc0527ebd293c3d04b4b49586f2d213c088de2fa1475362893702 [INFO] running `Command { std: "docker" "start" "-a" "1543e4c23ecfc0527ebd293c3d04b4b49586f2d213c088de2fa1475362893702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1543e4c23ecfc0527ebd293c3d04b4b49586f2d213c088de2fa1475362893702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1543e4c23ecfc0527ebd293c3d04b4b49586f2d213c088de2fa1475362893702", kill_on_drop: false }` [INFO] [stdout] 1543e4c23ecfc0527ebd293c3d04b4b49586f2d213c088de2fa1475362893702 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6048bb5d0f098835d8a8000f2fb201f8413e06a1ada9d356b0d3637b2dd58907 [INFO] running `Command { std: "docker" "start" "-a" "6048bb5d0f098835d8a8000f2fb201f8413e06a1ada9d356b0d3637b2dd58907", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking near-sdk-pure-core v2.0.0 (/opt/rustwide/workdir/near-sdk-pure-core) [INFO] [stdout] warning: unused import: `attr_sig_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use attr_sig_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use impl_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_trait_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use item_trait_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trait_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use trait_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_impl_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use item_impl_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(target_arch = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [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: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_arch = "wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/impl_item_method_info.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 166 | .fold(None, |acc: Option, value| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Some(match acc { [INFO] [stdout] | __________________________^ [INFO] [stdout] 170 | | None => quote! { #ident_str: #ident }, [INFO] [stdout] 171 | | Some(a) => quote! { #a, #ident_str: #ident }, [INFO] [stdout] 172 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/arg_info.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 43 | let mut non_bindgen_attrs = vec![]; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let (reference, mutability, ty) = match original.ty.as_ref() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 96 | | non_bindgen_attrs, [INFO] [stdout] 97 | | ident, [INFO] [stdout] 98 | | pat_reference, [INFO] [stdout] ... | [INFO] [stdout] 105 | | original: original.clone(), [INFO] [stdout] 106 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/impl_item_method_info.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(original: &mut ImplItemMethod, struct_type: Type) -> syn::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let ImplItemMethod { attrs, sig, .. } = original; [INFO] [stdout] 18 | let attr_signature_info = AttrSigInfo::new(attrs, sig)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { attr_signature_info, is_public, struct_type }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/trait_item_method_info.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | let attr_sig_info = AttrSigInfo::new(attrs, sig)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | let ident_byte_str = [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Self { attr_sig_info, original: original.clone(), ident_byte_str }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/item_trait_info.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Self { original: original.clone(), mod_name, methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/item_impl_info.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | let ty = (*original.self_ty.as_ref()).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { is_trait_impl, ty, methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/metadata/metadata_visitor.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | .any(|attr| attr.path.to_token_stream().to_string().as_str() == "near_bindgen"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `near-sdk-pure-core` (lib) due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `attr_sig_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use attr_sig_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use impl_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_trait_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use item_trait_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trait_item_method_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use trait_item_method_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item_impl_info::*` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use item_impl_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(target_arch = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [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: `wasm` [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/item_struct_info.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(target_arch = "wasm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/code_generator/impl_item_method_info.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 166 | .fold(None, |acc: Option, value| { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Some(match acc { [INFO] [stdout] | __________________________^ [INFO] [stdout] 170 | | None => quote! { #ident_str: #ident }, [INFO] [stdout] 171 | | Some(a) => quote! { #a, #ident_str: #ident }, [INFO] [stdout] 172 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/arg_info.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 43 | let mut non_bindgen_attrs = vec![]; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let (reference, mutability, ty) = match original.ty.as_ref() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 96 | | non_bindgen_attrs, [INFO] [stdout] 97 | | ident, [INFO] [stdout] 98 | | pat_reference, [INFO] [stdout] ... | [INFO] [stdout] 105 | | original: original.clone(), [INFO] [stdout] 106 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/impl_item_method_info.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(original: &mut ImplItemMethod, struct_type: Type) -> syn::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let ImplItemMethod { attrs, sig, .. } = original; [INFO] [stdout] 18 | let attr_signature_info = AttrSigInfo::new(attrs, sig)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(Self { attr_signature_info, is_public, struct_type }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/trait_item_method_info.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | let attr_sig_info = AttrSigInfo::new(attrs, sig)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | let ident_byte_str = [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Self { attr_sig_info, original: original.clone(), ident_byte_str }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/item_trait_info.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Self { original: original.clone(), mod_name, methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/info_extractor/item_impl_info.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | let ty = (*original.self_ty.as_ref()).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { is_trait_impl, ty, methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> near-sdk-pure-core/src/metadata/metadata_visitor.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | .any(|attr| attr.path.to_token_stream().to_string().as_str() == "near_bindgen"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `near-sdk-pure-core` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6048bb5d0f098835d8a8000f2fb201f8413e06a1ada9d356b0d3637b2dd58907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6048bb5d0f098835d8a8000f2fb201f8413e06a1ada9d356b0d3637b2dd58907", kill_on_drop: false }` [INFO] [stdout] 6048bb5d0f098835d8a8000f2fb201f8413e06a1ada9d356b0d3637b2dd58907