[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] testing yukiwadana/perpetual 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%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] 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] validating manifest of git repo https://github.com/yukiwadana/perpetual 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/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 pkcs8 v0.7.6 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.3 [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta4 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded zeroize v1.4.3 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.3 [INFO] [stderr] Downloaded cw-multi-test v0.9.1 [INFO] [stderr] Downloaded crypto-bigint v0.2.11 [INFO] [stderr] Downloaded der v0.4.5 [INFO] [stderr] Downloaded cosmwasm-std v0.16.3 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.3 [INFO] [stderr] Downloaded signature v1.3.2 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded const-oid v0.6.2 [INFO] [stderr] Downloaded sha3 v0.10.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1f287d08c3cbcd42f82b71f52b3ecddc8a7d86832bddf854184082654b999a [INFO] running `Command { std: "docker" "start" "-a" "ff1f287d08c3cbcd42f82b71f52b3ecddc8a7d86832bddf854184082654b999a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1f287d08c3cbcd42f82b71f52b3ecddc8a7d86832bddf854184082654b999a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1f287d08c3cbcd42f82b71f52b3ecddc8a7d86832bddf854184082654b999a", kill_on_drop: false }` [INFO] [stdout] ff1f287d08c3cbcd42f82b71f52b3ecddc8a7d86832bddf854184082654b999a [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=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] 5c1784693808a7f44bdd8ffe698883577980e6e7815256d0aa1a187fe741cc7d [INFO] running `Command { std: "docker" "start" "-a" "5c1784693808a7f44bdd8ffe698883577980e6e7815256d0aa1a187fe741cc7d", 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 libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 serde v1.0.133 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [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 der v0.4.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.10.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [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 cosmwasm-storage v0.16.3 [INFO] [stderr] Compiling cw0 v0.9.1 [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_engine v0.1.0 (/opt/rustwide/workdir/contracts/margined_engine) [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] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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 `dev` profile [unoptimized + debuginfo] target(s) in 18.93s [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" "5c1784693808a7f44bdd8ffe698883577980e6e7815256d0aa1a187fe741cc7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1784693808a7f44bdd8ffe698883577980e6e7815256d0aa1a187fe741cc7d", kill_on_drop: false }` [INFO] [stdout] 5c1784693808a7f44bdd8ffe698883577980e6e7815256d0aa1a187fe741cc7d [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=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] f3dd3500b8c9c98078818150422f05c96c6da0474f790d65393092d4c0588198 [INFO] running `Command { std: "docker" "start" "-a" "f3dd3500b8c9c98078818150422f05c96c6da0474f790d65393092d4c0588198", 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 either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta4 [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: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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 7.95s [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" "f3dd3500b8c9c98078818150422f05c96c6da0474f790d65393092d4c0588198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3dd3500b8c9c98078818150422f05c96c6da0474f790d65393092d4c0588198", kill_on_drop: false }` [INFO] [stdout] f3dd3500b8c9c98078818150422f05c96c6da0474f790d65393092d4c0588198 [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=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] 112db61ddb4a359aad4a519fe9a334f1dd51094ff9faeea6b4eeca20f8910e26 [INFO] running `Command { std: "docker" "start" "-a" "112db61ddb4a359aad4a519fe9a334f1dd51094ff9faeea6b4eeca20f8910e26", 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] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/margined_engine/src/state.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 94 | fn position_bucket(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] = 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] 94 | fn position_bucket(storage: &mut dyn Storage) -> Bucket<'_, Position> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/margined_engine/src/state.rs:98:34 [INFO] [stderr] | [INFO] [stderr] 98 | fn position_bucket_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] 98 | fn position_bucket_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Position> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `margined_vamm` (lib) generated 1 warning [INFO] [stderr] warning: `margined_engine` (lib) generated 3 warnings (1 duplicate) (run `cargo fix --lib -p margined_engine` to apply 2 suggestions) [INFO] [stderr] warning: `margined_pricefeed` (lib) generated 1 warning (1 duplicate) [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> contracts/margined_engine/src/testing/setup.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ContractInfo { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 9 | pub addr: Addr, [INFO] [stderr] 10 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `margined_engine` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/margined_perp-9abe278a66cc6996) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/margined_engine-5b837d2c97812b9f) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test testing::tests::test_instantiation ... ok [INFO] [stdout] test testing::tests::test_update_config ... ok [INFO] [stdout] test testing::integration_tests::test_initialization ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_long ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_two_longs ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_equal_size_opposite_side ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_short_and_two_longs ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_one_long_two_shorts ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_long_short_short ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_short_long_short ... ok [INFO] [stdout] test testing::integration_tests::test_open_position_two_shorts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/margined_pricefeed-359e4223da1933e2) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test testing::tests::test_get_twap_error_zero_interval ... ok [INFO] [stdout] test testing::tests::test_instantiation ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/margined_vamm-9b0be65bae607b97) [INFO] [stdout] test testing::tests::test_get_twap_variant_price_period ... ok [INFO] [stdout] test testing::tests::test_get_twap_price ... ok [INFO] [stdout] test testing::tests::test_set_and_get_price ... ok [INFO] [stdout] test testing::tests::test_get_previous_price ... ok [INFO] [stdout] test testing::tests::test_update_config ... ok [INFO] [stdout] test testing::tests::test_set_multiple_price ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test testing::fee_tests::test_calc_fee ... ok [INFO] [stdout] test testing::fee_tests::test_set_fee_ratio_zero ... ok [INFO] [stdout] test testing::tests::test_swap_input_long_integration_example ... ok [INFO] [stdout] test testing::tests::test_swap_input_long_short_integration_example ... ok [INFO] [stdout] test testing::swap_tests::test_get_input_and_output_price ... ok [INFO] [stdout] test testing::fee_tests::test_calc_fee_input_zero ... ok [INFO] [stdout] test testing::fee_tests::test_update_not_owner ... ok [INFO] [stdout] test testing::tests::test_instantiation ... ok [INFO] [stdout] test testing::tests::test_swap_input_short_long ... ok [INFO] [stdout] test testing::tests::test_swap_input_short ... ok [INFO] [stdout] test testing::tests::test_swap_input_short_long_long ... ok [INFO] [stdout] test testing::tests::test_swap_output_long ... ok [INFO] [stdout] test testing::tests::test_swap_output_short ... ok [INFO] [stdout] test testing::tests::test_swap_input_twice_short_long ... ok [INFO] [stdout] test testing::tests::test_swap_input_long ... ok [INFO] [stdout] test testing::fee_tests::test_set_diff_fee_ratio ... ok [INFO] [stdout] test testing::tests::test_swap_input_twice_long_short ... ok [INFO] [stdout] test testing::tests::test_swap_output_twice_long_short ... ok [INFO] [stdout] test testing::tests::test_swap_input_short_long_short ... ok [INFO] [stdout] test testing::tests::test_update_config ... ok [INFO] [stdout] test testing::tests::test_swap_output_twice_short_long ... ok [INFO] [stdout] test testing::twap_tests::test_interval_less_than_latest_snapshots ... ok [INFO] [stdout] test testing::twap_tests::test_interval_greater_than_snapshots_have ... ok [INFO] [stdout] test testing::twap_tests::test_get_twap_price ... ok [INFO] [stdout] test testing::twap_tests::test_no_change_in_snapshot ... ok [INFO] [stdout] test testing::twap_tests::test_zero_interval ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "112db61ddb4a359aad4a519fe9a334f1dd51094ff9faeea6b4eeca20f8910e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112db61ddb4a359aad4a519fe9a334f1dd51094ff9faeea6b4eeca20f8910e26", kill_on_drop: false }` [INFO] [stdout] 112db61ddb4a359aad4a519fe9a334f1dd51094ff9faeea6b4eeca20f8910e26