[INFO] fetching crate cainome 0.10.1... [INFO] testing cainome-0.10.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cainome 0.10.1 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cainome 0.10.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cainome 0.10.1 [INFO] tweaked toml for crates.io crate cainome 0.10.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cainome 0.10.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cainome 0.10.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78cc8e7f4fe782a18546b28a6a1b4f551ddff4326c5edc796e156aca89ecce63 [INFO] running `Command { std: "docker" "start" "-a" "78cc8e7f4fe782a18546b28a6a1b4f551ddff4326c5edc796e156aca89ecce63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78cc8e7f4fe782a18546b28a6a1b4f551ddff4326c5edc796e156aca89ecce63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78cc8e7f4fe782a18546b28a6a1b4f551ddff4326c5edc796e156aca89ecce63", kill_on_drop: false }` [INFO] [stdout] 78cc8e7f4fe782a18546b28a6a1b4f551ddff4326c5edc796e156aca89ecce63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6757afa7cbe4b4cbc49ddd7d9428880e0c4ae99d4f7713c3c6a4954fd00f31 [INFO] running `Command { std: "docker" "start" "-a" "0b6757afa7cbe4b4cbc49ddd7d9428880e0c4ae99d4f7713c3c6a4954fd00f31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lambdaworks-math v0.10.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde_json_pythonic v0.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling lambdaworks-crypto v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling unzip-n v0.1.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling starknet-core-derive v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling cainome-cairo-serde-derive v0.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling clap_complete v4.5.28 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling starknet-types-core v0.2.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling reqwest v0.12.16 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling starknet-curve v0.6.0 [INFO] [stderr] Compiling starknet-crypto v0.8.1 [INFO] [stderr] Compiling starknet-core v0.16.0 [INFO] [stderr] Compiling starknet-providers v0.16.0 [INFO] [stderr] Compiling starknet-signers v0.14.0 [INFO] [stderr] Compiling starknet-macros v0.2.5 [INFO] [stderr] Compiling starknet-accounts v0.16.0 [INFO] [stderr] Compiling starknet-contract v0.16.0 [INFO] [stderr] Compiling starknet v0.17.0 [INFO] [stderr] Compiling cainome-parser v0.6.0 [INFO] [stderr] Compiling cainome-cairo-serde v0.4.1 [INFO] [stderr] Compiling cainome-rs v0.5.1 [INFO] [stderr] Compiling cainome v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "0b6757afa7cbe4b4cbc49ddd7d9428880e0c4ae99d4f7713c3c6a4954fd00f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6757afa7cbe4b4cbc49ddd7d9428880e0c4ae99d4f7713c3c6a4954fd00f31", kill_on_drop: false }` [INFO] [stdout] 0b6757afa7cbe4b4cbc49ddd7d9428880e0c4ae99d4f7713c3c6a4954fd00f31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2bc244b160b2ee6929640caef4a198a4938b7b0bf240899d2e4ea657c27d57c [INFO] running `Command { std: "docker" "start" "-a" "c2bc244b160b2ee6929640caef4a198a4938b7b0bf240899d2e4ea657c27d57c", kill_on_drop: false }` [INFO] [stderr] Compiling cainome v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/json_abi.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/alias_skip.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/json_abi.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/alias_skip.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/opt_res.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/cairo0.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cainome::rs::abigen_legacy; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/components_events.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/components_events.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/structs.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/structs.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/simple_types.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/exec_v3.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/simple_get_set.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/opt_res.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/cairo0.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_types.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/cairo0_account.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cainome::rs::abigen_legacy; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/cairo0_account.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/byte_array.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/byte_array.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/abigen_generate.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::Abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/abigen_generate.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cainome::rs` [INFO] [stdout] --> examples/rust_keyword.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cainome::rs::abigen; [INFO] [stdout] | ^^ could not find `rs` in `cainome` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "abigen-rs")] [INFO] [stdout] | --------------------- the item is gated behind the `abigen-rs` feature [INFO] [stdout] 14 | pub mod rs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/rust_keyword.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/exec_v3.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/components_events.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | async fn main() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/cairo0.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/simple_types.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/cairo0_account.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/opt_res.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/alias_skip.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/abigen_generate.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "simple_types") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractEmbedReader` [INFO] [stdout] --> examples/json_abi.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let contract = MyContractEmbedReader::new(felt!("0x1337"), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyContractEmbedReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "components_events") due to 3 previous errors [INFO] [stderr] error: could not compile `cainome` (example "cairo0_account") due to 3 previous errors [INFO] [stderr] error: could not compile `cainome` (example "cairo0") due to 3 previous errors [INFO] [stderr] error: could not compile `cainome` (example "abigen_generate") due to 3 previous errors [INFO] [stderr] error: could not compile `cainome` (example "opt_res") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractEmbedReader` [INFO] [stdout] --> examples/rust_keyword.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let contract = MyContractEmbedReader::new(felt!("0x1337"), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyContractEmbedReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/exec_v3.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/exec_v3.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 77 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractReader` [INFO] [stdout] --> examples/exec_v3.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let contract = MyContractReader::new(contract_address, &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MyContractReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlainStruct` in this scope [INFO] [stdout] --> examples/structs.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let s = PlainStruct { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `E1` [INFO] [stdout] --> examples/structs.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | E1::event_selector(), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `E1` [INFO] [stdout] | help: a trait with a similar name exists: `Eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `E1` [INFO] [stdout] --> examples/structs.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(E1::event_name(), "E1"); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `E1` [INFO] [stdout] | help: a trait with a similar name exists: `Eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | test_enum!(e1, MyEnum::One(1_u8)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | test_enum!(e2, MyEnum::Two(1_u16)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | test_enum!(e3, MyEnum::Three(1_u32)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | test_enum!(e4, MyEnum::Four(1_u64)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | test_enum!(e5, MyEnum::Five(1_u128)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | test_enum!(e6, MyEnum::Six(Felt::from(6))); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | test_enum!(e7, MyEnum::Seven(-1_i32)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | test_enum!(e8, MyEnum::Eight(-1_i64)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | test_enum!(e9, MyEnum::Nine(-1_i128)); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | test_enum!(e10, MyEnum::Ten((1_u8, 1_u128))); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyEnum` [INFO] [stdout] --> examples/structs.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | test_enum!(e11, MyEnum::Eleven((Felt::from(1), 1_u8, 1_u128))); [INFO] [stdout] | ^^^^^^ use of undeclared type `MyEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let _ = contract.get_bool().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let _ = contract.get_felt().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractFileReader` [INFO] [stdout] --> examples/json_abi.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let contract = MyContractFileReader::new(felt!("0x1337"), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyContractFileReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let _ = contract.get_bool().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let _ = contract.get_felt().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractLitStrReader` [INFO] [stdout] --> examples/json_abi.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let contract = MyContractLitStrReader::new(felt!("0x1337"), &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyContractLitStrReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let _ = contract.get_bool().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json_abi.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let _ = contract.get_felt().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/rust_keyword.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let _ = contract.r#move().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/rust_keyword.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let _ = contract.r#break().call().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/exec_v3.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 42 | | .get_a() [INFO] [stdout] 43 | | .call() [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/structs.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/rust_keyword.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/json_abi.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/byte_array.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/byte_array.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 51 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "alias_skip") due to 3 previous errors [INFO] [stderr] error: could not compile `cainome` (example "json_abi") due to 12 previous errors [INFO] [stderr] error: could not compile `cainome` (example "rust_keyword") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContract` [INFO] [stdout] --> examples/exec_v3.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let contract = MyContract::new(contract_address, account); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MyContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/exec_v3.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let _tx_res = contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 70 | | .set_a(&(a + Felt::ONE)) [INFO] [stdout] 71 | | .gas_estimate_multiplier(1.2) [INFO] [stdout] 72 | | .send() [INFO] [stdout] 73 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/exec_v3.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 80 | | .get_a() [INFO] [stdout] 81 | | .call() [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/exec_v3.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "structs") due to 17 previous errors [INFO] [stderr] error: could not compile `cainome` (example "exec_v3") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContract` [INFO] [stdout] --> examples/byte_array.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let contract = MyContract::new(contract_address, account); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MyContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/byte_array.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let _tx_res = contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | .set_byte_array(&byte_array) [INFO] [stdout] 47 | | .send() [INFO] [stdout] 48 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/byte_array.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let byte_array = contract [INFO] [stdout] | ______________________^ [INFO] [stdout] 54 | | .get_byte_array() [INFO] [stdout] 55 | | .call() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/byte_array.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let byte_array = contract [INFO] [stdout] | ______________________^ [INFO] [stdout] 65 | | .get_byte_array_storage() [INFO] [stdout] 66 | | .call() [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/byte_array.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 93 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 118 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyContract` in this scope [INFO] [stdout] --> examples/simple_get_set.rs:145:73 [INFO] [stdout] | [INFO] [stdout] 145 | async fn other_func(contract: Arc>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 150 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 150 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContractReader` [INFO] [stdout] --> examples/simple_get_set.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let contract = MyContractReader::new(contract_address, &provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MyContractReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 44 | | .get_a() [INFO] [stdout] 45 | | .call() [INFO] [stdout] 46 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let b = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 54 | | .get_b() [INFO] [stdout] 55 | | .block_id(BlockId::Tag(BlockTag::Latest)) [INFO] [stdout] 56 | | .call() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "byte_array") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContract` [INFO] [stdout] --> examples/simple_get_set.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let contract = MyContract::new(contract_address, account); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MyContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let _tx_res = contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 87 | | .set_a(&(a + Felt::ONE)) [INFO] [stdout] 88 | | .send() [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 96 | | .get_a() [INFO] [stdout] 97 | | .call() [INFO] [stdout] 98 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let _tx_res = contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 112 | | .account [INFO] [stdout] 113 | | .execute_v3(vec![set_a_call, set_b_call]) [INFO] [stdout] 114 | | .send() [INFO] [stdout] 115 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 121 | | .get_a() [INFO] [stdout] 122 | | .call() [INFO] [stdout] 123 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let b = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 128 | | .get_b() [INFO] [stdout] 129 | | .call() [INFO] [stdout] 130 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple_get_set.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let _tx_res = set_b.send().await.expect("invoke failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let b = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 153 | | .get_b() [INFO] [stdout] 154 | | .call() [INFO] [stdout] 155 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | let tx_res = contract [INFO] [stdout] | __________________^ [INFO] [stdout] 162 | | .set_array(&arr) [INFO] [stdout] 163 | | .send() [INFO] [stdout] 164 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple_get_set.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let a = contract [INFO] [stdout] | _____________^ [INFO] [stdout] 169 | | .get_a() [INFO] [stdout] 170 | | .call() [INFO] [stdout] 171 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/simple_get_set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cainome` (example "simple_get_set") due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "c2bc244b160b2ee6929640caef4a198a4938b7b0bf240899d2e4ea657c27d57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2bc244b160b2ee6929640caef4a198a4938b7b0bf240899d2e4ea657c27d57c", kill_on_drop: false }` [INFO] [stdout] c2bc244b160b2ee6929640caef4a198a4938b7b0bf240899d2e4ea657c27d57c