[INFO] cloning repository https://github.com/priti0123/p2p [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/priti0123/p2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriti0123%2Fp2p", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriti0123%2Fp2p'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c8cd97cda17659987d7dccf5e0feee12116797b [INFO] checking priti0123/p2p against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriti0123%2Fp2p" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/priti0123/p2p on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/priti0123/p2p [INFO] finished tweaking git repo https://github.com/priti0123/p2p [INFO] tweaked toml for git repo https://github.com/priti0123/p2p written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/priti0123/p2p 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking priti0123/p2p against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpriti0123%2Fp2p" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/priti0123/p2p on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/priti0123/p2p [INFO] finished tweaking git repo https://github.com/priti0123/p2p [INFO] tweaked toml for git repo https://github.com/priti0123/p2p written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/priti0123/p2p 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ba439acbf4e52ee905c3133f11d3c4dc84358f0f4b938b18d53f85357fde792 [INFO] running `Command { std: "docker" "start" "-a" "4ba439acbf4e52ee905c3133f11d3c4dc84358f0f4b938b18d53f85357fde792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ba439acbf4e52ee905c3133f11d3c4dc84358f0f4b938b18d53f85357fde792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba439acbf4e52ee905c3133f11d3c4dc84358f0f4b938b18d53f85357fde792", kill_on_drop: false }` [INFO] [stdout] 4ba439acbf4e52ee905c3133f11d3c4dc84358f0f4b938b18d53f85357fde792 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e8f7d3dea542014092ed29012f84c7e5749727339b7c63c8f58076d17aeaa43 [INFO] running `Command { std: "docker" "start" "-a" "6e8f7d3dea542014092ed29012f84c7e5749727339b7c63c8f58076d17aeaa43", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking wasmparser-nostd v0.100.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking wasmi_arena v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Checking wasmi_core v0.13.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Checking ed25519-dalek v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling stellar-strkey v0.0.8 [INFO] [stderr] Compiling stellar-xdr v20.1.0 [INFO] [stderr] Compiling soroban-env-common v20.3.0 [INFO] [stderr] Compiling soroban-sdk-macros v20.5.0 [INFO] [stderr] Compiling soroban-spec v20.5.0 [INFO] [stderr] Compiling soroban-spec-rust v20.5.0 [INFO] [stderr] Compiling soroban-env-macros v20.3.0 [INFO] [stderr] Checking soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Checking soroban-sdk v20.5.0 [INFO] [stderr] Checking p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect number of generic arguments, expect one for BytesN [INFO] [stdout] --> src/lib.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn send_message(env: Env, recipient: Address, message: BytesN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `soroban_sdk::panic_with` [INFO] [stdout] --> src/lib.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Address, Env, BytesN, Vec, panic_with}; [INFO] [stdout] | ^^^^^^^^^^ no `panic_with` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctor` in `reexports_for_macros` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `ctor` in `reexports_for_macros` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/soroban-sdk-20.5.0/src/lib.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | pub use ::ctor; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/soroban-sdk-20.5.0/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(any(test, feature = "testutils"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect number of generic arguments, expect one for BytesN [INFO] [stdout] --> src/lib.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn send_message(env: Env, recipient: Address, message: BytesN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContract` in this scope [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl MessagingContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContractClient` in this scope [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContract` in module `super` [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl MessagingContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `soroban_sdk::panic_with` [INFO] [stdout] --> src/lib.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Address, Env, BytesN, Vec, panic_with}; [INFO] [stdout] | ^^^^^^^^^^ no `panic_with` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn send_message(env: Env, recipient: Address, message: BytesN) { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_messages(env: Env) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContract` in this scope [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl MessagingContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContractClient` in this scope [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagingContract` in module `super` [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl MessagingContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let sender = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | .get::>>(&recipient) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn send_message(env: Env, recipient: Address, message: BytesN) { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_messages(env: Env) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let recipient = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | .get::>>(&recipient) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let recipient = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let sender = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | .get::>>(&recipient) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let recipient = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | .get::>>(&recipient) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__MessagingContract_fn_set_registry` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__MessagingContract_fn_set_registry` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__MessagingContract_fn_set_registry`, use `cargo add __MessagingContract_fn_set_registry` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoker` found for struct `Env` in the current scope [INFO] [stdout] --> src/lib.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let recipient = env.invoker(); [INFO] [stdout] | ^^^^^^^ method not found in `Env` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p2p` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `p2p` (lib) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e8f7d3dea542014092ed29012f84c7e5749727339b7c63c8f58076d17aeaa43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8f7d3dea542014092ed29012f84c7e5749727339b7c63c8f58076d17aeaa43", kill_on_drop: false }` [INFO] [stdout] 6e8f7d3dea542014092ed29012f84c7e5749727339b7c63c8f58076d17aeaa43