[INFO] fetching crate cw20-legacy 0.2.0... [INFO] testing cw20-legacy-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cw20-legacy 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking crates.io crate cw20-legacy 0.2.0 [INFO] finished tweaking crates.io crate cw20-legacy 0.2.0 [INFO] tweaked toml for crates.io crate cw20-legacy 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cw20-legacy 0.2.0 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 crates.io crate cw20-legacy 0.2.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-derive v0.16.0 [INFO] [stderr] Downloaded cw20 v0.8.0 [INFO] [stderr] Downloaded cw20-base v0.8.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.0 [INFO] [stderr] Downloaded cw2 v0.8.0 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.0 [INFO] [stderr] Downloaded cw-storage-plus v0.8.0 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.0 [INFO] [stderr] Downloaded cosmwasm-std v0.16.0 [INFO] [stderr] Downloaded cw0 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 04690abd2c8768d532194dd3d1f56286f36270aedd2b94c542bae9b52fb23bc3 [INFO] running `Command { std: "docker" "start" "-a" "04690abd2c8768d532194dd3d1f56286f36270aedd2b94c542bae9b52fb23bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04690abd2c8768d532194dd3d1f56286f36270aedd2b94c542bae9b52fb23bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04690abd2c8768d532194dd3d1f56286f36270aedd2b94c542bae9b52fb23bc3", kill_on_drop: false }` [INFO] [stdout] 04690abd2c8768d532194dd3d1f56286f36270aedd2b94c542bae9b52fb23bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d7842e8da5c42cd5308b7e31655b34fcad4940072037d1498fcd79c1c8c78344 [INFO] running `Command { std: "docker" "start" "-a" "d7842e8da5c42cd5308b7e31655b34fcad4940072037d1498fcd79c1c8c78344", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling der v0.4.1 [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 generic-array v0.14.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.10.0 [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.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.0 [INFO] [stderr] Compiling cosmwasm-std v0.16.0 [INFO] [stderr] Compiling cw0 v0.8.0 [INFO] [stderr] Compiling cw-storage-plus v0.8.0 [INFO] [stderr] Compiling cosmwasm-storage v0.16.0 [INFO] [stderr] Compiling cw2 v0.8.0 [INFO] [stderr] Compiling cw20 v0.8.0 [INFO] [stderr] Compiling cw20-base v0.8.0 [INFO] [stderr] Compiling cw20-legacy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.64s [INFO] running `Command { std: "docker" "inspect" "d7842e8da5c42cd5308b7e31655b34fcad4940072037d1498fcd79c1c8c78344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7842e8da5c42cd5308b7e31655b34fcad4940072037d1498fcd79c1c8c78344", kill_on_drop: false }` [INFO] [stdout] d7842e8da5c42cd5308b7e31655b34fcad4940072037d1498fcd79c1c8c78344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f56b5c71546479d146b8c3cb5f4c706cc3d5b7a31a226b51b7c8d17d7754c73e [INFO] running `Command { std: "docker" "start" "-a" "f56b5c71546479d146b8c3cb5f4c706cc3d5b7a31a226b51b7c8d17d7754c73e", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.16.0 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw20-legacy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/enumerable.rs:285:37 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn legacy_balances(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] 285 | pub fn legacy_balances(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/enumerable.rs:290:42 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn legacy_balances_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] 290 | pub fn legacy_balances_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/enumerable.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn legacy_balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage { [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] 294 | pub fn legacy_balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "f56b5c71546479d146b8c3cb5f4c706cc3d5b7a31a226b51b7c8d17d7754c73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56b5c71546479d146b8c3cb5f4c706cc3d5b7a31a226b51b7c8d17d7754c73e", kill_on_drop: false }` [INFO] [stdout] f56b5c71546479d146b8c3cb5f4c706cc3d5b7a31a226b51b7c8d17d7754c73e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e1ac38879e9e1bc078f86f52e865fe037f948f1b7d9c6ae0921c0ee54b7d0f1b [INFO] running `Command { std: "docker" "start" "-a" "e1ac38879e9e1bc078f86f52e865fe037f948f1b7d9c6ae0921c0ee54b7d0f1b", kill_on_drop: false }` [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] --> src/enumerable.rs:285:37 [INFO] [stderr] | [INFO] [stderr] 285 | pub fn legacy_balances(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] 285 | pub fn legacy_balances(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/enumerable.rs:290:42 [INFO] [stderr] | [INFO] [stderr] 290 | pub fn legacy_balances_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] 290 | pub fn legacy_balances_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/enumerable.rs:294:49 [INFO] [stderr] | [INFO] [stderr] 294 | pub fn legacy_balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage { [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] 294 | pub fn legacy_balances_prefix_read(storage: &dyn Storage) -> ReadonlyPrefixedStorage<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cw20-legacy` (lib) generated 1 warning [INFO] [stderr] warning: `cw20-legacy` (lib test) generated 3 warnings (run `cargo fix --lib -p cw20-legacy --tests` to apply 3 suggestions) [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/cw20_legacy-1bf5b66898d75a86) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test contract::tests::instantiate_mintable_over_cap ... ok [INFO] [stdout] test allowances::tests::no_self_allowance ... ok [INFO] [stdout] test contract::tests::no_one_mints_if_minter_unset ... ok [INFO] [stdout] test contract::tests::proper_instantiation ... ok [INFO] [stdout] test contract::tests::burn ... ok [INFO] [stdout] test contract::tests::queries_work ... ok [INFO] [stdout] test contract::tests::others_cannot_mint ... ok [INFO] [stdout] test allowances::tests::burn_from_respects_limits ... ok [INFO] [stdout] test contract::tests::can_mint_by_minter ... ok [INFO] [stdout] test contract::tests::instantiate_mintable ... ok [INFO] [stdout] test contract::tests::instantiate_multiple_accounts ... ok [INFO] [stdout] test enumerable::tests::allowance_legacy_compatibility ... ok [INFO] [stdout] test contract::tests::transfer ... ok [INFO] [stdout] test enumerable::tests::query_all_accounts_works ... ok [INFO] [stdout] test enumerable::tests::query_all_allowances_works ... ok [INFO] [stdout] test contract::tests::send ... ok [INFO] [stdout] test allowances::tests::allowances_independent ... ok [INFO] [stdout] test allowances::tests::send_from_respects_limits ... ok [INFO] [stdout] test allowances::tests::increase_decrease_allowances ... ok [INFO] [stdout] test state::test::token_info_legacy_compatibility ... ok [INFO] [stdout] test allowances::tests::transfer_from_respects_limits ... ok [INFO] [stdout] test enumerable::tests::balances_legacy_compatibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1ac38879e9e1bc078f86f52e865fe037f948f1b7d9c6ae0921c0ee54b7d0f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ac38879e9e1bc078f86f52e865fe037f948f1b7d9c6ae0921c0ee54b7d0f1b", kill_on_drop: false }` [INFO] [stdout] e1ac38879e9e1bc078f86f52e865fe037f948f1b7d9c6ae0921c0ee54b7d0f1b