[INFO] cloning repository https://github.com/yukiwadana/perpetual [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukiwadana/perpetual" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukiwadana%2Fperpetual", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukiwadana%2Fperpetual'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 098cbf6215999fd8e572b1139ef6754d3b151a2e [INFO] building yukiwadana/perpetual against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukiwadana%2Fperpetual" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukiwadana/perpetual on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yukiwadana/perpetual [INFO] finished tweaking git repo https://github.com/yukiwadana/perpetual [INFO] tweaked toml for git repo https://github.com/yukiwadana/perpetual written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yukiwadana/perpetual 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/packages/margined_perp/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/margined_engine/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/margined_vamm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/margined_pricefeed/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terraswap v2.4.0 [INFO] [stderr] Downloaded cw20 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.3 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded cw0 v0.8.1 [INFO] [stderr] Downloaded cw2 v0.9.1 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cw-storage-plus v0.9.1 [INFO] [stderr] Downloaded cw20 v0.9.1 [INFO] [stderr] Downloaded cw20-base v0.9.1 [INFO] [stderr] Downloaded cw-multi-test v0.9.1 [INFO] [stderr] Downloaded cosmwasm-std v0.16.3 [INFO] [stderr] Downloaded cw-storage-plus v0.8.1 [INFO] [stderr] Downloaded cw0 v0.9.1 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.3 [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta4 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d8c7369b6c453ba9db659838ef44337e7fc8e5f40dec2e5c3fe17d285acce80 [INFO] running `Command { std: "docker" "start" "-a" "9d8c7369b6c453ba9db659838ef44337e7fc8e5f40dec2e5c3fe17d285acce80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d8c7369b6c453ba9db659838ef44337e7fc8e5f40dec2e5c3fe17d285acce80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8c7369b6c453ba9db659838ef44337e7fc8e5f40dec2e5c3fe17d285acce80", kill_on_drop: false }` [INFO] [stdout] 9d8c7369b6c453ba9db659838ef44337e7fc8e5f40dec2e5c3fe17d285acce80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 965714ba5752e0c2e4f4a0c31569a79242263b34df75ad25ce789d5c382e7831 [INFO] running `Command { std: "docker" "start" "-a" "965714ba5752e0c2e4f4a0c31569a79242263b34df75ad25ce789d5c382e7831", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/margined_perp/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_engine/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_vamm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_pricefeed/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling sha3 v0.10.0 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.3 [INFO] [stderr] Compiling cosmwasm-std v0.16.3 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cw0 v0.9.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.3 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw20 v0.9.1 [INFO] [stderr] Compiling terraswap v2.4.0 [INFO] [stderr] Compiling margined-perp v0.1.0 (/opt/rustwide/workdir/packages/margined_perp) [INFO] [stderr] Compiling margined_vamm v0.1.0 (/opt/rustwide/workdir/contracts/margined_vamm) [INFO] [stderr] Compiling margined_pricefeed v0.1.0 (/opt/rustwide/workdir/contracts/margined_pricefeed) [INFO] [stderr] Compiling margined_engine v0.1.0 (/opt/rustwide/workdir/contracts/margined_engine) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | fn position_bucket(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] = 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] 94 | fn position_bucket(storage: &mut dyn Storage) -> Bucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn position_bucket_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] 98 | fn position_bucket_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "965714ba5752e0c2e4f4a0c31569a79242263b34df75ad25ce789d5c382e7831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965714ba5752e0c2e4f4a0c31569a79242263b34df75ad25ce789d5c382e7831", kill_on_drop: false }` [INFO] [stdout] 965714ba5752e0c2e4f4a0c31569a79242263b34df75ad25ce789d5c382e7831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a484596fa6cb49aab6201238f1b4d3a9aec5ee8d0856ba5a13bd965a9bb5d011 [INFO] running `Command { std: "docker" "start" "-a" "a484596fa6cb49aab6201238f1b4d3a9aec5ee8d0856ba5a13bd965a9bb5d011", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/margined_perp/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_engine/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_vamm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/margined_pricefeed/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cw-storage-plus v0.9.1 [INFO] [stderr] Compiling margined-perp v0.1.0 (/opt/rustwide/workdir/packages/margined_perp) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | fn position_bucket(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] = 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] 94 | fn position_bucket(storage: &mut dyn Storage) -> Bucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn position_bucket_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] 98 | fn position_bucket_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling margined_pricefeed v0.1.0 (/opt/rustwide/workdir/contracts/margined_pricefeed) [INFO] [stderr] Compiling margined_vamm v0.1.0 (/opt/rustwide/workdir/contracts/margined_vamm) [INFO] [stderr] Compiling cw2 v0.9.1 [INFO] [stderr] Compiling cw20-base v0.9.1 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling cw-multi-test v0.9.1 [INFO] [stderr] Compiling margined_engine v0.1.0 (/opt/rustwide/workdir/contracts/margined_engine) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> contracts/margined_engine/src/testing/setup.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ContractInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | pub addr: Addr, [INFO] [stdout] 10 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | fn position_bucket(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] = 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] 94 | fn position_bucket(storage: &mut dyn Storage) -> Bucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/margined_engine/src/state.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn position_bucket_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] 98 | fn position_bucket_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Position> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a484596fa6cb49aab6201238f1b4d3a9aec5ee8d0856ba5a13bd965a9bb5d011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a484596fa6cb49aab6201238f1b4d3a9aec5ee8d0856ba5a13bd965a9bb5d011", kill_on_drop: false }` [INFO] [stdout] a484596fa6cb49aab6201238f1b4d3a9aec5ee8d0856ba5a13bd965a9bb5d011