[INFO] cloning repository https://github.com/Solniechniy/USDF-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Solniechniy/USDF-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolniechniy%2FUSDF-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolniechniy%2FUSDF-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90aeb5a1dec7612f3b1ba2a5fec1e657fa38136e [INFO] building Solniechniy/USDF-contracts against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolniechniy%2FUSDF-contracts" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Solniechniy/USDF-contracts [INFO] finished tweaking git repo https://github.com/Solniechniy/USDF-contracts [INFO] tweaked toml for git repo https://github.com/Solniechniy/USDF-contracts written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Solniechniy/USDF-contracts on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Solniechniy/USDF-contracts 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlp v0.6.1 [INFO] [stderr] Downloaded near-sdk-contract-tools-macros v3.0.2 [INFO] [stderr] Downloaded near-sdk-macros v5.5.0 [INFO] [stderr] Downloaded near-gas v0.3.0 [INFO] [stderr] Downloaded near-contract-standards v5.5.0 [INFO] [stderr] Downloaded near-account-id v1.0.0 [INFO] [stderr] Downloaded near-token v0.3.0 [INFO] [stderr] Downloaded near-sys v0.2.2 [INFO] [stderr] Downloaded near-sdk-contract-tools v3.0.2 [INFO] [stderr] Downloaded near-sdk v5.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b769f8d90c933d439910d6ed1e8d4fa1c0c5555ebd82441cf6cf805b87ba9104 [INFO] running `Command { std: "docker" "start" "-a" "b769f8d90c933d439910d6ed1e8d4fa1c0c5555ebd82441cf6cf805b87ba9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b769f8d90c933d439910d6ed1e8d4fa1c0c5555ebd82441cf6cf805b87ba9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b769f8d90c933d439910d6ed1e8d4fa1c0c5555ebd82441cf6cf805b87ba9104", kill_on_drop: false }` [INFO] [stdout] b769f8d90c933d439910d6ed1e8d4fa1c0c5555ebd82441cf6cf805b87ba9104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 149e9402b4a43b28ed562323de45cb5d3819f0a2f629d5cbaa31b651de6de8d3 [INFO] running `Command { std: "docker" "start" "-a" "149e9402b4a43b28ed562323de45cb5d3819f0a2f629d5cbaa31b651de6de8d3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling near-sdk-macros v5.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling near-sys v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rlp v0.6.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling near-sdk-contract-tools-macros v3.0.2 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling near-sdk v5.5.0 [INFO] [stderr] Compiling near-sdk-contract-tools v3.0.2 [INFO] [stderr] Compiling near-contract-standards v5.5.0 [INFO] [stderr] Compiling exchange_contract v0.1.0 (/opt/rustwide/workdir/exchange_contract) [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExchangeStatus` is never used [INFO] [stdout] --> exchange_contract/src/events.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ExchangeStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeEvent` is never constructed [INFO] [stdout] --> exchange_contract/src/events.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ExchangeEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.44s [INFO] running `Command { std: "docker" "inspect" "149e9402b4a43b28ed562323de45cb5d3819f0a2f629d5cbaa31b651de6de8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149e9402b4a43b28ed562323de45cb5d3819f0a2f629d5cbaa31b651de6de8d3", kill_on_drop: false }` [INFO] [stdout] 149e9402b4a43b28ed562323de45cb5d3819f0a2f629d5cbaa31b651de6de8d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 46e3523b49de98846d462f69466724fc0e60b3a2ecf1de2b8d828aa97a66433c [INFO] running `Command { std: "docker" "start" "-a" "46e3523b49de98846d462f69466724fc0e60b3a2ecf1de2b8d828aa97a66433c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExchangeStatus` is never used [INFO] [stdout] --> exchange_contract/src/events.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ExchangeStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeEvent` is never constructed [INFO] [stdout] --> exchange_contract/src/events.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ExchangeEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling exchange_contract v0.1.0 (/opt/rustwide/workdir/exchange_contract) [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExchangeStatus` is never used [INFO] [stdout] --> exchange_contract/src/events.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ExchangeStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeEvent` is never constructed [INFO] [stdout] --> exchange_contract/src/events.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ExchangeEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "46e3523b49de98846d462f69466724fc0e60b3a2ecf1de2b8d828aa97a66433c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e3523b49de98846d462f69466724fc0e60b3a2ecf1de2b8d828aa97a66433c", kill_on_drop: false }` [INFO] [stdout] 46e3523b49de98846d462f69466724fc0e60b3a2ecf1de2b8d828aa97a66433c