[INFO] cloning repository https://github.com/aesirxio/smart-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aesirxio/smart-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesirxio%2Fsmart-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesirxio%2Fsmart-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48bdd087b75d6bc22d92683ccd2bdd3cec877b49 [INFO] checking aesirxio/smart-contracts against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesirxio%2Fsmart-contracts" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aesirxio/smart-contracts [INFO] finished tweaking git repo https://github.com/aesirxio/smart-contracts [INFO] tweaked toml for git repo https://github.com/aesirxio/smart-contracts written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aesirxio/smart-contracts on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aesirxio/smart-contracts 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded concordium-std-derive v6.0.0 [INFO] [stderr] Downloaded concordium-cis2 v6.2.0 [INFO] [stderr] Downloaded concordium_base_derive v1.0.0 [INFO] [stderr] Downloaded concordium-smart-contract-testing v4.3.0 [INFO] [stderr] Downloaded concordium-wasm v5.0.0 [INFO] [stderr] Downloaded concordium-contracts-common v9.2.0 [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded concordium-smart-contract-engine v6.0.0 [INFO] [stderr] Downloaded concordium-std v10.1.0 [INFO] [stderr] Downloaded concordium-rust-sdk v5.0.0 [INFO] [stderr] Downloaded concordium_base v6.0.0 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a50416882e04d0a2a4406d37e31528538a0cab95a31891b2c0535b6fb3764558 [INFO] running `Command { std: "docker" "start" "-a" "a50416882e04d0a2a4406d37e31528538a0cab95a31891b2c0535b6fb3764558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a50416882e04d0a2a4406d37e31528538a0cab95a31891b2c0535b6fb3764558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a50416882e04d0a2a4406d37e31528538a0cab95a31891b2c0535b6fb3764558", kill_on_drop: false }` [INFO] [stdout] a50416882e04d0a2a4406d37e31528538a0cab95a31891b2c0535b6fb3764558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ce846644bf7f946a264e916ca68e9188f543344aa65e472e530e6f541e5bc6 [INFO] running `Command { std: "docker" "start" "-a" "c4ce846644bf7f946a264e916ca68e9188f543344aa65e472e530e6f541e5bc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking concordium-contracts-common v9.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking concordium-wasm v5.0.0 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling concordium_base_derive v1.0.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking primitive-types v0.11.1 [INFO] [stderr] Checking concordium-smart-contract-engine v6.0.0 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking concordium-std v10.1.0 [INFO] [stderr] Checking concordium_base v6.0.0 [INFO] [stderr] Checking concordium-cis2 v6.2.0 [INFO] [stderr] Compiling concordium-std-derive v6.0.0 [INFO] [stderr] Checking concordium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `metadata_url` [INFO] [stdout] --> src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | metadata_url: &String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lib.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | let state = host.state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/lib.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let owner = ctx.owner(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `web3id` [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let web3id = params.web3id; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_web3id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let sender = ctx.sender(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | let sender = ctx.sender(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_global_operator` and `remove_global_operator` are never used [INFO] [stdout] --> src/lib.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl State { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | fn add_global_operator(&mut self, operator: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn remove_global_operator(&mut self, operator: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `concordium_std::impls::>::insert` that must be used [INFO] [stdout] --> src/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | self.metadata.insert(token, metadata.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = self.metadata.insert(token, metadata.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `concordium_std::impls::>::insert` that must be used [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | self.implementors.insert(std_id, implementors); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 395 | let _ = self.implementors.insert(std_id, implementors); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking concordium-rust-sdk v5.0.0 [INFO] [stderr] Checking concordium-smart-contract-testing v4.3.0 [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/tests.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let error: Error = update.parse_return_value().expect("Deserialize `Error`"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/tests.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(error, Error::CustomError); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CustomInputParameter` in this scope [INFO] [stdout] --> tests/tests.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let parameter = CustomInputParameter { num: 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concordium::*` [INFO] [stdout] --> tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use concordium::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata_url` [INFO] [stdout] --> src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | metadata_url: &String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lib.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | let state = host.state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/lib.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let owner = ctx.owner(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `web3id` [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | let web3id = params.web3id; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_web3id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let sender = ctx.sender(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | let sender = ctx.sender(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: methods `add_global_operator` and `remove_global_operator` are never used [INFO] [stdout] --> src/lib.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 200 | impl State { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | fn add_global_operator(&mut self, operator: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn remove_global_operator(&mut self, operator: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium` (test "tests") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `concordium_std::impls::>::insert` that must be used [INFO] [stdout] --> src/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | self.metadata.insert(token, metadata.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = self.metadata.insert(token, metadata.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `concordium_std::impls::>::insert` that must be used [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | self.implementors.insert(std_id, implementors); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 395 | let _ = self.implementors.insert(std_id, implementors); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c4ce846644bf7f946a264e916ca68e9188f543344aa65e472e530e6f541e5bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ce846644bf7f946a264e916ca68e9188f543344aa65e472e530e6f541e5bc6", kill_on_drop: false }` [INFO] [stdout] c4ce846644bf7f946a264e916ca68e9188f543344aa65e472e530e6f541e5bc6