[INFO] fetching crate odra-casper-wasm-env 2.4.0... [INFO] checking odra-casper-wasm-env-2.4.0 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] extracting crate odra-casper-wasm-env 2.4.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate odra-casper-wasm-env 2.4.0 [INFO] finished tweaking crates.io crate odra-casper-wasm-env 2.4.0 [INFO] tweaked toml for crates.io crate odra-casper-wasm-env 2.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate odra-casper-wasm-env 2.4.0 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate odra-casper-wasm-env 2.4.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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cbf7db2249ac72327b69b080f236c7cac240cc194bc9ab0ac906aad69a379c6 [INFO] running `Command { std: "docker" "start" "-a" "0cbf7db2249ac72327b69b080f236c7cac240cc194bc9ab0ac906aad69a379c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cbf7db2249ac72327b69b080f236c7cac240cc194bc9ab0ac906aad69a379c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbf7db2249ac72327b69b080f236c7cac240cc194bc9ab0ac906aad69a379c6", kill_on_drop: false }` [INFO] [stdout] 0cbf7db2249ac72327b69b080f236c7cac240cc194bc9ab0ac906aad69a379c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc59d8bf47db9457b3c22ffc85d347a4030bb15d9ed66d1bb61591b9d6246e2 [INFO] running `Command { std: "docker" "start" "-a" "8cc59d8bf47db9457b3c22ffc85d347a4030bb15d9ed66d1bb61591b9d6246e2", kill_on_drop: false }` [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking serde-map-to-array v1.1.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling casper-event-standard-macro v0.7.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking casper-types v6.0.1 [INFO] [stderr] Checking casper-event-standard v0.7.0 [INFO] [stderr] Checking casper-contract v5.1.1 [INFO] [stderr] Checking odra-core v2.4.0 [INFO] [stderr] Checking odra-casper-wasm-env v2.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 60 - let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] 60 + let key = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(runtime::get_key(consts::STATE_KEY)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 60 - let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] 60 + let key = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(runtime::get_key(consts::STATE_KEY)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 66 - (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] 66 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert((*STATE).into_bytes()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 66 - (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] 66 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert((*STATE).into_bytes()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 60 - let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] 60 + let key = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(runtime::get_key(consts::STATE_KEY)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 60 - let key = runtime::get_key(consts::STATE_KEY).unwrap_or_revert(); [INFO] [stdout] 60 + let key = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(runtime::get_key(consts::STATE_KEY)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 139 - let contract_hash: PackageHash = runtime::get_key(&package_hash_key_name) [INFO] [stdout] 140 - .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] 139 + let contract_hash: PackageHash = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(runtime::get_key(&package_hash_key_name), ApiError::AllocLayout) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 139 - let contract_hash: PackageHash = runtime::get_key(&package_hash_key_name) [INFO] [stdout] 140 - .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] 139 + let contract_hash: PackageHash = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(runtime::get_key(&package_hash_key_name), ApiError::AllocLayout) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 66 - (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] 66 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert((*STATE).into_bytes()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 66 - (*STATE).into_bytes().unwrap_or_revert() [INFO] [stdout] 66 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert((*STATE).into_bytes()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 139 - let contract_hash: PackageHash = runtime::get_key(&package_hash_key_name) [INFO] [stdout] 140 - .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] 139 + let contract_hash: PackageHash = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(runtime::get_key(&package_hash_key_name), ApiError::AllocLayout) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 139 - let contract_hash: PackageHash = runtime::get_key(&package_hash_key_name) [INFO] [stdout] 140 - .unwrap_or_revert_with(ApiError::AllocLayout) [INFO] [stdout] 139 + let contract_hash: PackageHash = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(runtime::get_key(&package_hash_key_name), ApiError::AllocLayout) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:328:52 [INFO] [stdout] | [INFO] [stdout] 328 | let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 328 - let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] 328 + let cl_value = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(CLValue::from_t(value.to_vec())); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 328 - let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] 328 + let cl_value = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(CLValue::from_t(value.to_vec())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:373:63 [INFO] [stdout] | [INFO] [stdout] 373 | let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 373 - let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] 373 + let value_bytes = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(Vec::from_bytes(value_bytes.as_slice())); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 373 - let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] 373 + let value_bytes = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(Vec::from_bytes(value_bytes.as_slice())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:476:59 [INFO] [stdout] | [INFO] [stdout] 476 | Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 476 - Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] 476 + Some(dictionary_key) => *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(dictionary_key.as_uref()), [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 476 - Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] 476 + Some(dictionary_key) => *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(dictionary_key.as_uref()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:485:66 [INFO] [stdout] | [INFO] [stdout] 485 | let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 485 - let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] 485 + let uref: URef = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(bytesrepr::deserialize(value_bytes)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 485 - let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] 485 + let uref: URef = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(bytesrepr::deserialize(value_bytes)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:328:52 [INFO] [stdout] | [INFO] [stdout] 328 | let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 328 - let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] 328 + let cl_value = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(CLValue::from_t(value.to_vec())); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 328 - let cl_value = CLValue::from_t(value.to_vec()).unwrap_or_revert(); [INFO] [stdout] 328 + let cl_value = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(CLValue::from_t(value.to_vec())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:528:60 [INFO] [stdout] | [INFO] [stdout] 528 | let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 528 - let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] 528 + let package_hash = *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(address.as_contract_package_hash()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 528 - let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] 528 + let package_hash = *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(address.as_contract_package_hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:535:43 [INFO] [stdout] | [INFO] [stdout] 535 | let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 535 - let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] 535 + let main_purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(get_main_purse()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 535 - let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] 535 + let main_purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(get_main_purse()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:373:63 [INFO] [stdout] | [INFO] [stdout] 373 | let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 373 - let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] 373 + let value_bytes = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(Vec::from_bytes(value_bytes.as_slice())); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 373 - let value_bytes = Vec::from_bytes(value_bytes.as_slice()).unwrap_or_revert(); [INFO] [stdout] 373 + let value_bytes = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(Vec::from_bytes(value_bytes.as_slice())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 539 - args.insert(consts::CARGO_PURSE_ARG, cargo_purse) [INFO] [stdout] 540 - .unwrap_or_revert(); [INFO] [stdout] 539 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(consts::CARGO_PURSE_ARG, cargo_purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 539 - args.insert(consts::CARGO_PURSE_ARG, cargo_purse) [INFO] [stdout] 540 - .unwrap_or_revert(); [INFO] [stdout] 539 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(consts::CARGO_PURSE_ARG, cargo_purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:562:35 [INFO] [stdout] | [INFO] [stdout] 562 | get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 562 - get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] 562 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(get_purse_balance(main_purse)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 562 - get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] 562 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(get_purse_balance(main_purse)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:476:59 [INFO] [stdout] | [INFO] [stdout] 476 | Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 476 - Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] 476 + Some(dictionary_key) => *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(dictionary_key.as_uref()), [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 476 - Some(dictionary_key) => *dictionary_key.as_uref().unwrap_or_revert(), [INFO] [stdout] 476 + Some(dictionary_key) => *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(dictionary_key.as_uref()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:485:66 [INFO] [stdout] | [INFO] [stdout] 485 | let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 485 - let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] 485 + let uref: URef = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(bytesrepr::deserialize(value_bytes)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 485 - let uref: URef = bytesrepr::deserialize(value_bytes).unwrap_or_revert(); [INFO] [stdout] 485 + let uref: URef = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(bytesrepr::deserialize(value_bytes)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:528:60 [INFO] [stdout] | [INFO] [stdout] 528 | let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 528 - let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] 528 + let package_hash = *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(address.as_contract_package_hash()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 528 - let package_hash = *address.as_contract_package_hash().unwrap_or_revert(); [INFO] [stdout] 528 + let package_hash = *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(address.as_contract_package_hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:535:43 [INFO] [stdout] | [INFO] [stdout] 535 | let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 535 - let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] 535 + let main_purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(get_main_purse()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 535 - let main_purse = get_main_purse().unwrap_or_revert(); [INFO] [stdout] 535 + let main_purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(get_main_purse()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:728:10 [INFO] [stdout] | [INFO] [stdout] 728 | .unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 725 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(runtime::get_call_stack() [INFO] [stdout] 726 + .into_iter() [INFO] [stdout] 727 + .nth_back(n)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 725 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(runtime::get_call_stack() [INFO] [stdout] 726 + .into_iter() [INFO] [stdout] 727 + .nth_back(n)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 539 - args.insert(consts::CARGO_PURSE_ARG, cargo_purse) [INFO] [stdout] 540 - .unwrap_or_revert(); [INFO] [stdout] 539 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(consts::CARGO_PURSE_ARG, cargo_purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 539 - args.insert(consts::CARGO_PURSE_ARG, cargo_purse) [INFO] [stdout] 540 - .unwrap_or_revert(); [INFO] [stdout] 539 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(consts::CARGO_PURSE_ARG, cargo_purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:738:10 [INFO] [stdout] | [INFO] [stdout] 738 | .unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 735 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(storage::create_contract_user_group(contract_package_hash, group_label, 1, Default::default()) [INFO] [stdout] 736 + .unwrap_or_revert() [INFO] [stdout] 737 + .pop()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 735 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(storage::create_contract_user_group(contract_package_hash, group_label, 1, Default::default()) [INFO] [stdout] 736 + .unwrap_or_revert() [INFO] [stdout] 737 + .pop()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:562:35 [INFO] [stdout] | [INFO] [stdout] 562 | get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 562 - get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] 562 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(get_purse_balance(main_purse)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 562 - get_purse_balance(main_purse).unwrap_or_revert() [INFO] [stdout] 562 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(get_purse_balance(main_purse)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:760:37 [INFO] [stdout] | [INFO] [stdout] 760 | Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 760 - Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] 760 + Some(key) => *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(key.as_uref()), [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 760 - Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] 760 + Some(key) => *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(key.as_uref()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:770:32 [INFO] [stdout] | [INFO] [stdout] 770 | let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 770 - let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] 770 + let bytes = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(t.into_bytes()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 770 - let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] 770 + let bytes = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(t.into_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | deserialize(bytes).unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 802 - deserialize(bytes).unwrap_or_revert() [INFO] [stdout] 802 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(deserialize(bytes)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 802 - deserialize(bytes).unwrap_or_revert() [INFO] [stdout] 802 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(deserialize(bytes)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:861:62 [INFO] [stdout] | [INFO] [stdout] 861 | .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 861 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 861 + .map(|val| casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 861 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 861 + .map(|val| odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:728:10 [INFO] [stdout] | [INFO] [stdout] 728 | .unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 725 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(runtime::get_call_stack() [INFO] [stdout] 726 + .into_iter() [INFO] [stdout] 727 + .nth_back(n)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 725 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(runtime::get_call_stack() [INFO] [stdout] 726 + .into_iter() [INFO] [stdout] 727 + .nth_back(n)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:738:10 [INFO] [stdout] | [INFO] [stdout] 738 | .unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 735 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(storage::create_contract_user_group(contract_package_hash, group_label, 1, Default::default()) [INFO] [stdout] 736 + .unwrap_or_revert() [INFO] [stdout] 737 + .pop()) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 735 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(storage::create_contract_user_group(contract_package_hash, group_label, 1, Default::default()) [INFO] [stdout] 736 + .unwrap_or_revert() [INFO] [stdout] 737 + .pop()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:760:37 [INFO] [stdout] | [INFO] [stdout] 760 | Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 760 - Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] 760 + Some(key) => *casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(key.as_uref()), [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 760 - Some(key) => *key.as_uref().unwrap_or_revert(), [INFO] [stdout] 760 + Some(key) => *odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(key.as_uref()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:770:32 [INFO] [stdout] | [INFO] [stdout] 770 | let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 770 - let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] 770 + let bytes = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(t.into_bytes()); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 770 - let bytes = t.into_bytes().unwrap_or_revert(); [INFO] [stdout] 770 + let bytes = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(t.into_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | deserialize(bytes).unwrap_or_revert() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 802 - deserialize(bytes).unwrap_or_revert() [INFO] [stdout] 802 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(deserialize(bytes)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 802 - deserialize(bytes).unwrap_or_revert() [INFO] [stdout] 802 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(deserialize(bytes)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:861:62 [INFO] [stdout] | [INFO] [stdout] 861 | .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 861 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 861 + .map(|val| casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 861 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 861 + .map(|val| odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:902:63 [INFO] [stdout] | [INFO] [stdout] 902 | .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 902 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 902 + .map(|val| casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 902 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 902 + .map(|val| odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:902:63 [INFO] [stdout] | [INFO] [stdout] 902 | .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 902 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 902 + .map(|val| casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 902 - .map(|val| val.to_t::>().unwrap_or_revert()) [INFO] [stdout] 902 + .map(|val| odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(val.to_t::>())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:916:34 [INFO] [stdout] | [INFO] [stdout] 916 | let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 916 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 916 + let purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 916 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 916 + let purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:920:10 [INFO] [stdout] | [INFO] [stdout] 920 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 919 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 920 - .unwrap_or_revert(); [INFO] [stdout] 919 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 919 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 920 - .unwrap_or_revert(); [INFO] [stdout] 919 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:916:34 [INFO] [stdout] | [INFO] [stdout] 916 | let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 916 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 916 + let purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 916 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 916 + let purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:922:10 [INFO] [stdout] | [INFO] [stdout] 922 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 921 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 922 - .unwrap_or_revert(); [INFO] [stdout] 921 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 921 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 922 - .unwrap_or_revert(); [INFO] [stdout] 921 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:920:10 [INFO] [stdout] | [INFO] [stdout] 920 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 919 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 920 - .unwrap_or_revert(); [INFO] [stdout] 919 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 919 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 920 - .unwrap_or_revert(); [INFO] [stdout] 919 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:923:46 [INFO] [stdout] | [INFO] [stdout] 923 | args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 923 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 923 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 923 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 923 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:922:10 [INFO] [stdout] | [INFO] [stdout] 922 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 921 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 922 - .unwrap_or_revert(); [INFO] [stdout] 921 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 921 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 922 - .unwrap_or_revert(); [INFO] [stdout] 921 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:930:34 [INFO] [stdout] | [INFO] [stdout] 930 | let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 930 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 930 + let purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 930 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 930 + let purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:923:46 [INFO] [stdout] | [INFO] [stdout] 923 | args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 923 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 923 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 923 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 923 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 933 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 934 - .unwrap_or_revert(); [INFO] [stdout] 933 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 933 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 934 - .unwrap_or_revert(); [INFO] [stdout] 933 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:930:34 [INFO] [stdout] | [INFO] [stdout] 930 | let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 930 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 930 + let purse = casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 930 - let purse = get_main_purse().unwrap_or_revert_with(ApiError::InvalidPurse); [INFO] [stdout] 930 + let purse = odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(get_main_purse(), ApiError::InvalidPurse); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:936:10 [INFO] [stdout] | [INFO] [stdout] 936 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 935 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 936 - .unwrap_or_revert(); [INFO] [stdout] 935 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 935 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 936 - .unwrap_or_revert(); [INFO] [stdout] 935 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 933 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 934 - .unwrap_or_revert(); [INFO] [stdout] 933 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 933 - args.insert(auction::ARG_DELEGATOR_PURSE, purse) [INFO] [stdout] 934 - .unwrap_or_revert(); [INFO] [stdout] 933 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_DELEGATOR_PURSE, purse)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:937:46 [INFO] [stdout] | [INFO] [stdout] 937 | args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 937 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 937 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 937 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 937 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:936:10 [INFO] [stdout] | [INFO] [stdout] 936 | .unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 935 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 936 - .unwrap_or_revert(); [INFO] [stdout] 935 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 935 - args.insert(auction::ARG_VALIDATOR, validator) [INFO] [stdout] 936 - .unwrap_or_revert(); [INFO] [stdout] 935 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_VALIDATOR, validator)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:937:46 [INFO] [stdout] | [INFO] [stdout] 937 | args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::result::Result` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 937 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 937 + casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 937 - args.insert(auction::ARG_AMOUNT, amount).unwrap_or_revert(); [INFO] [stdout] 937 + odra_core::prelude::UnwrapOrRevert::unwrap_or_revert(args.insert(auction::ARG_AMOUNT, amount)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | .unwrap_or_revert_with(ApiError::ContractNotFound) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 993 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 994 + .ok() [INFO] [stdout] 995 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 996 + .and_then(|contract_package| contract_package.current_contract_hash()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 993 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 994 + .ok() [INFO] [stdout] 995 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 996 + .and_then(|contract_package| contract_package.current_contract_hash()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:1009:10 [INFO] [stdout] | [INFO] [stdout] 1009 | .unwrap_or_revert_with(ApiError::ContractNotFound) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1004 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 1005 + .ok() [INFO] [stdout] 1006 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 1007 + .and_then(|contract_package| contract_package.current_contract_version()) [INFO] [stdout] 1008 + .map(|version| version.contract_version()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1004 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 1005 + .ok() [INFO] [stdout] 1006 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 1007 + .and_then(|contract_package| contract_package.current_contract_version()) [INFO] [stdout] 1008 + .map(|version| version.contract_version()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | .unwrap_or_revert_with(ApiError::ContractNotFound) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 993 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 994 + .ok() [INFO] [stdout] 995 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 996 + .and_then(|contract_package| contract_package.current_contract_hash()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 993 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 994 + .ok() [INFO] [stdout] 995 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 996 + .and_then(|contract_package| contract_package.current_contract_hash()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/host_functions.rs:1009:10 [INFO] [stdout] | [INFO] [stdout] 1009 | .unwrap_or_revert_with(ApiError::ContractNotFound) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ multiple `unwrap_or_revert_with` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `casper_contract::unwrap_or_revert::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `odra_core::prelude::UnwrapOrRevert` for the type `core::option::Option` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 1004 ~ casper_contract::unwrap_or_revert::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 1005 + .ok() [INFO] [stdout] 1006 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 1007 + .and_then(|contract_package| contract_package.current_contract_version()) [INFO] [stdout] 1008 + .map(|version| version.contract_version()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 1004 ~ odra_core::prelude::UnwrapOrRevert::unwrap_or_revert_with(storage::read_from_key::(key) [INFO] [stdout] 1005 + .ok() [INFO] [stdout] 1006 + .and_then(|opt_contract_package| opt_contract_package) [INFO] [stdout] 1007 + .and_then(|contract_package| contract_package.current_contract_version()) [INFO] [stdout] 1008 + .map(|version| version.contract_version()), ApiError::ContractNotFound) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `odra-casper-wasm-env` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `odra-casper-wasm-env` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "8cc59d8bf47db9457b3c22ffc85d347a4030bb15d9ed66d1bb61591b9d6246e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc59d8bf47db9457b3c22ffc85d347a4030bb15d9ed66d1bb61591b9d6246e2", kill_on_drop: false }` [INFO] [stdout] 8cc59d8bf47db9457b3c22ffc85d347a4030bb15d9ed66d1bb61591b9d6246e2