[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] testing cosmicpunk/antimatter against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmicpunk%2Fantimatter" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmicpunk/antimatter on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-23/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-23/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: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1b50137c406d1ab7603c3676b8fc592f6dbaaad7925fe29b1eb5685683626e1 [INFO] running `Command { std: "docker" "start" "-a" "e1b50137c406d1ab7603c3676b8fc592f6dbaaad7925fe29b1eb5685683626e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1b50137c406d1ab7603c3676b8fc592f6dbaaad7925fe29b1eb5685683626e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b50137c406d1ab7603c3676b8fc592f6dbaaad7925fe29b1eb5685683626e1", kill_on_drop: false }` [INFO] [stdout] e1b50137c406d1ab7603c3676b8fc592f6dbaaad7925fe29b1eb5685683626e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37dda6086249ed70159fe117818eb5282857c105de5e749c630825b5fb5a6cc6 [INFO] running `Command { std: "docker" "start" "-a" "37dda6086249ed70159fe117818eb5282857c105de5e749c630825b5fb5a6cc6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 schemars v0.7.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling cosmwasm-derive v0.13.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling cosmwasm-std v0.13.2 [INFO] [stderr] Compiling cw0 v0.5.0 [INFO] [stderr] Compiling cosmwasm-storage v0.13.2 [INFO] [stderr] Compiling cw-storage-plus v0.5.0 [INFO] [stderr] Compiling cw721 v0.5.0 [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn num_offerings(storage: &Storage) -> StdResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn increment_offerings(storage: &mut Storage) -> StdResult { [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.00s [INFO] running `Command { std: "docker" "inspect" "37dda6086249ed70159fe117818eb5282857c105de5e749c630825b5fb5a6cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37dda6086249ed70159fe117818eb5282857c105de5e749c630825b5fb5a6cc6", kill_on_drop: false }` [INFO] [stdout] 37dda6086249ed70159fe117818eb5282857c105de5e749c630825b5fb5a6cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa3537cb2a1c3bd77ac45893533bd5bd180051373b062106243b87601d3b8d2a [INFO] running `Command { std: "docker" "start" "-a" "fa3537cb2a1c3bd77ac45893533bd5bd180051373b062106243b87601d3b8d2a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cosmwasm-schema v0.13.2 [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn num_offerings(storage: &Storage) -> StdResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn increment_offerings(storage: &mut Storage) -> StdResult { [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn num_offerings(storage: &Storage) -> StdResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn increment_offerings(storage: &mut Storage) -> StdResult { [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 struct `Deps`, found struct `DepsMut` [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 struct `Deps`, found struct `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 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` due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa3537cb2a1c3bd77ac45893533bd5bd180051373b062106243b87601d3b8d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3537cb2a1c3bd77ac45893533bd5bd180051373b062106243b87601d3b8d2a", kill_on_drop: false }` [INFO] [stdout] fa3537cb2a1c3bd77ac45893533bd5bd180051373b062106243b87601d3b8d2a