[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluciotato%2Fusdnear-stable" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luciotato/usdnear-stable on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-14/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d35c18bd3747cd32e9544889088a1ea2592d2d9e453ca9f9a588d09cc46c4178 [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" "d35c18bd3747cd32e9544889088a1ea2592d2d9e453ca9f9a588d09cc46c4178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d35c18bd3747cd32e9544889088a1ea2592d2d9e453ca9f9a588d09cc46c4178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35c18bd3747cd32e9544889088a1ea2592d2d9e453ca9f9a588d09cc46c4178", kill_on_drop: false }` [INFO] [stdout] d35c18bd3747cd32e9544889088a1ea2592d2d9e453ca9f9a588d09cc46c4178 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 0e455996b4a09350b90fe158f1ab08325d39326402f907d4e9cb7d3e4cc7bf74 [INFO] running `Command { std: "docker" "start" "-a" "0e455996b4a09350b90fe158f1ab08325d39326402f907d4e9cb7d3e4cc7bf74", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling libc v0.2.86 [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 rustc-hex v2.1.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling uint v0.8.5 [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 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 53.57s [INFO] running `Command { std: "docker" "inspect" "0e455996b4a09350b90fe158f1ab08325d39326402f907d4e9cb7d3e4cc7bf74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e455996b4a09350b90fe158f1ab08325d39326402f907d4e9cb7d3e4cc7bf74", kill_on_drop: false }` [INFO] [stdout] 0e455996b4a09350b90fe158f1ab08325d39326402f907d4e9cb7d3e4cc7bf74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dcf7ae99e4bf8a04179abf2cbdc4bd5d44864bea1809bd59822d89372b94cb8 [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" "2dcf7ae99e4bf8a04179abf2cbdc4bd5d44864bea1809bd59822d89372b94cb8", kill_on_drop: false }` [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quickcheck_macros v0.9.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 regex v1.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.7.1 [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 14.66s [INFO] running `Command { std: "docker" "inspect" "2dcf7ae99e4bf8a04179abf2cbdc4bd5d44864bea1809bd59822d89372b94cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dcf7ae99e4bf8a04179abf2cbdc4bd5d44864bea1809bd59822d89372b94cb8", kill_on_drop: false }` [INFO] [stdout] 2dcf7ae99e4bf8a04179abf2cbdc4bd5d44864bea1809bd59822d89372b94cb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd3ea316503760006550c59067a6053db858a518f52c1a99d282a7d36370d7bf [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" "bd3ea316503760006550c59067a6053db858a518f52c1a99d282a7d36370d7bf", 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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/usdnear-c865628586cecdbb) [INFO] [stdout] [INFO] [stderr] Doc-tests usdnear [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] [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" "bd3ea316503760006550c59067a6053db858a518f52c1a99d282a7d36370d7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd3ea316503760006550c59067a6053db858a518f52c1a99d282a7d36370d7bf", kill_on_drop: false }` [INFO] [stdout] bd3ea316503760006550c59067a6053db858a518f52c1a99d282a7d36370d7bf