[INFO] cloning repository https://github.com/Sladuca/near-wallet-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sladuca/near-wallet-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fnear-wallet-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fnear-wallet-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f619b644294c71df7c489e7bebfa63e9fa97400 [INFO] checking Sladuca/near-wallet-contract against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSladuca%2Fnear-wallet-contract" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sladuca/near-wallet-contract on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sladuca/near-wallet-contract [INFO] removed workspace from git repo https://github.com/Sladuca/near-wallet-contract [INFO] finished tweaking git repo https://github.com/Sladuca/near-wallet-contract [INFO] tweaked toml for git repo https://github.com/Sladuca/near-wallet-contract written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Sladuca/near-wallet-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50859343a10318229590ade9f2349bc47fec55ea2cb94d7449cf19cb4e647bbc [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" "50859343a10318229590ade9f2349bc47fec55ea2cb94d7449cf19cb4e647bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50859343a10318229590ade9f2349bc47fec55ea2cb94d7449cf19cb4e647bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50859343a10318229590ade9f2349bc47fec55ea2cb94d7449cf19cb4e647bbc", kill_on_drop: false }` [INFO] [stdout] 50859343a10318229590ade9f2349bc47fec55ea2cb94d7449cf19cb4e647bbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ae8a2d0d4fb3b3b9326ae07a87b4fd181766560c7295ce38223f5f34ddf6b2 [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" "69ae8a2d0d4fb3b3b9326ae07a87b4fd181766560c7295ce38223f5f34ddf6b2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.4.1 [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 borsh-derive-internal v0.7.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.1 [INFO] [stderr] Compiling near-sdk-core v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling borsh-derive v0.6.2 [INFO] [stderr] Compiling borsh-derive v0.7.1 [INFO] [stderr] Compiling near-sdk-macros v0.9.2 [INFO] [stderr] Checking borsh v0.6.2 [INFO] [stderr] Checking borsh v0.7.1 [INFO] [stderr] Compiling serde v1.0.117 [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 wallet-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `near_sdk::collections::Map, Account>: BorshSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `BorshSerialize` is not implemented for `near_sdk::collections::Map, Account>` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `near_sdk::collections::Map, Account>: BorshDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `BorshDeserialize` is not implemented for `near_sdk::collections::Map, Account>` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wallet-contract` [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] [stdout] error[E0277]: the trait bound `near_sdk::collections::Map, Account>: BorshSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `BorshSerialize` is not implemented for `near_sdk::collections::Map, Account>` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `near_sdk::collections::Map, Account>: BorshDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `BorshDeserialize` is not implemented for `near_sdk::collections::Map, Account>` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "69ae8a2d0d4fb3b3b9326ae07a87b4fd181766560c7295ce38223f5f34ddf6b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ae8a2d0d4fb3b3b9326ae07a87b4fd181766560c7295ce38223f5f34ddf6b2", kill_on_drop: false }` [INFO] [stdout] 69ae8a2d0d4fb3b3b9326ae07a87b4fd181766560c7295ce38223f5f34ddf6b2