[INFO] cloning repository https://github.com/rahimklaber/soroban_token_dao [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rahimklaber/soroban_token_dao" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahimklaber%2Fsoroban_token_dao", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahimklaber%2Fsoroban_token_dao'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91d341d2f4ff70c10aa24213276baed962352a12 [INFO] testing rahimklaber/soroban_token_dao against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahimklaber%2Fsoroban_token_dao" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rahimklaber/soroban_token_dao [INFO] finished tweaking git repo https://github.com/rahimklaber/soroban_token_dao [INFO] tweaked toml for git repo https://github.com/rahimklaber/soroban_token_dao written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rahimklaber/soroban_token_dao on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rahimklaber/soroban_token_dao 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded soroban-sdk-macros v0.6.0 [INFO] [stderr] Downloaded stellar-strkey v0.0.7 [INFO] [stderr] Downloaded soroban-sdk v0.6.0 [INFO] [stderr] Downloaded soroban-native-sdk-macros v0.0.14 [INFO] [stderr] Downloaded soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.89 [INFO] [stderr] Downloaded bytes-lit v0.0.4 [INFO] [stderr] Downloaded dyn-fmt v0.3.0 [INFO] [stderr] Downloaded serde_with_macros v2.2.0 [INFO] [stderr] Downloaded spin v0.9.5 [INFO] [stderr] Downloaded prettyplease v0.1.23 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.89 [INFO] [stderr] Downloaded soroban-env-host v0.0.14 [INFO] [stderr] Downloaded serde_json v1.0.92 [INFO] [stderr] Downloaded wasmparser-nostd v0.90.0 [INFO] [stderr] Downloaded soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Downloaded wasmparser v0.88.0 [INFO] [stderr] Downloaded cxx v1.0.89 [INFO] [stderr] Downloaded cxx-build v1.0.89 [INFO] [stderr] Downloaded serde_with v2.2.0 [INFO] [stderr] Downloaded soroban-env-common v0.0.14 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded soroban-ledger-snapshot v0.6.0 [INFO] [stderr] Downloaded soroban-env-macros v0.0.14 [INFO] [stderr] Downloaded stellar-xdr v0.0.14 [INFO] [stderr] Downloaded soroban-env-guest v0.0.14 [INFO] [stderr] Downloaded soroban-spec v0.6.0 [INFO] [stderr] Downloaded crate-git-revision v0.0.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fec41f646783ec0f6f2961706c98c06bba3fd107fb37a28e43a24bd61f6ceea [INFO] running `Command { std: "docker" "start" "-a" "6fec41f646783ec0f6f2961706c98c06bba3fd107fb37a28e43a24bd61f6ceea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fec41f646783ec0f6f2961706c98c06bba3fd107fb37a28e43a24bd61f6ceea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fec41f646783ec0f6f2961706c98c06bba3fd107fb37a28e43a24bd61f6ceea", kill_on_drop: false }` [INFO] [stdout] 6fec41f646783ec0f6f2961706c98c06bba3fd107fb37a28e43a24bd61f6ceea [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 694f6debf66c741c198ea7e325c5c6fbb77773ba7ee3e281ac76f205350824d7 [INFO] running `Command { std: "docker" "start" "-a" "694f6debf66c741c198ea7e325c5c6fbb77773ba7ee3e281ac76f205350824d7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling serde_json v1.0.92 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling spin v0.9.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling wasmparser-nostd v0.90.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling prettyplease v0.1.23 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling dyn-fmt v0.3.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Compiling soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Compiling darling_core v0.14.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling soroban-native-sdk-macros v0.0.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytes-lit v0.0.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling darling_macro v0.14.3 [INFO] [stderr] Compiling stellar-strkey v0.0.7 [INFO] [stderr] Compiling darling v0.14.3 [INFO] [stderr] Compiling serde_with_macros v2.2.0 [INFO] [stderr] Compiling serde_with v2.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling crate-git-revision v0.0.4 [INFO] [stderr] Compiling stellar-xdr v0.0.14 [INFO] [stderr] Compiling soroban-env-common v0.0.14 [INFO] [stderr] Compiling soroban-spec v0.6.0 [INFO] [stderr] Compiling soroban-env-macros v0.0.14 [INFO] [stderr] Compiling soroban-sdk-macros v0.6.0 [INFO] [stderr] Compiling soroban-env-host v0.0.14 [INFO] [stderr] Compiling soroban-ledger-snapshot v0.6.0 [INFO] [stderr] Compiling soroban-sdk v0.6.0 [INFO] [stderr] Compiling dao_with_delagate v0.1.0 (/opt/rustwide/workdir/dao) [INFO] [stderr] Compiling dao_token v0.0.6 (/opt/rustwide/workdir/dao_token) [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> dao/src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | soroban_sdk::contractimport!(file = "../target/wasm32-unknown-unknown/release/dao_token.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `soroban_sdk::contractimport` (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] --> dao_token/src/contract.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[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] --> dao_token/src/storage_types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao_token/src/storage_types.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao_token/src/dao.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao_token/src/dao.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao_token/src/dao.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao_token/src/dao.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[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: 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[E0433]: failed to resolve: could not find `Client` in `tokenclient` [INFO] [stdout] --> dao/src/token.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | tokenclient::Client::new(&env, &token_id) [INFO] [stdout] | ^^^^^^ could not find `Client` in `tokenclient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> dao_token/src/dao.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in module `tokenclient` [INFO] [stdout] --> dao/src/token.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_dao_token_client(env: &Env) -> tokenclient::Client { [INFO] [stdout] | ^^^^^^ not found in `tokenclient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbol` [INFO] [stdout] --> dao_token/src/dao.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | contracterror, contractimpl, contracttype, panic_with_error, symbol, unwrap::UnwrapOptimized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> dao/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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: 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] --> dao/src/data_keys.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao/src/proposal.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao/src/proposal.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao/src/proposal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (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] --> dao/src/proposal.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` 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 `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dao_with_delagate` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `has_administrator` is never used [INFO] [stdout] --> dao_token/src/admin.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn has_administrator(e: &Env) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_administrator` is never used [INFO] [stdout] --> dao_token/src/admin.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_administrator(e: &Env) -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_administrator` is never used [INFO] [stdout] --> dao_token/src/admin.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_administrator(e: &Env, id: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_admin` is never used [INFO] [stdout] --> dao_token/src/admin.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn check_admin(e: &Env, admin: &Address) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_allowance` is never used [INFO] [stdout] --> dao_token/src/allowance.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_allowance(e: &Env, from: Address, spender: Address) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_allowance` is never used [INFO] [stdout] --> dao_token/src/allowance.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn write_allowance(e: &Env, from: Address, spender: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spend_allowance` is never used [INFO] [stdout] --> dao_token/src/allowance.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn spend_allowance(e: &Env, from: Address, spender: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_balance` is never used [INFO] [stdout] --> dao_token/src/balance.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_balance(e: &Env, addr: Address) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_balance` is never used [INFO] [stdout] --> dao_token/src/balance.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn write_balance(e: &Env, addr: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_balance` is never used [INFO] [stdout] --> dao_token/src/balance.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive_balance(e: &Env, addr: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spend_balance` is never used [INFO] [stdout] --> dao_token/src/balance.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spend_balance(e: &Env, addr: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_authorized` is never used [INFO] [stdout] --> dao_token/src/balance.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn is_authorized(e: &Env, addr: Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_authorization` is never used [INFO] [stdout] --> dao_token/src/balance.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write_authorization(e: &Env, addr: Address, is_authorized: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenTrait` is never used [INFO] [stdout] --> dao_token/src/contract.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait TokenTrait { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_nonnegative_amount` is never used [INFO] [stdout] --> dao_token/src/contract.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_nonnegative_amount(amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> dao_token/src/contract.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Token; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `incr_allow` is never used [INFO] [stdout] --> dao_token/src/event.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn incr_allow(e: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decr_allow` is never used [INFO] [stdout] --> dao_token/src/event.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn decr_allow(e: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transfer` is never used [INFO] [stdout] --> dao_token/src/event.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn transfer(e: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mint` is never used [INFO] [stdout] --> dao_token/src/event.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn mint(e: &Env, admin: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clawback` is never used [INFO] [stdout] --> dao_token/src/event.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn clawback(e: &Env, admin: Address, from: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_auth` is never used [INFO] [stdout] --> dao_token/src/event.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn set_auth(e: &Env, admin: Address, id: Address, authorize: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_admin` is never used [INFO] [stdout] --> dao_token/src/event.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn set_admin(e: &Env, admin: Address, new_admin: Address) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `burn` is never used [INFO] [stdout] --> dao_token/src/event.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn burn(e: &Env, from: Address, amount: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_decimal` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_decimal(e: &Env) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_decimal` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn write_decimal(e: &Env, d: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_name` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_name(e: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_name` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_name(e: &Env, d: Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_symbol` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_symbol(e: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_symbol` is never used [INFO] [stdout] --> dao_token/src/metadata.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_symbol(e: &Env, d: Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DaoExtensionTrait` is never used [INFO] [stdout] --> dao_token/src/dao.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait DaoExtensionTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DaoExtension` is never constructed [INFO] [stdout] --> dao_token/src/dao.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct DaoExtension; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_power` is never used [INFO] [stdout] --> dao_token/src/dao.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_power(env: &Env, of: Address) -> i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_power` is never used [INFO] [stdout] --> dao_token/src/dao.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_power(env: &Env, of: Address, power: i128) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_power` is never used [INFO] [stdout] --> dao_token/src/dao.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_power(env: &Env, of: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_power` is never used [INFO] [stdout] --> dao_token/src/dao.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn remove_power(env: &Env, of: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_power_change` is never used [INFO] [stdout] --> dao_token/src/dao.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_power_change(env: &Env, of: Address, power: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_power_changes` is never used [INFO] [stdout] --> dao_token/src/dao.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn get_power_changes(env: &Env, of: Address) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_power_at_or_before` is never used [INFO] [stdout] --> dao_token/src/dao.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_power_at_or_before(env: &Env, of: Address, at_or_before: u32) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_delgation` is never used [INFO] [stdout] --> dao_token/src/dao.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_delgation(env: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_delegation` is never used [INFO] [stdout] --> dao_token/src/dao.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn remove_delegation(env: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_delagate_amount_from_to` is never used [INFO] [stdout] --> dao_token/src/dao.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn get_delagate_amount_from_to(env: &Env, from: Address, to: Address) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_delgate_amount_from_to` is never used [INFO] [stdout] --> dao_token/src/dao.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn set_delgate_amount_from_to(env: &Env, from: Address, to: Address, amount: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "694f6debf66c741c198ea7e325c5c6fbb77773ba7ee3e281ac76f205350824d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "694f6debf66c741c198ea7e325c5c6fbb77773ba7ee3e281ac76f205350824d7", kill_on_drop: false }` [INFO] [stdout] 694f6debf66c741c198ea7e325c5c6fbb77773ba7ee3e281ac76f205350824d7