[INFO] cloning repository https://github.com/Lesko0802/Near-Contract---Demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lesko0802/Near-Contract---Demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLesko0802%2FNear-Contract---Demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLesko0802%2FNear-Contract---Demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68647d40e03c4372f1542444b5e7fabd0002aa46 [INFO] checking Lesko0802/Near-Contract---Demo against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLesko0802%2FNear-Contract---Demo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lesko0802/Near-Contract---Demo on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] finished tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] tweaked toml for git repo https://github.com/Lesko0802/Near-Contract---Demo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lesko0802/Near-Contract---Demo 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Lesko0802/Near-Contract---Demo against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLesko0802%2FNear-Contract---Demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lesko0802/Near-Contract---Demo on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] finished tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] tweaked toml for git repo https://github.com/Lesko0802/Near-Contract---Demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lesko0802/Near-Contract---Demo 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Lesko0802/Near-Contract---Demo against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLesko0802%2FNear-Contract---Demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lesko0802/Near-Contract---Demo on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] finished tweaking git repo https://github.com/Lesko0802/Near-Contract---Demo [INFO] tweaked toml for git repo https://github.com/Lesko0802/Near-Contract---Demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lesko0802/Near-Contract---Demo 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1d359a0e0afcff3caad7b5e0420b27a7f72006d68f3707d7b05c76b2dd21178 [INFO] running `Command { std: "docker" "start" "-a" "d1d359a0e0afcff3caad7b5e0420b27a7f72006d68f3707d7b05c76b2dd21178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1d359a0e0afcff3caad7b5e0420b27a7f72006d68f3707d7b05c76b2dd21178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d359a0e0afcff3caad7b5e0420b27a7f72006d68f3707d7b05c76b2dd21178", kill_on_drop: false }` [INFO] [stdout] d1d359a0e0afcff3caad7b5e0420b27a7f72006d68f3707d7b05c76b2dd21178 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc243e141551f6238056b3d5cc80af165483332279d88a4c3da87ff4f0448f6e [INFO] running `Command { std: "docker" "start" "-a" "fc243e141551f6238056b3d5cc80af165483332279d88a4c3da87ff4f0448f6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v3.1.0 [INFO] [stderr] Checking nearAppsContract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `some_contract_name` in this scope [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | self.approved_contracts.remove(some_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `new_contract_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_contract_name` in this scope [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | self.approved_contracts.remove(some_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `new_contract_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U128`, `ValidAccountId` [INFO] [stdout] --> src/lib.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::json_types::{ValidAccountId, U128}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U128`, `ValidAccountId` [INFO] [stdout] --> src/lib.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::json_types::{ValidAccountId, U128}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::serde::Serialize` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::serde::Serialize` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountId` [INFO] [stdout] --> src/lib.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::{env, ext_contract, near_bindgen, AccountId, Balance, Promise}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountId` [INFO] [stdout] --> src/lib.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::{env, ext_contract, near_bindgen, AccountId, Balance, Promise}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | self.approved_contracts.push(new_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | self.approved_contracts.push(new_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | self.approved_contracts.remove(some_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | self.approved_contracts.remove(some_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | self.approved_contracts.push(new_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `approved_contracts` on type `&mut NearAppsContract` [INFO] [stdout] --> src/lib.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | self.approved_contracts.push(new_contract_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `person_tag`, `company_tag`, `purpose_tag`, `contract_b_name`, `contract_b_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn my_callback(&self) -> String { [INFO] [stdout] | ----------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn my_callback(&self) -> String { [INFO] [stdout] | ----------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nearAppsContract` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nearAppsContract` (lib) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc243e141551f6238056b3d5cc80af165483332279d88a4c3da87ff4f0448f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc243e141551f6238056b3d5cc80af165483332279d88a4c3da87ff4f0448f6e", kill_on_drop: false }` [INFO] [stdout] fc243e141551f6238056b3d5cc80af165483332279d88a4c3da87ff4f0448f6e