[INFO] updating cached 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" "-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] 99884f51da3bfc19236bc7f965f205652d7b4cbb [INFO] testing wesgraham/flux-fungible-token against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 95% (497/522) Checking out files: 96% (502/522) Checking out files: 97% (507/522) Checking out files: 98% (512/522) Checking out files: 99% (517/522) Checking out files: 100% (522/522) Checking out files: 100% (522/522), done. [INFO] validating manifest of git repo https://github.com/wesgraham/flux-fungible-token on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wesgraham/flux-fungible-token [INFO] removed workspace from 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-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26ed00584e414603f00ef66264e4ab025f6e3a310d89a1f12bdb47049670a783 [INFO] running `Command { std: "docker" "start" "-a" "26ed00584e414603f00ef66264e4ab025f6e3a310d89a1f12bdb47049670a783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26ed00584e414603f00ef66264e4ab025f6e3a310d89a1f12bdb47049670a783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ed00584e414603f00ef66264e4ab025f6e3a310d89a1f12bdb47049670a783", kill_on_drop: false }` [INFO] [stdout] 26ed00584e414603f00ef66264e4ab025f6e3a310d89a1f12bdb47049670a783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e651550c6efe4feeace13124e7e8e6daa2b3c0b4f58c74b76c167d1bb485121b [INFO] running `Command { std: "docker" "start" "-a" "e651550c6efe4feeace13124e7e8e6daa2b3c0b4f58c74b76c167d1bb485121b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.6.2 [INFO] [stderr] Compiling borsh-derive-internal v0.6.2 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling borsh-derive v0.6.2 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Compiling borsh v0.6.2 [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] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `root_account.to_string()` [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 `near_sdk::json_types::U128`, found `u128` [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e651550c6efe4feeace13124e7e8e6daa2b3c0b4f58c74b76c167d1bb485121b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e651550c6efe4feeace13124e7e8e6daa2b3c0b4f58c74b76c167d1bb485121b", kill_on_drop: false }` [INFO] [stdout] e651550c6efe4feeace13124e7e8e6daa2b3c0b4f58c74b76c167d1bb485121b