[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/9497c542846ca462dbdb322d6e964ea277343e5e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmicpunk%2Fantimatter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmicpunk/antimatter on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded cw0 v0.5.0 [INFO] [stderr] Downloaded cosmwasm-std v0.13.2 [INFO] [stderr] Downloaded cosmwasm-schema v0.13.2 [INFO] [stderr] Downloaded cosmwasm-storage v0.13.2 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded cw-storage-plus v0.5.0 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded cosmwasm-derive v0.13.2 [INFO] [stderr] Downloaded cw721 v0.5.0 [INFO] [stderr] Downloaded syn v1.0.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 978afea0a38ba6c5ada1b76919088ccfe04f903afa6803000af863076c101176 [INFO] running `Command { std: "docker" "start" "-a" "978afea0a38ba6c5ada1b76919088ccfe04f903afa6803000af863076c101176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "978afea0a38ba6c5ada1b76919088ccfe04f903afa6803000af863076c101176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978afea0a38ba6c5ada1b76919088ccfe04f903afa6803000af863076c101176", kill_on_drop: false }` [INFO] [stdout] 978afea0a38ba6c5ada1b76919088ccfe04f903afa6803000af863076c101176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fafd846cb7dea758c9758e8e0adab816ef67ddee49af2333b4b5211b66c8d50 [INFO] running `Command { std: "docker" "start" "-a" "2fafd846cb7dea758c9758e8e0adab816ef67ddee49af2333b4b5211b66c8d50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [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 quote v1.0.9 [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: 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: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: 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] 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 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; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2fafd846cb7dea758c9758e8e0adab816ef67ddee49af2333b4b5211b66c8d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fafd846cb7dea758c9758e8e0adab816ef67ddee49af2333b4b5211b66c8d50", kill_on_drop: false }` [INFO] [stdout] 2fafd846cb7dea758c9758e8e0adab816ef67ddee49af2333b4b5211b66c8d50