[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFigureTechnologies%2Finvoice-smart-contract" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FigureTechnologies/invoice-smart-contract on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded provwasm-std v1.0.0 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded provwasm-mocks v1.0.0 [INFO] [stderr] Downloaded base64ct v1.5.1 [INFO] [stderr] Downloaded dyn-clone v1.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2bf679a7030bbfafbb9653b59cc80f9f26edc69e280a4e0f1e3bc43c3f53148 [INFO] running `Command { std: "docker" "start" "-a" "c2bf679a7030bbfafbb9653b59cc80f9f26edc69e280a4e0f1e3bc43c3f53148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2bf679a7030bbfafbb9653b59cc80f9f26edc69e280a4e0f1e3bc43c3f53148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2bf679a7030bbfafbb9653b59cc80f9f26edc69e280a4e0f1e3bc43c3f53148", kill_on_drop: false }` [INFO] [stdout] c2bf679a7030bbfafbb9653b59cc80f9f26edc69e280a4e0f1e3bc43c3f53148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 013c51109b349a70b994e5d385a1339280bdf7074334bc180dfbdb1e73475932 [INFO] running `Command { std: "docker" "start" "-a" "013c51109b349a70b994e5d385a1339280bdf7074334bc180dfbdb1e73475932", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling generic-array v0.14.5 [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 base16ct v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling dyn-clone v1.0.6 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [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 block-buffer v0.9.0 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [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 cosmwasm-storage v1.0.0 [INFO] [stderr] Compiling provwasm-std 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.95s [INFO] running `Command { std: "docker" "inspect" "013c51109b349a70b994e5d385a1339280bdf7074334bc180dfbdb1e73475932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013c51109b349a70b994e5d385a1339280bdf7074334bc180dfbdb1e73475932", kill_on_drop: false }` [INFO] [stdout] 013c51109b349a70b994e5d385a1339280bdf7074334bc180dfbdb1e73475932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3091db24e9fda2ee7a6ad3593761f8da1594854f41804a6f7a14708361c32f3f [INFO] running `Command { std: "docker" "start" "-a" "3091db24e9fda2ee7a6ad3593761f8da1594854f41804a6f7a14708361c32f3f", kill_on_drop: false }` [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cosmwasm-schema v1.0.0 [INFO] [stderr] Compiling provwasm-mocks v1.0.0 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "3091db24e9fda2ee7a6ad3593761f8da1594854f41804a6f7a14708361c32f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3091db24e9fda2ee7a6ad3593761f8da1594854f41804a6f7a14708361c32f3f", kill_on_drop: false }` [INFO] [stdout] 3091db24e9fda2ee7a6ad3593761f8da1594854f41804a6f7a14708361c32f3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0d12dc42e04500a59118fca93d95076143ddc93899822c6795f4c313c71a97e6 [INFO] running `Command { std: "docker" "start" "-a" "0d12dc42e04500a59118fca93d95076143ddc93899822c6795f4c313c71a97e6", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: function `contract_err` is never used [INFO] [stderr] --> src/error.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn contract_err(s: &str) -> ContractError { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `instantiate` is never used [INFO] [stderr] --> src/instantiate.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn instantiate( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `migrate` is never used [INFO] [stderr] --> src/migrate.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn migrate( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:46:37 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_invoice_storage(storage: &mut dyn Storage) -> Bucket<'_, Invoice> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:50:42 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stderr] | ^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_invoice_storage_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Invoice> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `invoice` (lib) generated 8 warnings (run `cargo fix --lib -p invoice` to apply 4 suggestions) [INFO] [stderr] warning: `invoice` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/invoice-682b77d2914a93a4) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test contract::tests::create_invoice_invalid_data_error ... ok [INFO] [stdout] test contract::tests::cancel_invoice_not_found_error ... ok [INFO] [stdout] test contract::tests::cancel_invoice_with_funds_throws_error ... ok [INFO] [stdout] test contract::tests::cancel_invoice_unauthorized_error ... ok [INFO] [stdout] test contract::tests::cancel_invoice_success ... ok [INFO] [stdout] test contract::tests::create_invoice_success ... ok [INFO] [stdout] test contract::tests::create_invoice_unauthorized_error ... ok [INFO] [stdout] test contract::tests::create_invoice_with_funds_throws_error ... ok [INFO] [stdout] test contract::tests::pay_invoice_mismatch_funds_error ... ok [INFO] [stdout] test contract::tests::create_invoice_existing_id_error ... ok [INFO] [stdout] test contract::tests::pay_invoice_not_found_error ... ok [INFO] [stdout] test contract::tests::pay_invoice_success ... ok [INFO] [stdout] test instantiate::tests::proper_initialization ... ok [INFO] [stdout] test msg::tests::validate_add_invoice ... ok [INFO] [stdout] test msg::tests::validate_pay_invoice ... ok [INFO] [stdout] test msg::tests::validate_cancel_invoice ... ok [INFO] [stdout] test migrate::tests::migrate_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d12dc42e04500a59118fca93d95076143ddc93899822c6795f4c313c71a97e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d12dc42e04500a59118fca93d95076143ddc93899822c6795f4c313c71a97e6", kill_on_drop: false }` [INFO] [stdout] 0d12dc42e04500a59118fca93d95076143ddc93899822c6795f4c313c71a97e6