[INFO] cloning repository https://github.com/FigureTechnologies/invoice-smart-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FigureTechnologies/invoice-smart-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFigureTechnologies%2Finvoice-smart-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFigureTechnologies%2Finvoice-smart-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c281c58f6336eb89dffda89eae2e501b7e78addd [INFO] testing FigureTechnologies/invoice-smart-contract against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFigureTechnologies%2Finvoice-smart-contract" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FigureTechnologies/invoice-smart-contract [INFO] finished tweaking git repo https://github.com/FigureTechnologies/invoice-smart-contract [INFO] tweaked toml for git repo https://github.com/FigureTechnologies/invoice-smart-contract written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FigureTechnologies/invoice-smart-contract on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FigureTechnologies/invoice-smart-contract 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f384e656c188fd35dd069e44218d8f29ef51c6c6c70ab6912513a7f2f9bd9968 [INFO] running `Command { std: "docker" "start" "-a" "f384e656c188fd35dd069e44218d8f29ef51c6c6c70ab6912513a7f2f9bd9968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f384e656c188fd35dd069e44218d8f29ef51c6c6c70ab6912513a7f2f9bd9968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f384e656c188fd35dd069e44218d8f29ef51c6c6c70ab6912513a7f2f9bd9968", kill_on_drop: false }` [INFO] [stdout] f384e656c188fd35dd069e44218d8f29ef51c6c6c70ab6912513a7f2f9bd9968 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a1a35d10096b3b1021bf2dd40118b71cb044ea7303584889d6531926acc3962f [INFO] running `Command { std: "docker" "start" "-a" "a1a35d10096b3b1021bf2dd40118b71cb044ea7303584889d6531926acc3962f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling dyn-clone v1.0.6 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 [INFO] [stderr] Compiling cw-storage-plus v0.13.4 [INFO] [stderr] Compiling provwasm-std v1.0.0 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 [INFO] [stderr] Compiling cw2 v0.13.4 [INFO] [stderr] Compiling invoice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contract_err` is never used [INFO] [stdout] --> src/error.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn contract_err(s: &str) -> ContractError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instantiate` is never used [INFO] [stdout] --> src/instantiate.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instantiate( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `migrate` is never used [INFO] [stdout] --> src/migrate.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn migrate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.21s [INFO] running `Command { std: "docker" "inspect" "a1a35d10096b3b1021bf2dd40118b71cb044ea7303584889d6531926acc3962f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a35d10096b3b1021bf2dd40118b71cb044ea7303584889d6531926acc3962f", kill_on_drop: false }` [INFO] [stdout] a1a35d10096b3b1021bf2dd40118b71cb044ea7303584889d6531926acc3962f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 88822b5ed4e6558afdebc408f4bb2e5e072298508f5d6b4558dbca8528b368b9 [INFO] running `Command { std: "docker" "start" "-a" "88822b5ed4e6558afdebc408f4bb2e5e072298508f5d6b4558dbca8528b368b9", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v1.0.0 [INFO] [stderr] Compiling provwasm-mocks v1.0.0 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contract_err` is never used [INFO] [stdout] --> src/error.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn contract_err(s: &str) -> ContractError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instantiate` is never used [INFO] [stdout] --> src/instantiate.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instantiate( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `migrate` is never used [INFO] [stdout] --> src/migrate.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn migrate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling invoice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Invoice> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcWXuRIu/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcosmwasm_storage-39b00ea221a4e3b5.rlib,libuuid-5817fc3c340e3f82.rlib,libcw2-06a4b203da06cf2b.rlib,libcw_storage_plus-6b126011cb8ced19.rlib,libprovwasm_mocks-fa9c5648a0d9f8e8.rlib,libprovwasm_std-6a46cd2cfb3e5725.rlib,libcosmwasm_std-a5ee901fc925e383.rlib,libserde_json_wasm-5f2117fdb5941bfb.rlib,libbase64-1447dfff012d42f8.rlib,libuint-042ec2526c5f1ee1.rlib,libcrunchy-9e69d6430d2c362a.rlib,libstatic_assertions-df27c3b343cf637f.rlib,libforward_ref-3b34d3d0fe7bcf82.rlib,libcosmwasm_crypto-b9e4e4bdb253efff.rlib,libk256-12153e2125234a14.rlib,libecdsa-8b13c44b06f43bfc.rlib,librfc6979-5065ecd48b134011.rlib,libhmac-1c64ca38bf63e3a0.rlib,libcrypto_mac-f5c781cdce2fb50a.rlib,libsignature-bcb469f962dfddfb.rlib,libelliptic_curve-427ef5c88889fab8.rlib,libbase16ct-9bff315c60978b21.rlib,libsec1-2bdabe6e6c853b3b.rlib,libpkcs8-c2aff13759743e1d.rlib,libspki-c4ddbafccb9e0381.rlib,libder-2db5c1986bb11f48.rlib,libconst_oid-d3ad95a4a1445a80.rlib,libgroup-91ea3e4dd80b60a9.rlib,libff-8407f36f2943d3d9.rlib,libcrypto_bigint-899f57c399a55293.rlib,libed25519_zebra-4693e6ec84cd7ba3.rlib,libhex-a52fd19e29921b8e.rlib,libthiserror-66ac403642c82777.rlib,libsha2-90d84609a4b5864c.rlib,libcpufeatures-bd3a5bace216530a.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-01e29eb50d49b318.rlib,librand_core-8cc0d8bdae1ba156.rlib,libgetrandom-aa730e50b98218fd.rlib,libcurve25519_dalek-193644c304e01d6c.rlib,libsubtle-a7dc2a433cf7a6ef.rlib,libzeroize-94943f5c573062ee.rlib,librand_core-61c1aa2c8137e015.rlib,libgetrandom-f0e863267ae3ee6a.rlib,liblibc-46cbd4892249b89e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libdigest-d159c17d24eaf1b0.rlib,libgeneric_array-e4abed14fe55019c.rlib,libtypenum-dfaa696d06b304f0.rlib,libbyteorder-796c52519adec32f.rlib,libschemars-b9032a41100f6acc.rlib,libdyn_clone-e3f57fc2e3b2d241.rlib,libserde_json-56e73d3726306bcd.rlib,libryu-9675aeb4e0982d6b.rlib,libitoa-95e5ea577b522801.rlib,libserde-31555d46e393ff1c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcWXuRIu/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/invoice-682b77d2914a93a4" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-aa730e50b98218fd.rlib(getrandom-aa730e50b98218fd.getrandom.fee3cd4793159606-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hc88e109cb50baf96E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `invoice` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88822b5ed4e6558afdebc408f4bb2e5e072298508f5d6b4558dbca8528b368b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88822b5ed4e6558afdebc408f4bb2e5e072298508f5d6b4558dbca8528b368b9", kill_on_drop: false }` [INFO] [stdout] 88822b5ed4e6558afdebc408f4bb2e5e072298508f5d6b4558dbca8528b368b9