[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] checking luciotato/usdnear-stable against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluciotato%2Fusdnear-stable" "/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/luciotato/usdnear-stable on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk-macros v2.0.1 [INFO] [stderr] Downloaded near-vm-errors v2.2.0 [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 near-sdk v2.0.1 [INFO] [stderr] Downloaded near-vm-logic v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ae38e2766617a64433308ddec3780f6377afb97b0d3de5f4fed2d17168eae58 [INFO] running `Command { std: "docker" "start" "-a" "7ae38e2766617a64433308ddec3780f6377afb97b0d3de5f4fed2d17168eae58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ae38e2766617a64433308ddec3780f6377afb97b0d3de5f4fed2d17168eae58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae38e2766617a64433308ddec3780f6377afb97b0d3de5f4fed2d17168eae58", kill_on_drop: false }` [INFO] [stdout] 7ae38e2766617a64433308ddec3780f6377afb97b0d3de5f4fed2d17168eae58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40cc7167c13673e8e4c901934c4b31ecbe4617b670acffc2d578955eca81300 [INFO] running `Command { std: "docker" "start" "-a" "a40cc7167c13673e8e4c901934c4b31ecbe4617b670acffc2d578955eca81300", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking near-runtime-utils v2.2.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [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 quickcheck_macros v0.9.1 [INFO] [stderr] Checking borsh v0.7.2 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking 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] Checking near-vm-errors v2.2.0 [INFO] [stderr] Checking near-vm-logic v2.2.0 [INFO] [stderr] Checking near-sdk v2.0.1 [INFO] [stderr] Checking usdnear v0.1.0 (/opt/rustwide/workdir/usdnear) [INFO] [stdout] warning: unused import: `crate::owner::*` [INFO] [stdout] --> usdnear/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use crate::owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::owner::*` [INFO] [stdout] --> usdnear/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use crate::owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.43s [INFO] running `Command { std: "docker" "inspect" "a40cc7167c13673e8e4c901934c4b31ecbe4617b670acffc2d578955eca81300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40cc7167c13673e8e4c901934c4b31ecbe4617b670acffc2d578955eca81300", kill_on_drop: false }` [INFO] [stdout] a40cc7167c13673e8e4c901934c4b31ecbe4617b670acffc2d578955eca81300