[INFO] cloning repository https://github.com/toml01/SecretLootbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toml01/SecretLootbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoml01%2FSecretLootbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoml01%2FSecretLootbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 561d55c2e9d4a4eecaf455abd2d4c080a22d331e [INFO] testing toml01/SecretLootbox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoml01%2FSecretLootbox" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toml01/SecretLootbox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-29/source/.cargo/config [INFO] started tweaking git repo https://github.com/toml01/SecretLootbox [INFO] finished tweaking git repo https://github.com/toml01/SecretLootbox [INFO] tweaked toml for git repo https://github.com/toml01/SecretLootbox written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/toml01/SecretLootbox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c715a8b72a7dbe27dd1fa993a5c3145634e08881407353120dd7490d556caf [INFO] running `Command { std: "docker" "start" "-a" "a7c715a8b72a7dbe27dd1fa993a5c3145634e08881407353120dd7490d556caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c715a8b72a7dbe27dd1fa993a5c3145634e08881407353120dd7490d556caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c715a8b72a7dbe27dd1fa993a5c3145634e08881407353120dd7490d556caf", kill_on_drop: false }` [INFO] [stdout] a7c715a8b72a7dbe27dd1fa993a5c3145634e08881407353120dd7490d556caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ab88e80be7e958e6267eb6ca87d5faa7968d16ae1425199ac748795a0f1118e [INFO] running `Command { std: "docker" "start" "-a" "9ab88e80be7e958e6267eb6ca87d5faa7968d16ae1425199ac748795a0f1118e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling cosmwasm-std v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stderr] Compiling cosmwasm-storage v0.9.0-alpha1 (https://github.com/enigmampc/SecretNetwork?tag=v0.5.0-alpha2#b1710787) [INFO] [stderr] Compiling secret-lootbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/contract.rs:3:85 [INFO] [stdout] | [INFO] [stdout] 3 | HandleResponse, HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approved` [INFO] [stdout] --> src/contract.rs:426:50 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/contract.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/contract.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:442:46 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transfer_from` [INFO] [stdout] --> src/contract.rs:368:4 [INFO] [stdout] | [INFO] [stdout] 368 | fn transfer_from( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `approve` [INFO] [stdout] --> src/contract.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn approve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_approval_for_all` [INFO] [stdout] --> src/contract.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_approved` [INFO] [stdout] --> src/contract.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_approved_for_all` [INFO] [stdout] --> src/contract.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.18s [INFO] running `Command { std: "docker" "inspect" "9ab88e80be7e958e6267eb6ca87d5faa7968d16ae1425199ac748795a0f1118e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab88e80be7e958e6267eb6ca87d5faa7968d16ae1425199ac748795a0f1118e", kill_on_drop: false }` [INFO] [stdout] 9ab88e80be7e958e6267eb6ca87d5faa7968d16ae1425199ac748795a0f1118e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cf2a952ffda0ac058a71ece7ea63605d64b37e68bc4e7d751cd8f0a89dccadc [INFO] running `Command { std: "docker" "start" "-a" "4cf2a952ffda0ac058a71ece7ea63605d64b37e68bc4e7d751cd8f0a89dccadc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling cranelift-entity v0.59.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.59.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling cosmwasm-std v0.9.2 [INFO] [stderr] Compiling cosmwasm-schema v0.9.2 [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/contract.rs:3:85 [INFO] [stdout] | [INFO] [stdout] 3 | HandleResponse, HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approved` [INFO] [stdout] --> src/contract.rs:426:50 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/contract.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/contract.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:442:46 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transfer_from` [INFO] [stdout] --> src/contract.rs:368:4 [INFO] [stdout] | [INFO] [stdout] 368 | fn transfer_from( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `approve` [INFO] [stdout] --> src/contract.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn approve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_approval_for_all` [INFO] [stdout] --> src/contract.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_approved` [INFO] [stdout] --> src/contract.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_approved_for_all` [INFO] [stdout] --> src/contract.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cranelift-codegen-meta v0.59.0 [INFO] [stderr] Compiling cranelift-bforest v0.59.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling blake3 v0.3.4 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling gimli v0.20.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling wasmer-runtime-core v0.17.0 [INFO] [stderr] Compiling cranelift-codegen v0.59.0 [INFO] [stderr] Compiling wasmer-middleware-common v0.17.0 [INFO] [stderr] Compiling wasmer-clif-fork-frontend v0.59.0 [INFO] [stderr] Compiling cranelift-native v0.59.0 [INFO] [stderr] Compiling wasmer-clif-fork-wasm v0.59.0 [INFO] [stderr] Compiling wasmer-clif-backend v0.17.0 [INFO] [stderr] Compiling cosmwasm-vm v0.9.2 [INFO] [stderr] Compiling secret-lootbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HandleResponse`, `HandleResult`, `InitResponse`, `StdError`, `coins`, `from_binary` [INFO] [stdout] --> tests/integration.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use cosmwasm_std::{coins, from_binary, HandleResponse, HandleResult, InitResponse, StdError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle`, `init`, `mock_env`, `mock_instance`, `query` [INFO] [stdout] --> tests/integration.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use cosmwasm_vm::testing::{handle, init, mock_env, mock_instance, query}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CountResponse`, `HandleMsg`, `InitMsg`, `QueryMsg` [INFO] [stdout] --> tests/integration.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | use secret_lootbox::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/contract.rs:3:85 [INFO] [stdout] | [INFO] [stdout] 3 | HandleResponse, HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `approved` [INFO] [stdout] --> src/contract.rs:426:50 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_id` [INFO] [stdout] --> src/contract.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/contract.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/contract.rs:442:46 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transfer_from` [INFO] [stdout] --> src/contract.rs:368:4 [INFO] [stdout] | [INFO] [stdout] 368 | fn transfer_from( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `approve` [INFO] [stdout] --> src/contract.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn approve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_approval_for_all` [INFO] [stdout] --> src/contract.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_approved` [INFO] [stdout] --> src/contract.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_approved_for_all` [INFO] [stdout] --> src/contract.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.61s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/secret_lootbox-4f5b09778899b57a) [INFO] [stderr] Executable tests/integration.rs (/opt/rustwide/target/debug/deps/integration-6767249dabf264b5) [INFO] running `Command { std: "docker" "inspect" "4cf2a952ffda0ac058a71ece7ea63605d64b37e68bc4e7d751cd8f0a89dccadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf2a952ffda0ac058a71ece7ea63605d64b37e68bc4e7d751cd8f0a89dccadc", kill_on_drop: false }` [INFO] [stdout] 4cf2a952ffda0ac058a71ece7ea63605d64b37e68bc4e7d751cd8f0a89dccadc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e8872ed0d16d516dcc70994106d51499b7791a49ae701edf9da0544b6dbdebe [INFO] running `Command { std: "docker" "start" "-a" "3e8872ed0d16d516dcc70994106d51499b7791a49ae701edf9da0544b6dbdebe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Uint128` [INFO] [stderr] --> src/contract.rs:3:85 [INFO] [stderr] | [INFO] [stderr] 3 | HandleResponse, HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `operator` [INFO] [stderr] --> src/contract.rs:426:25 [INFO] [stderr] | [INFO] [stderr] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `approved` [INFO] [stderr] --> src/contract.rs:426:50 [INFO] [stderr] | [INFO] [stderr] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_approved` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_id` [INFO] [stderr] --> src/contract.rs:434:17 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `owner` [INFO] [stderr] --> src/contract.rs:442:24 [INFO] [stderr] | [INFO] [stderr] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `operator` [INFO] [stderr] --> src/contract.rs:442:46 [INFO] [stderr] | [INFO] [stderr] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `transfer_from` [INFO] [stderr] --> src/contract.rs:368:4 [INFO] [stderr] | [INFO] [stderr] 368 | fn transfer_from( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `approve` [INFO] [stderr] --> src/contract.rs:385:4 [INFO] [stderr] | [INFO] [stderr] 385 | fn approve( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_approval_for_all` [INFO] [stderr] --> src/contract.rs:426:4 [INFO] [stderr] | [INFO] [stderr] 426 | fn set_approval_for_all(operator: CanonicalAddr, approved: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_approved` [INFO] [stderr] --> src/contract.rs:434:4 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_approved(token_id: u32) -> CanonicalAddr { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_approved_for_all` [INFO] [stderr] --> src/contract.rs:442:4 [INFO] [stderr] | [INFO] [stderr] 442 | fn is_approved_for_all(owner: CanonicalAddr, operator: CanonicalAddr) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `secret-lootbox` (lib) generated 11 warnings [INFO] [stderr] warning: unused imports: `HandleResponse`, `HandleResult`, `InitResponse`, `StdError`, `coins`, `from_binary` [INFO] [stderr] --> tests/integration.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | use cosmwasm_std::{coins, from_binary, HandleResponse, HandleResult, InitResponse, StdError}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `handle`, `init`, `mock_env`, `mock_instance`, `query` [INFO] [stderr] --> tests/integration.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use cosmwasm_vm::testing::{handle, init, mock_env, mock_instance, query}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CountResponse`, `HandleMsg`, `InitMsg`, `QueryMsg` [INFO] [stderr] --> tests/integration.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | use secret_lootbox::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `secret-lootbox` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: `secret-lootbox` (test "integration") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secret_lootbox-4f5b09778899b57a) [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 tests/integration.rs (/opt/rustwide/target/debug/deps/integration-6767249dabf264b5) [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] Doc-tests secret-lootbox [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] running `Command { std: "docker" "inspect" "3e8872ed0d16d516dcc70994106d51499b7791a49ae701edf9da0544b6dbdebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8872ed0d16d516dcc70994106d51499b7791a49ae701edf9da0544b6dbdebe", kill_on_drop: false }` [INFO] [stdout] 3e8872ed0d16d516dcc70994106d51499b7791a49ae701edf9da0544b6dbdebe