[INFO] updating cached repository https://github.com/haoduoyu/near-linkdrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6b086cce968ac25aa72da3d8d0399155deaed98 [INFO] checking haoduoyu/near-linkdrop against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoduoyu%2Fnear-linkdrop" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haoduoyu/near-linkdrop on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haoduoyu/near-linkdrop [INFO] finished tweaking git repo https://github.com/haoduoyu/near-linkdrop [INFO] tweaked toml for git repo https://github.com/haoduoyu/near-linkdrop written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/haoduoyu/near-linkdrop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deccb85d7aacc6fbffd0892453dbd1e9a5863607af5da9a6e8f98abdc83c5444 [INFO] running `Command { std: "docker" "start" "-a" "deccb85d7aacc6fbffd0892453dbd1e9a5863607af5da9a6e8f98abdc83c5444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deccb85d7aacc6fbffd0892453dbd1e9a5863607af5da9a6e8f98abdc83c5444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deccb85d7aacc6fbffd0892453dbd1e9a5863607af5da9a6e8f98abdc83c5444", kill_on_drop: false }` [INFO] [stdout] deccb85d7aacc6fbffd0892453dbd1e9a5863607af5da9a6e8f98abdc83c5444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb7c877fd9c991dcc2c633dabcc3f63a15730962b03a099519c7642106340d4c [INFO] running `Command { std: "docker" "start" "-a" "bb7c877fd9c991dcc2c633dabcc3f63a15730962b03a099519c7642106340d4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] serde_json v1.0.48: indexmap, preserve_order [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.6.1 [INFO] [stderr] Compiling borsh-derive-internal v0.6.1 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling borsh-derive v0.6.1 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Checking borsh v0.6.1 [INFO] [stderr] Checking near-runtime-fees v0.8.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Checking near-vm-errors v0.8.0 [INFO] [stderr] Checking near-vm-logic v0.8.0 [INFO] [stderr] Checking near-sdk v0.9.2 [INFO] [stderr] Checking linkdrop v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0425]: cannot find function `on_account_created` in module `ext_self` [INFO] [stdout] --> src/lib.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | .then(ext_self::on_account_created( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ext_self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_promise_success` in this scope [INFO] [stdout] --> src/lib.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | let creation_succeeded = is_promise_success(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linkdrop` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `on_account_created` in module `ext_self` [INFO] [stdout] --> src/lib.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | .then(ext_self::on_account_created( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ext_self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_promise_success` in this scope [INFO] [stdout] --> src/lib.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | let creation_succeeded = is_promise_success(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::MockedBlockchain` [INFO] [stdout] --> src/lib.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use near_sdk::MockedBlockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockHeight`, `PublicKey`, `VMContext`, `testing_env` [INFO] [stdout] --> src/lib.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | use near_sdk::{testing_env, BlockHeight, PublicKey, VMContext}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bb7c877fd9c991dcc2c633dabcc3f63a15730962b03a099519c7642106340d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7c877fd9c991dcc2c633dabcc3f63a15730962b03a099519c7642106340d4c", kill_on_drop: false }` [INFO] [stdout] bb7c877fd9c991dcc2c633dabcc3f63a15730962b03a099519c7642106340d4c