[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wesgraham/flux-fungible-token on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-23/source/Cargo.toml [INFO] crate git repo https://github.com/wesgraham/flux-fungible-token already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efbc48fd92c9b392c84d1f83a68f9c2ae67fbc45f396ae479b9a891ee88b15ef [INFO] running `Command { std: "docker" "start" "-a" "efbc48fd92c9b392c84d1f83a68f9c2ae67fbc45f396ae479b9a891ee88b15ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efbc48fd92c9b392c84d1f83a68f9c2ae67fbc45f396ae479b9a891ee88b15ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efbc48fd92c9b392c84d1f83a68f9c2ae67fbc45f396ae479b9a891ee88b15ef", kill_on_drop: false }` [INFO] [stdout] efbc48fd92c9b392c84d1f83a68f9c2ae67fbc45f396ae479b9a891ee88b15ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0a2e8b0f0eae9fdb3d163c5e9fae3508c725b5086f6dee8e7acb3416434e82c [INFO] running `Command { std: "docker" "start" "-a" "d0a2e8b0f0eae9fdb3d163c5e9fae3508c725b5086f6dee8e7acb3416434e82c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling bs58 v0.3.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling quote v1.0.3 [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/github.com-1ecc6299db9ec823/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]: mismatched types [INFO] [stdout] --> src/lib.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account, account_id, claim_amount); [INFO] [stdout] | ^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account, account_id, claim_amount); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `U128`, found `u128` [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] error: aborting due to 4 previous errors [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` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d0a2e8b0f0eae9fdb3d163c5e9fae3508c725b5086f6dee8e7acb3416434e82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a2e8b0f0eae9fdb3d163c5e9fae3508c725b5086f6dee8e7acb3416434e82c", kill_on_drop: false }` [INFO] [stdout] d0a2e8b0f0eae9fdb3d163c5e9fae3508c725b5086f6dee8e7acb3416434e82c