[INFO] cloning repository https://github.com/wesgraham/flux-fungible-token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesgraham/flux-fungible-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99884f51da3bfc19236bc7f965f205652d7b4cbb [INFO] testing wesgraham/flux-fungible-token against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wesgraham/flux-fungible-token [INFO] finished tweaking git repo https://github.com/wesgraham/flux-fungible-token [INFO] tweaked toml for git repo https://github.com/wesgraham/flux-fungible-token written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wesgraham/flux-fungible-token on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wesgraham/flux-fungible-token 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding near-sdk v0.9.2 (available: v5.17.2) [INFO] [stderr] Adding near-sdk-core v0.9.2 [INFO] [stderr] Adding near-sdk-macros v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40296574a2221e757b38f2b8d4fc434f092011a4a8903bab57a11a9344113cb5 [INFO] running `Command { std: "docker" "start" "-a" "40296574a2221e757b38f2b8d4fc434f092011a4a8903bab57a11a9344113cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40296574a2221e757b38f2b8d4fc434f092011a4a8903bab57a11a9344113cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40296574a2221e757b38f2b8d4fc434f092011a4a8903bab57a11a9344113cb5", kill_on_drop: false }` [INFO] [stdout] 40296574a2221e757b38f2b8d4fc434f092011a4a8903bab57a11a9344113cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3e8147e23d19a48cde8fa3e52cb1f480586ddb7f31a07b63e6e910b58e3890 [INFO] running `Command { std: "docker" "start" "-a" "2b3e8147e23d19a48cde8fa3e52cb1f480586ddb7f31a07b63e6e910b58e3890", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling bs58 v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling borsh-derive-internal v0.6.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.6.1 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling borsh-derive v0.6.1 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Compiling borsh v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling near-runtime-fees v0.8.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling near-vm-errors v0.8.0 [INFO] [stderr] Compiling near-vm-logic v0.8.0 [INFO] [stderr] Compiling near-sdk v0.9.2 [INFO] [stderr] Compiling fungible-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `AccountID` in this scope [INFO] [stdout] --> src/lib.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn claim_fdai(&mut self, account_id: AccountID) { [INFO] [stdout] | ^^^^^^^^^ help: a type alias with a similar name exists: `AccountId` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-vm-logic-0.8.0/src/types.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type AccountId = String; [INFO] [stdout] | ------------------ similarly named type alias `AccountId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `owner_id` in this scope [INFO] [stdout] --> src/lib.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | assert!(env::is_valid_account_id(owner_id.as_bytes()), "Owner's account ID is invalid"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/lib.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account, account_id, claim_amount); [INFO] [stdout] | ^^^^^^^^^^^^^ ------------ ------------ expected `U128`, found `u128` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn transfer_from(&mut self, owner_id: AccountId, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ ------------------- ------------ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account.to_string(), account_id, claim_amount); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] help: try wrapping the expression in `near_sdk::json_types::U128` [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account, account_id, near_sdk::json_types::U128(claim_amount)); [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fungible-token` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2b3e8147e23d19a48cde8fa3e52cb1f480586ddb7f31a07b63e6e910b58e3890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3e8147e23d19a48cde8fa3e52cb1f480586ddb7f31a07b63e6e910b58e3890", kill_on_drop: false }` [INFO] [stdout] 2b3e8147e23d19a48cde8fa3e52cb1f480586ddb7f31a07b63e6e910b58e3890