[INFO] cloning repository https://github.com/luciotato/usdnear-stable [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luciotato/usdnear-stable" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluciotato%2Fusdnear-stable", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluciotato%2Fusdnear-stable'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee141e6a03119f9c709f01769e1b2722decd5417 [INFO] testing luciotato/usdnear-stable against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluciotato%2Fusdnear-stable" "/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/luciotato/usdnear-stable on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luciotato/usdnear-stable [INFO] finished tweaking git repo https://github.com/luciotato/usdnear-stable [INFO] tweaked toml for git repo https://github.com/luciotato/usdnear-stable written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/luciotato/usdnear-stable already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk v2.0.1 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded near-sdk-macros v2.0.1 [INFO] [stderr] Downloaded near-sdk-core v2.0.1 [INFO] [stderr] Downloaded near-runtime-utils v2.2.0 [INFO] [stderr] Downloaded near-runtime-fees v2.2.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded near-vm-errors v2.2.0 [INFO] [stderr] Downloaded near-vm-logic v2.2.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a411cc53a3c0f286771e2392de89c014849d871fca0ba2cb7e5977a2a4907814 [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" "a411cc53a3c0f286771e2392de89c014849d871fca0ba2cb7e5977a2a4907814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a411cc53a3c0f286771e2392de89c014849d871fca0ba2cb7e5977a2a4907814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a411cc53a3c0f286771e2392de89c014849d871fca0ba2cb7e5977a2a4907814", kill_on_drop: false }` [INFO] [stdout] a411cc53a3c0f286771e2392de89c014849d871fca0ba2cb7e5977a2a4907814 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 0887a1ace3e00b31bc3ed8b1e5ab7a4dffb3e035915cc32c1c8e82206791f9b3 [INFO] running `Command { std: "docker" "start" "-a" "0887a1ace3e00b31bc3ed8b1e5ab7a4dffb3e035915cc32c1c8e82206791f9b3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling near-runtime-utils v2.2.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.2.4 [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 uint v0.8.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling near-sdk-core v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling near-sdk-macros v2.0.1 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling near-runtime-fees v2.2.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 v2.2.0 [INFO] [stderr] Compiling near-vm-logic v2.2.0 [INFO] [stderr] Compiling near-sdk v2.0.1 [INFO] [stderr] Compiling usdnear v0.1.0 (/opt/rustwide/workdir/usdnear) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/internal.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | &self.internal_update_account(&account_id, &account); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = &self.internal_update_account(&account_id, &account); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/owner.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.67s [INFO] running `Command { std: "docker" "inspect" "0887a1ace3e00b31bc3ed8b1e5ab7a4dffb3e035915cc32c1c8e82206791f9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0887a1ace3e00b31bc3ed8b1e5ab7a4dffb3e035915cc32c1c8e82206791f9b3", kill_on_drop: false }` [INFO] [stdout] 0887a1ace3e00b31bc3ed8b1e5ab7a4dffb3e035915cc32c1c8e82206791f9b3 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--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] 2245949eeb4278eef18b62e3cec97ce652a22acfcb0c30ba300292fe887f80e3 [INFO] running `Command { std: "docker" "start" "-a" "2245949eeb4278eef18b62e3cec97ce652a22acfcb0c30ba300292fe887f80e3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quickcheck_macros v0.9.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/internal.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | &self.internal_update_account(&account_id, &account); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = &self.internal_update_account(&account_id, &account); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/owner.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling usdnear v0.1.0 (/opt/rustwide/workdir/usdnear) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/internal.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | &self.internal_update_account(&account_id, &account); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = &self.internal_update_account(&account_id, &account); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> usdnear/src/owner.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.75s [INFO] running `Command { std: "docker" "inspect" "2245949eeb4278eef18b62e3cec97ce652a22acfcb0c30ba300292fe887f80e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2245949eeb4278eef18b62e3cec97ce652a22acfcb0c30ba300292fe887f80e3", kill_on_drop: false }` [INFO] [stdout] 2245949eeb4278eef18b62e3cec97ce652a22acfcb0c30ba300292fe887f80e3 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 921579b95fea00b78923c4ed47df940d08cc298741218afdde50d41b2b1bf153 [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" "921579b95fea00b78923c4ed47df940d08cc298741218afdde50d41b2b1bf153", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> usdnear/src/internal.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | &self.internal_update_account(&account_id, &account); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 87 | let _ = &self.internal_update_account(&account_id, &account); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> usdnear/src/owner.rs:269:13 [INFO] [stderr] | [INFO] [stderr] 269 | &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 269 | let _ = &self.add_amount_and_free_shares_preserve_share_price(self.treasury_account_id.clone(), amount_for_treasury); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `usdnear` (lib) generated 2 warnings [INFO] [stderr] warning: `usdnear` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/usdnear-81d5975d9b34da67) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests usdnear [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "921579b95fea00b78923c4ed47df940d08cc298741218afdde50d41b2b1bf153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921579b95fea00b78923c4ed47df940d08cc298741218afdde50d41b2b1bf153", kill_on_drop: false }` [INFO] [stdout] 921579b95fea00b78923c4ed47df940d08cc298741218afdde50d41b2b1bf153