[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] checking wesgraham/flux-fungible-token against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesgraham%2Fflux-fungible-token" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 47% (250/522) Checking out files: 48% (251/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: 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: 94% (495/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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ada26cf1021572927e625a6943750b92877155551320e6bb791e119b40e7951 [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" "0ada26cf1021572927e625a6943750b92877155551320e6bb791e119b40e7951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ada26cf1021572927e625a6943750b92877155551320e6bb791e119b40e7951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ada26cf1021572927e625a6943750b92877155551320e6bb791e119b40e7951", kill_on_drop: false }` [INFO] [stdout] 0ada26cf1021572927e625a6943750b92877155551320e6bb791e119b40e7951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5e0eb8c7ccf7747f4537b1a796f49c91c2dda46a41e81f6d3ab3657a9699a93 [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" "a5e0eb8c7ccf7747f4537b1a796f49c91c2dda46a41e81f6d3ab3657a9699a93", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [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 borsh-derive v0.6.2 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Checking borsh v0.6.2 [INFO] [stderr] Checking 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] 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 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[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 `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:28 [INFO] [stdout] | [INFO] [stdout] 122 | self.transfer_from(root_account, account_id, claim_amount); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `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 `U128`, found `u128` [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] [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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5e0eb8c7ccf7747f4537b1a796f49c91c2dda46a41e81f6d3ab3657a9699a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e0eb8c7ccf7747f4537b1a796f49c91c2dda46a41e81f6d3ab3657a9699a93", kill_on_drop: false }` [INFO] [stdout] a5e0eb8c7ccf7747f4537b1a796f49c91c2dda46a41e81f6d3ab3657a9699a93