[INFO] cloning repository https://github.com/wohnmohr/nexum-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wohnmohr/nexum-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwohnmohr%2Fnexum-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwohnmohr%2Fnexum-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76717870d9796d0f387eefd5b0ce499552e06c11 [INFO] checking wohnmohr/nexum-contracts against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwohnmohr%2Fnexum-contracts" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wohnmohr/nexum-contracts [INFO] finished tweaking git repo https://github.com/wohnmohr/nexum-contracts [INFO] tweaked toml for git repo https://github.com/wohnmohr/nexum-contracts written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wohnmohr/nexum-contracts on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wohnmohr/nexum-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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded soroban-sdk-macros v21.7.7 [INFO] [stderr] Downloaded crate-git-revision v0.0.6 [INFO] [stderr] Downloaded stellar-strkey v0.0.8 [INFO] [stderr] Downloaded soroban-sdk v21.7.7 [INFO] [stderr] Downloaded bytes-lit v0.0.5 [INFO] [stderr] Downloaded derive_arbitrary v1.3.2 [INFO] [stderr] Downloaded escape-bytes v0.1.1 [INFO] [stderr] Downloaded soroban-env-guest v21.2.1 [INFO] [stderr] Downloaded soroban-builtin-sdk-macros v21.2.1 [INFO] [stderr] Downloaded soroban-env-macros v21.2.1 [INFO] [stderr] Downloaded soroban-ledger-snapshot v21.7.7 [INFO] [stderr] Downloaded soroban-spec v21.7.7 [INFO] [stderr] Downloaded soroban-spec-rust v21.7.7 [INFO] [stderr] Downloaded soroban-env-common v21.2.1 [INFO] [stderr] Downloaded ethnum v1.5.2 [INFO] [stderr] Downloaded soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Downloaded wasmparser v0.116.1 [INFO] [stderr] Downloaded stellar-xdr v21.2.0 [INFO] [stderr] Downloaded soroban-env-host v21.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e988cd580d682231bce7fa20ed8a77b03f2d71d6c3414e89c0438d19f354214 [INFO] running `Command { std: "docker" "start" "-a" "0e988cd580d682231bce7fa20ed8a77b03f2d71d6c3414e89c0438d19f354214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e988cd580d682231bce7fa20ed8a77b03f2d71d6c3414e89c0438d19f354214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e988cd580d682231bce7fa20ed8a77b03f2d71d6c3414e89c0438d19f354214", kill_on_drop: false }` [INFO] [stdout] 0e988cd580d682231bce7fa20ed8a77b03f2d71d6c3414e89c0438d19f354214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4154167a5b9bb9961301975444347c66407039b5cf0484d1cb63d402adbdcce0 [INFO] running `Command { std: "docker" "start" "-a" "4154167a5b9bb9961301975444347c66407039b5cf0484d1cb63d402adbdcce0", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking wasmi_core v0.13.0 [INFO] [stderr] Checking wasmparser-nostd v0.100.2 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking wasmi_arena v0.4.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking wasmparser v0.116.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling soroban-env-host v21.2.1 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling serde_with v3.16.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v21.2.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stellar-strkey v0.0.8 [INFO] [stderr] Compiling stellar-xdr v21.2.0 [INFO] [stderr] Compiling soroban-env-common v21.2.1 [INFO] [stderr] Compiling soroban-sdk-macros v21.7.7 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling soroban-sdk v21.7.7 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling soroban-spec v21.7.7 [INFO] [stderr] Compiling soroban-spec-rust v21.7.7 [INFO] [stderr] Compiling soroban-env-macros v21.2.1 [INFO] [stderr] Checking soroban-ledger-snapshot v21.7.7 [INFO] [stderr] Checking receivable_token v0.0.0 (/opt/rustwide/workdir/receivable_token) [INFO] [stderr] Checking lending_vault v0.0.0 (/opt/rustwide/workdir/lending_vault) [INFO] [stderr] Checking borrow_contract v0.0.0 (/opt/rustwide/workdir/borrow_contract) [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> lending_vault/contracts/src/lib.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | token, Address, Env, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> receivable_token/contracts/src/lib.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | Address, BytesN, Env, String, Vec, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> receivable_token/contracts/src/lib.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | Address, BytesN, Env, String, Vec, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> lending_vault/contracts/src/lib.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | token, Address, Env, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> borrow_contract/contracts/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | Address, Env, IntoVal, Symbol, Vec, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> borrow_contract/contracts/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | Address, Env, IntoVal, Symbol, Vec, log, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> receivable_token/contracts/src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut from_list: Vec = env.storage().persistent() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> receivable_token/contracts/src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut from_list: Vec = env.storage().persistent() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `admin` and `borrow_contract` are never read [INFO] [stdout] --> lending_vault/contracts/src/lib.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 364 | struct TestContext<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 369 | admin: Address, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | borrow_contract: Address, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `admin` [INFO] [stdout] --> receivable_token/contracts/src/lib.rs:390:27 [INFO] [stdout] | [INFO] [stdout] 390 | let (env, client, admin, _, creditor) = setup(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_admin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "4154167a5b9bb9961301975444347c66407039b5cf0484d1cb63d402adbdcce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4154167a5b9bb9961301975444347c66407039b5cf0484d1cb63d402adbdcce0", kill_on_drop: false }` [INFO] [stdout] 4154167a5b9bb9961301975444347c66407039b5cf0484d1cb63d402adbdcce0