[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 beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 48% (252/522) Checking out files: 49% (256/522) Checking out files: 50% (261/522) Checking out files: 51% (267/522) Checking out files: 52% (272/522) Checking out files: 53% (277/522) Checking out files: 54% (282/522) Checking out files: 55% (288/522) Checking out files: 56% (293/522) Checking out files: 57% (298/522) Checking out files: 58% (303/522) Checking out files: 59% (308/522) Checking out files: 60% (314/522) Checking out files: 61% (319/522) Checking out files: 62% (324/522) Checking out files: 63% (329/522) Checking out files: 64% (335/522) Checking out files: 65% (340/522) Checking out files: 66% (345/522) Checking out files: 67% (350/522) Checking out files: 68% (355/522) Checking out files: 69% (361/522) Checking out files: 70% (366/522) Checking out files: 71% (371/522) Checking out files: 72% (376/522) Checking out files: 73% (382/522) Checking out files: 74% (387/522) Checking out files: 75% (392/522) Checking out files: 76% (397/522) Checking out files: 77% (402/522) Checking out files: 78% (408/522) Checking out files: 79% (413/522) Checking out files: 80% (418/522) Checking out files: 81% (423/522) Checking out files: 82% (429/522) Checking out files: 83% (434/522) Checking out files: 84% (439/522) Checking out files: 85% (444/522) Checking out files: 86% (449/522) Checking out files: 87% (455/522) Checking out files: 88% (460/522) Checking out files: 88% (461/522) Checking out files: 89% (465/522) Checking out files: 90% (470/522) Checking out files: 91% (476/522) Checking out files: 92% (481/522) Checking out files: 93% (486/522) Checking out files: 94% (491/522) Checking out files: 95% (496/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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-0/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-2020-07-24" "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-0/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] e929b1bb1fa4f1003f7e86b09450536b561bc739b57cde9ba47a445ea7a68d66 [INFO] running `Command { std: "docker" "start" "-a" "e929b1bb1fa4f1003f7e86b09450536b561bc739b57cde9ba47a445ea7a68d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e929b1bb1fa4f1003f7e86b09450536b561bc739b57cde9ba47a445ea7a68d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e929b1bb1fa4f1003f7e86b09450536b561bc739b57cde9ba47a445ea7a68d66", kill_on_drop: false }` [INFO] [stdout] e929b1bb1fa4f1003f7e86b09450536b561bc739b57cde9ba47a445ea7a68d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca515d006c872871c7441288577a66cfa0a8549223a701c8e4d9923896ec092 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ca515d006c872871c7441288577a66cfa0a8549223a701c8e4d9923896ec092", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling borsh-derive-internal v0.6.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.6.2 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [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 serde v1.0.114 [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" "9ca515d006c872871c7441288577a66cfa0a8549223a701c8e4d9923896ec092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca515d006c872871c7441288577a66cfa0a8549223a701c8e4d9923896ec092", kill_on_drop: false }` [INFO] [stdout] 9ca515d006c872871c7441288577a66cfa0a8549223a701c8e4d9923896ec092