[INFO] cloning repository https://github.com/cosmicpunk/antimatter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosmicpunk/antimatter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmicpunk%2Fantimatter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmicpunk%2Fantimatter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9497c542846ca462dbdb322d6e964ea277343e5e [INFO] checking cosmicpunk/antimatter against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmicpunk%2Fantimatter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmicpunk/antimatter on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/cosmicpunk/antimatter [INFO] finished tweaking git repo https://github.com/cosmicpunk/antimatter [INFO] tweaked toml for git repo https://github.com/cosmicpunk/antimatter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cosmicpunk/antimatter 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw0 v0.5.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.13.2 [INFO] [stderr] Downloaded cosmwasm-storage v0.13.2 [INFO] [stderr] Downloaded cosmwasm-derive v0.13.2 [INFO] [stderr] Downloaded cosmwasm-std v0.13.2 [INFO] [stderr] Downloaded cw-storage-plus v0.5.0 [INFO] [stderr] Downloaded syn v1.0.62 [INFO] [stderr] Downloaded cw721 v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cea21fd9a09ed16a92ee50c18a2ab5b91c20fc9c9b999d4ba8f3d5e87a5d582e [INFO] running `Command { std: "docker" "start" "-a" "cea21fd9a09ed16a92ee50c18a2ab5b91c20fc9c9b999d4ba8f3d5e87a5d582e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cea21fd9a09ed16a92ee50c18a2ab5b91c20fc9c9b999d4ba8f3d5e87a5d582e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea21fd9a09ed16a92ee50c18a2ab5b91c20fc9c9b999d4ba8f3d5e87a5d582e", kill_on_drop: false }` [INFO] [stdout] cea21fd9a09ed16a92ee50c18a2ab5b91c20fc9c9b999d4ba8f3d5e87a5d582e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd0297612abc74fb176db0c703975c0dc62b60aed9f602fe4ad1ba4d7dd541a6 [INFO] running `Command { std: "docker" "start" "-a" "bd0297612abc74fb176db0c703975c0dc62b60aed9f602fe4ad1ba4d7dd541a6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling cosmwasm-derive v0.13.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking cosmwasm-std v0.13.2 [INFO] [stderr] Checking cosmwasm-schema v0.13.2 [INFO] [stderr] Checking cw0 v0.5.0 [INFO] [stderr] Checking cosmwasm-storage v0.13.2 [INFO] [stderr] Checking cw-storage-plus v0.5.0 [INFO] [stderr] Checking cw721 v0.5.0 [INFO] [stderr] Checking antimatter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `from_binary` is imported redundantly [INFO] [stdout] --> src/contract.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 168 | use super::*; [INFO] [stdout] | -------- the item `from_binary` is already imported here [INFO] [stdout] 169 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] 170 | use cosmwasm_std::{coins, from_binary, HumanAddr, Uint128}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HumanAddr` is imported redundantly [INFO] [stdout] --> src/contract.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 168 | use super::*; [INFO] [stdout] | -------- the item `HumanAddr` is already imported here [INFO] [stdout] 169 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] 170 | use cosmwasm_std::{coins, from_binary, HumanAddr, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn num_offerings(storage: &Storage) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn num_offerings(storage: &dyn Storage) -> StdResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn num_offerings(storage: &Storage) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn num_offerings(storage: &dyn Storage) -> StdResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increment_offerings(storage: &mut Storage) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increment_offerings(storage: &mut dyn Storage) -> StdResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increment_offerings(storage: &mut Storage) -> StdResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increment_offerings(storage: &mut dyn Storage) -> StdResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | let res = query(deps.as_mut(), mock_env(), QueryMsg::GetOfferings {}).unwrap(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^ expected `Deps<'_>`, found `DepsMut<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/contract.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | let res2 = query(deps.as_mut(), mock_env(), QueryMsg::GetOfferings {}).unwrap(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^ expected `Deps<'_>`, found `DepsMut<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/contract.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `antimatter` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bd0297612abc74fb176db0c703975c0dc62b60aed9f602fe4ad1ba4d7dd541a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0297612abc74fb176db0c703975c0dc62b60aed9f602fe4ad1ba4d7dd541a6", kill_on_drop: false }` [INFO] [stdout] bd0297612abc74fb176db0c703975c0dc62b60aed9f602fe4ad1ba4d7dd541a6