[INFO] cloning repository https://github.com/INTEARnear/global-ft-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/INTEARnear/global-ft-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINTEARnear%2Fglobal-ft-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINTEARnear%2Fglobal-ft-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 112ea6bf83ed32ebbdd99f892104c9bd3735ab2b [INFO] checking INTEARnear/global-ft-contract against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINTEARnear%2Fglobal-ft-contract" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/INTEARnear/global-ft-contract [INFO] finished tweaking git repo https://github.com/INTEARnear/global-ft-contract [INFO] tweaked toml for git repo https://github.com/INTEARnear/global-ft-contract written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/INTEARnear/global-ft-contract on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/INTEARnear/global-ft-contract 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae [INFO] running `Command { std: "docker" "start" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling near-schema-checker-macro v0.31.1 [INFO] [stderr] Checking near-schema-checker-core v0.31.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking near-schema-checker-lib v0.31.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking near-stdx v0.31.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling near-sdk-macros v5.17.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking near-sys v0.2.5 [INFO] [stderr] Checking zeropool-bn v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking near-config-utils v0.31.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.0 [INFO] [stderr] Checking near-account-id v1.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking near-token v0.3.2 [INFO] [stderr] Checking near-gas v0.3.2 [INFO] [stderr] Checking serde_with v3.15.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking near-primitives-core v0.31.1 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking near-fmt v0.31.1 [INFO] [stderr] Checking near-crypto v0.31.1 [INFO] [stderr] Checking near-parameters v0.31.1 [INFO] [stderr] Checking near-time v0.31.1 [INFO] [stderr] Checking near-primitives v0.31.1 [INFO] [stderr] Checking near-vm-runner v0.31.1 [INFO] [stderr] Checking near-sdk v5.17.2 [INFO] [stderr] Checking near-contract-standards v5.17.2 [INFO] [stderr] Checking fungible-token v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `near_sdk::AccountId` [INFO] [stdout] --> src/lib.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 206 | let contract = Contract::new_default_meta(accounts(1).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 206 - let contract = Contract::new_default_meta(accounts(1).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] 206 + let contract = Contract::new_default_meta(accounts(1), TOTAL_SUPPLY.into()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 206 - let contract = Contract::new_default_meta(accounts(1).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] 206 + let contract = Contract::new_default_meta(>::into(accounts(1)), TOTAL_SUPPLY.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `near_sdk::AccountId` [INFO] [stdout] --> src/lib.rs:224:55 [INFO] [stdout] | [INFO] [stdout] 224 | let mut contract = Contract::new_default_meta(accounts(2).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 224 - let mut contract = Contract::new_default_meta(accounts(2).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] 224 + let mut contract = Contract::new_default_meta(accounts(2), TOTAL_SUPPLY.into()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 224 - let mut contract = Contract::new_default_meta(accounts(2).into(), TOTAL_SUPPLY.into()); [INFO] [stdout] 224 + let mut contract = Contract::new_default_meta(>::into(accounts(2)), TOTAL_SUPPLY.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `near_sdk::NearToken` [INFO] [stdout] --> src/lib.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | .attached_deposit(contract.storage_balance_bounds().min.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 227 - .attached_deposit(contract.storage_balance_bounds().min.into()) [INFO] [stdout] 227 + .attached_deposit(contract.storage_balance_bounds().min) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 227 - .attached_deposit(contract.storage_balance_bounds().min.into()) [INFO] [stdout] 227 + .attached_deposit(>::into(contract.storage_balance_bounds().min)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fungible-token` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae", kill_on_drop: false }` [INFO] [stdout] e53d6ed4c56687c17ae8ba5402937a219a04388e381aafc92856c002cc403dae