[INFO] fetching crate near-account 0.1.2... [INFO] testing near-account-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate near-account 0.1.2 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate near-account 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate near-account 0.1.2 [INFO] finished tweaking crates.io crate near-account 0.1.2 [INFO] tweaked toml for crates.io crate near-account 0.1.2 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c865955d130b482984baa108270a129b07c1f47f9b7fa23b8ce2a6654f707a86 [INFO] running `Command { std: "docker" "start" "-a" "c865955d130b482984baa108270a129b07c1f47f9b7fa23b8ce2a6654f707a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c865955d130b482984baa108270a129b07c1f47f9b7fa23b8ce2a6654f707a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c865955d130b482984baa108270a129b07c1f47f9b7fa23b8ce2a6654f707a86", kill_on_drop: false }` [INFO] [stdout] c865955d130b482984baa108270a129b07c1f47f9b7fa23b8ce2a6654f707a86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e82dd4197d6273e45bc0bb8def8577c505d3588ea8c8a52966bbdb1ccbf203d6 [INFO] running `Command { std: "docker" "start" "-a" "e82dd4197d6273e45bc0bb8def8577c505d3588ea8c8a52966bbdb1ccbf203d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.7 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.10.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling validator v0.12.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling near-rpc-error-macro v0.10.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling near-account-id v0.10.0 [INFO] [stderr] Compiling near-primitives-core v0.10.0 [INFO] [stderr] Compiling near-vm-errors v0.10.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.10.0 [INFO] [stderr] Compiling near-primitives v0.10.0 [INFO] [stderr] Compiling near-vm-logic v0.10.0 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.7 [INFO] [stderr] Compiling near-contract-standards v4.0.0-pre.7 [INFO] [stderr] Compiling near-account v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.08s [INFO] running `Command { std: "docker" "inspect" "e82dd4197d6273e45bc0bb8def8577c505d3588ea8c8a52966bbdb1ccbf203d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82dd4197d6273e45bc0bb8def8577c505d3588ea8c8a52966bbdb1ccbf203d6", kill_on_drop: false }` [INFO] [stdout] e82dd4197d6273e45bc0bb8def8577c505d3588ea8c8a52966bbdb1ccbf203d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a201b9fd74807b2b0a7272cf2f8c066f9707719366e91d3d7a58ed10ac98de [INFO] running `Command { std: "docker" "start" "-a" "e6a201b9fd74807b2b0a7272cf2f8c066f9707719366e91d3d7a58ed10ac98de", kill_on_drop: false }` [INFO] [stderr] Compiling near-account v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `near_sdk::collections::UnorderedMap` [INFO] [stdout] --> src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | use near_sdk::collections::UnorderedMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 362 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_sdk::MockedBlockchain` [INFO] [stdout] --> src/lib.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | use near_sdk::MockedBlockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 362 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> src/lib.rs:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | use near_sdk::{testing_env, Balance}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 362 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:485:46 [INFO] [stdout] | [INFO] [stdout] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/lib.rs:532:46 [INFO] [stdout] | [INFO] [stdout] 532 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account_id` [INFO] [stdout] --> src/lib.rs:383:36 [INFO] [stdout] | [INFO] [stdout] 383 | fn default_from_account_id(account_id: AccountId) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | mut context: VMContextBuilder, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let mut near_accounts = Accounts::::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:485:23 [INFO] [stdout] | [INFO] [stdout] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:485:42 [INFO] [stdout] | [INFO] [stdout] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:532:42 [INFO] [stdout] | [INFO] [stdout] 532 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `default_message` should have an upper case name [INFO] [stdout] --> src/lib.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | const default_message: &str = "listening to anime lofi"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_MESSAGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "e6a201b9fd74807b2b0a7272cf2f8c066f9707719366e91d3d7a58ed10ac98de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a201b9fd74807b2b0a7272cf2f8c066f9707719366e91d3d7a58ed10ac98de", kill_on_drop: false }` [INFO] [stdout] e6a201b9fd74807b2b0a7272cf2f8c066f9707719366e91d3d7a58ed10ac98de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f0e0a0e368be47cb2d4ab69f510e9eca6d0319c1ea8ab63c1492f4dd92febdf [INFO] running `Command { std: "docker" "start" "-a" "9f0e0a0e368be47cb2d4ab69f510e9eca6d0319c1ea8ab63c1492f4dd92febdf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `near_sdk::collections::UnorderedMap` [INFO] [stderr] --> src/lib.rs:370:9 [INFO] [stderr] | [INFO] [stderr] 370 | use near_sdk::collections::UnorderedMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:362:1 [INFO] [stderr] | [INFO] [stderr] 362 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `near_sdk::MockedBlockchain` [INFO] [stderr] --> src/lib.rs:372:9 [INFO] [stderr] | [INFO] [stderr] 372 | use near_sdk::MockedBlockchain; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:362:1 [INFO] [stderr] | [INFO] [stderr] 362 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Balance` [INFO] [stderr] --> src/lib.rs:373:33 [INFO] [stderr] | [INFO] [stderr] 373 | use near_sdk::{testing_env, Balance}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:362:1 [INFO] [stderr] | [INFO] [stderr] 362 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/lib.rs:485:46 [INFO] [stderr] | [INFO] [stderr] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/lib.rs:532:46 [INFO] [stderr] | [INFO] [stderr] 532 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `account_id` [INFO] [stderr] --> src/lib.rs:383:36 [INFO] [stderr] | [INFO] [stderr] 383 | fn default_from_account_id(account_id: AccountId) -> Self { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:391:9 [INFO] [stderr] | [INFO] [stderr] 391 | mut context: VMContextBuilder, [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:393:13 [INFO] [stderr] | [INFO] [stderr] 393 | let mut near_accounts = Accounts::::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:485:23 [INFO] [stderr] | [INFO] [stderr] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:485:42 [INFO] [stderr] | [INFO] [stderr] 485 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:532:42 [INFO] [stderr] | [INFO] [stderr] 532 | let (account, mut near_accounts, mut context) = get_near_accounts(context); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant `default_message` should have an upper case name [INFO] [stderr] --> src/lib.rs:375:11 [INFO] [stderr] | [INFO] [stderr] 375 | const default_message: &str = "listening to anime lofi"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_MESSAGE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `near-account` (lib test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/near_account-b2b9bc4b5f460c8e) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_account_storage_unregister ... ok [INFO] [stdout] test tests::test_account_storage ... ok [INFO] [stdout] test tests::test_insert_account_checked_update_storage ... ok [INFO] [stdout] test tests::test_insert_account_checked_non_registered - should panic ... ok [INFO] [stdout] test tests::test_get_account_checked_panic - should panic ... ok [INFO] [stdout] test tests::test_insert_account_checked_not_enough_near - should panic ... ok [INFO] [stdout] test tests::test_account_storage_withdraw_too_much - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests near-account [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 13) ... ignored [INFO] [stdout] test src/lib.rs - (line 20) ... ignored [INFO] [stdout] test src/lib.rs - (line 32) ... ignored [INFO] [stdout] test src/lib.rs - (line 5) ... ignored [INFO] [stdout] test src/lib.rs - NearAccountsPluginNonExternal::insert_account_check_storage (line 145) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f0e0a0e368be47cb2d4ab69f510e9eca6d0319c1ea8ab63c1492f4dd92febdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0e0a0e368be47cb2d4ab69f510e9eca6d0319c1ea8ab63c1492f4dd92febdf", kill_on_drop: false }` [INFO] [stdout] 9f0e0a0e368be47cb2d4ab69f510e9eca6d0319c1ea8ab63c1492f4dd92febdf