[INFO] cloning repository https://github.com/elanor/hello-world-dapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elanor/hello-world-dapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felanor%2Fhello-world-dapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felanor%2Fhello-world-dapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b721b2a34124e4260e4097d59297fd4ac169b9b [INFO] checking elanor/hello-world-dapp against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felanor%2Fhello-world-dapp" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (2254/3529) Updating files: 64% (2259/3529) Updating files: 65% (2294/3529) Updating files: 66% (2330/3529) Updating files: 67% (2365/3529) Updating files: 68% (2400/3529) Updating files: 69% (2436/3529) Updating files: 70% (2471/3529) Updating files: 71% (2506/3529) Updating files: 72% (2541/3529) Updating files: 73% (2577/3529) Updating files: 74% (2612/3529) Updating files: 74% (2622/3529) Updating files: 74% (2636/3529) Updating files: 75% (2647/3529) Updating files: 76% (2683/3529) Updating files: 77% (2718/3529) Updating files: 78% (2753/3529) Updating files: 79% (2788/3529) Updating files: 80% (2824/3529) Updating files: 80% (2849/3529) Updating files: 81% (2859/3529) Updating files: 82% (2894/3529) Updating files: 83% (2930/3529) Updating files: 84% (2965/3529) Updating files: 85% (3000/3529) Updating files: 85% (3027/3529) Updating files: 86% (3035/3529) Updating files: 87% (3071/3529) Updating files: 88% (3106/3529) Updating files: 89% (3141/3529) Updating files: 90% (3177/3529) Updating files: 91% (3212/3529) Updating files: 92% (3247/3529) Updating files: 93% (3282/3529) Updating files: 94% (3318/3529) Updating files: 95% (3353/3529) Updating files: 96% (3388/3529) Updating files: 97% (3424/3529) Updating files: 98% (3459/3529) Updating files: 99% (3494/3529) Updating files: 100% (3529/3529) Updating files: 100% (3529/3529), done. [INFO] started tweaking git repo https://github.com/elanor/hello-world-dapp [INFO] finished tweaking git repo https://github.com/elanor/hello-world-dapp [INFO] tweaked toml for git repo https://github.com/elanor/hello-world-dapp written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elanor/hello-world-dapp on toolchain 82310651b93a594a3fd69015e1562186a080d94c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elanor/hello-world-dapp 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" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.14 [INFO] [stderr] Downloaded simdutf8 v0.1.4 [INFO] [stderr] Downloaded concordium-smart-contract-testing v4.2.0 [INFO] [stderr] Downloaded concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Downloaded ghash v0.5.1 [INFO] [stderr] Downloaded polyval v0.6.2 [INFO] [stderr] Downloaded aead v0.5.2 [INFO] [stderr] Downloaded concordium-contracts-common v9.1.0 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded concordium-wasm v4.0.0 [INFO] [stderr] Downloaded concordium-std v10.1.0 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded serde_with_macros v3.9.0 [INFO] [stderr] Downloaded aes-gcm v0.10.3 [INFO] [stderr] Downloaded anyhow v1.0.87 [INFO] [stderr] Downloaded concordium-smart-contract-engine v5.0.0 [INFO] [stderr] Downloaded serde_with v3.9.0 [INFO] [stderr] Downloaded rust_decimal v1.36.0 [INFO] [stderr] Downloaded concordium-rust-sdk v4.3.0 [INFO] [stderr] Downloaded concordium_base_derive v1.0.0 [INFO] [stderr] Downloaded async-trait v0.1.82 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded concordium_base v5.0.0 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded universal-hash v0.5.1 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded tokio v1.40.0 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f669f4daba07fec66854664b2156e80a8f42534ecaaa16d3ae878767117a56c1 [INFO] running `Command { std: "docker" "start" "-a" "f669f4daba07fec66854664b2156e80a8f42534ecaaa16d3ae878767117a56c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f669f4daba07fec66854664b2156e80a8f42534ecaaa16d3ae878767117a56c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f669f4daba07fec66854664b2156e80a8f42534ecaaa16d3ae878767117a56c1", kill_on_drop: false }` [INFO] [stdout] f669f4daba07fec66854664b2156e80a8f42534ecaaa16d3ae878767117a56c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d590a549ffec0b342335794de6e0d96cd2b6a30562054e429809f0979e575c84 [INFO] running `Command { std: "docker" "start" "-a" "d590a549ffec0b342335794de6e0d96cd2b6a30562054e429809f0979e575c84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.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 once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [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 want v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [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 matchit v0.7.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Compiling concordium_base_derive v1.0.0 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking concordium-contracts-common v9.1.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking concordium-wasm v4.0.0 [INFO] [stderr] Checking concordium-std v10.1.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking hello_world_dapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking concordium-smart-contract-engine v5.0.0 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking concordium_base v5.0.0 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking concordium-rust-sdk v4.3.0 [INFO] [stderr] Checking concordium-smart-contract-testing v4.2.0 [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / fn update_message(_ctx: &ReceiveContext, host: &mut Host) -> Result<(), Error> { [INFO] [stdout] 57 | | let (mut chain, init) = initialize(); [INFO] [stdout] ... | [INFO] [stdout] 85 | | assert_eq!(updated_message, "Hello again, World!"); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReceiveContext` in this scope [INFO] [stdout] --> tests/tests.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | fn update_message(_ctx: &ReceiveContext, host: &mut Host) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use concordium_std::ReceiveContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Host` in this scope [INFO] [stdout] --> tests/tests.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | fn update_message(_ctx: &ReceiveContext, host: &mut Host) -> Result<(), Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use concordium_std::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> tests/tests.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | fn update_message(_ctx: &ReceiveContext, host: &mut Host) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use hello_world_dapp::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/tests.rs:56:80 [INFO] [stdout] | [INFO] [stdout] 56 | fn update_message(_ctx: &ReceiveContext, host: &mut Host) -> Result<(), 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 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contract_view` found for struct `concordium_smart_contract_testing::Chain` in the current scope [INFO] [stdout] --> tests/tests.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 76 | let updated_message = chain [INFO] [stdout] | ___________________________- [INFO] [stdout] 77 | | .contract_view( [INFO] [stdout] | |_________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `contract_init` with a similar name [INFO] [stdout] | [INFO] [stdout] 77 - .contract_view( [INFO] [stdout] 77 + .contract_init( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> tests/tests.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut chain, init) = initialize(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> tests/tests.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut chain, init) = initialize(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tests.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut chain, init) = initialize(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world_dapp` (test "tests") due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d590a549ffec0b342335794de6e0d96cd2b6a30562054e429809f0979e575c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d590a549ffec0b342335794de6e0d96cd2b6a30562054e429809f0979e575c84", kill_on_drop: false }` [INFO] [stdout] d590a549ffec0b342335794de6e0d96cd2b6a30562054e429809f0979e575c84