[INFO] cloning repository https://github.com/guudc/StellarDAO [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guudc/StellarDAO" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguudc%2FStellarDAO", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguudc%2FStellarDAO'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87e223dfcfb2ed6821d1aff2cf51acd6fb2692f1 [INFO] testing guudc/StellarDAO against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguudc%2FStellarDAO" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guudc/StellarDAO [INFO] finished tweaking git repo https://github.com/guudc/StellarDAO [INFO] tweaked toml for git repo https://github.com/guudc/StellarDAO written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guudc/StellarDAO on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guudc/StellarDAO 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `lums-dao-contract` package) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 685b69dc8f2780cc83bd5a4dc33b6fcd5eb6948b7ab7d28c320fe6b0ac6be833 [INFO] running `Command { std: "docker" "start" "-a" "685b69dc8f2780cc83bd5a4dc33b6fcd5eb6948b7ab7d28c320fe6b0ac6be833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "685b69dc8f2780cc83bd5a4dc33b6fcd5eb6948b7ab7d28c320fe6b0ac6be833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685b69dc8f2780cc83bd5a4dc33b6fcd5eb6948b7ab7d28c320fe6b0ac6be833", kill_on_drop: false }` [INFO] [stdout] 685b69dc8f2780cc83bd5a4dc33b6fcd5eb6948b7ab7d28c320fe6b0ac6be833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33ea8386bcdf4216df25b69fcd3509ea7fda20df2bb7c32bcc4c071d4d5b05c9 [INFO] running `Command { std: "docker" "start" "-a" "33ea8386bcdf4216df25b69fcd3509ea7fda20df2bb7c32bcc4c071d4d5b05c9", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `lums-dao-contract` package) [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling platforms v3.1.2 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ethnum v1.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling wasmparser-nostd v0.100.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling wasmi_arena v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.3 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling elliptic-curve v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling soroban-wasmi v0.31.0-soroban1 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling soroban-native-sdk-macros v20.0.0-rc2 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling stellar-strkey v0.0.7 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.3.0 [INFO] [stderr] Compiling serde_with v3.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling stellar-xdr v20.0.0-rc1 [INFO] [stderr] Compiling soroban-env-common v20.0.0-rc2 [INFO] [stderr] Compiling soroban-sdk-macros v20.0.0-rc2 [INFO] [stderr] Compiling soroban-spec v20.0.0-rc2 [INFO] [stderr] Compiling soroban-spec-rust v20.0.0-rc2 [INFO] [stderr] Compiling soroban-env-macros v20.0.0-rc2 [INFO] [stderr] Compiling soroban-env-host v20.0.0-rc2 [INFO] [stderr] Compiling soroban-ledger-snapshot v20.0.0-rc2 [INFO] [stderr] Compiling soroban-sdk v20.0.0-rc2 [INFO] [stderr] Compiling lums-dao-contract v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[contract] [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 `contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contract` 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 `contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] --> src/contract.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[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] --> src/storage.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] --> src/storage.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[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] --> src/storage.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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] --> src/storage.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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] --> src/storage.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: unused variable: `id` [INFO] [stdout] --> src/contract.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let id = _proposal_id.clone(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 115 | let _id = _proposal_id.clone(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_VOTES_AMOUNT` [INFO] [stdout] | [INFO] [stdout] 115 - let id = _proposal_id.clone(); [INFO] [stdout] 115 + let storage::MIN_VOTES_AMOUNT = _proposal_id.clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flg` [INFO] [stdout] --> src/contract.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let flg: bool = true; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_flg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut dao: DAO = env.storage().persistent().get(&prop.dao).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DaoContract` is never constructed [INFO] [stdout] --> src/contract.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DaoContract; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/contract.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DaoContract { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create(env: Env, owner: Address, _token: Address, name: String, description:String, url: String, created: u64) -> bool{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn create_proposal(env: Env, creator:Address, _token: Address, name:String, description: String, start:u64, end: u64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn vote_on_proposal(env: Env, _proposal_id:u32, voter: Address) -> Symbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn execute_proposal(env: Env, _proposal_id:u32, owner: Address) -> Symbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_dao(env:Env, token:Address) -> DaoMeta { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn get_dao_proposals(env:Env, token:Address) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_dao_members(env:Env, token:Address) -> Vec
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_proposal(env:Env, _proposal_id: u32) -> Proposal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn is_voted_proposal(env:Env, _proposal_id: u32, voter: Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_metadata(env: Env) -> DaoMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_dao` is never used [INFO] [stdout] --> src/contract.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn is_dao(env: &Env, token:&Address) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/contract.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn get_id(env: &Env) -> ProposalId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_metadata` is never used [INFO] [stdout] --> src/contract.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn modify_metadata(env: &Env, _type: &str, dao:Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_member_dao` is never used [INFO] [stdout] --> src/contract.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn add_member_dao(env: &Env, dao: Address, member: Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_DAO_TOKEN_BALANCE` is never used [INFO] [stdout] --> src/storage.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) const MIN_DAO_TOKEN_BALANCE: i128 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_VOTES_AMOUNT` is never used [INFO] [stdout] --> src/storage.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) const MIN_VOTES_AMOUNT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `active_proposals` should have an upper case name [INFO] [stdout] --> src/contract.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const active_proposals: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const active_proposals: u32 = 0; [INFO] [stdout] 24 + const ACTIVE_PROPOSALS: u32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `proposals` should have an upper case name [INFO] [stdout] --> src/contract.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | const proposals: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - const proposals: u32 = 0; [INFO] [stdout] 25 + const PROPOSALS: u32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `id` should have an upper case name [INFO] [stdout] --> src/contract.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | const id: u32 = 4567; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 249 - const id: u32 = 4567; [INFO] [stdout] 249 + const ID: u32 = 4567; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "33ea8386bcdf4216df25b69fcd3509ea7fda20df2bb7c32bcc4c071d4d5b05c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ea8386bcdf4216df25b69fcd3509ea7fda20df2bb7c32bcc4c071d4d5b05c9", kill_on_drop: false }` [INFO] [stdout] 33ea8386bcdf4216df25b69fcd3509ea7fda20df2bb7c32bcc4c071d4d5b05c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79865390a5237e6c5c222779683475cd504f31bcb57375f06f61e0463377b15f [INFO] running `Command { std: "docker" "start" "-a" "79865390a5237e6c5c222779683475cd504f31bcb57375f06f61e0463377b15f", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `lums-dao-contract` package) [INFO] [stderr] Compiling derive_arbitrary v1.3.1 [INFO] [stderr] Compiling stellar-xdr v20.0.0-rc1 [INFO] [stderr] Compiling soroban-env-common v20.0.0-rc2 [INFO] [stderr] Compiling soroban-sdk-macros v20.0.0-rc2 [INFO] [stderr] Compiling ctor v0.2.5 [INFO] [stderr] Compiling arbitrary v1.3.1 [INFO] [stderr] Compiling soroban-env-host v20.0.0-rc2 [INFO] [stderr] Compiling soroban-ledger-snapshot v20.0.0-rc2 [INFO] [stderr] Compiling soroban-sdk v20.0.0-rc2 [INFO] [stderr] Compiling lums-dao-contract v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[contract] [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 `contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contract` 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 `contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: `used_linker` [INFO] [stdout] --> src/contract.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `soroban_sdk::reexports_for_macros::ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::reexports_for_macros::ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::reexports_for_macros::ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[contractimpl] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[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] --> src/storage.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] --> src/storage.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[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] --> src/storage.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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] --> src/storage.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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] --> src/storage.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[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: unused import: `super::*` [INFO] [stdout] --> src/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthorizedFunction` and `AuthorizedInvocation` [INFO] [stdout] --> src/test.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use soroban_sdk::testutils::{Address as _, AuthorizedFunction, AuthorizedInvocation, Ledger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `String` and `vec` [INFO] [stdout] --> src/test.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use soroban_sdk::{symbol_short, token, vec, Address, Env, IntoVal, String}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DaoMetadata` [INFO] [stdout] --> src/test.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::storage::{DaoMeta, DaoMetadata}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/contract.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let id = _proposal_id.clone(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 115 | let _id = _proposal_id.clone(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_VOTES_AMOUNT` [INFO] [stdout] | [INFO] [stdout] 115 - let id = _proposal_id.clone(); [INFO] [stdout] 115 + let storage::MIN_VOTES_AMOUNT = _proposal_id.clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flg` [INFO] [stdout] --> src/contract.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let flg: bool = true; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_flg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut dao: DAO = env.storage().persistent().get(&prop.dao).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claim_addresses` [INFO] [stdout] --> src/test.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let claim_addresses = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_claim_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | for n in 1..40 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `active_proposals` should have an upper case name [INFO] [stdout] --> src/contract.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const active_proposals: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const active_proposals: u32 = 0; [INFO] [stdout] 24 + const ACTIVE_PROPOSALS: u32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `proposals` should have an upper case name [INFO] [stdout] --> src/contract.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | const proposals: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - const proposals: u32 = 0; [INFO] [stdout] 25 + const PROPOSALS: u32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `id` should have an upper case name [INFO] [stdout] --> src/contract.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | const id: u32 = 4567; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 249 - const id: u32 = 4567; [INFO] [stdout] 249 + const ID: u32 = 4567; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "79865390a5237e6c5c222779683475cd504f31bcb57375f06f61e0463377b15f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79865390a5237e6c5c222779683475cd504f31bcb57375f06f61e0463377b15f", kill_on_drop: false }` [INFO] [stdout] 79865390a5237e6c5c222779683475cd504f31bcb57375f06f61e0463377b15f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ab3264966bcd931d414ed63fef98a227978bf1eae19708dd79d39cff3bee4f7 [INFO] running `Command { std: "docker" "start" "-a" "4ab3264966bcd931d414ed63fef98a227978bf1eae19708dd79d39cff3bee4f7", kill_on_drop: false }` [INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition [INFO] [stderr] (in the `lums-dao-contract` package) [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/contract.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[contract] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contract` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `contract` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/contract.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[contractimpl] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stderr] --> src/contract.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[contractimpl] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `soroban_sdk::reexports_for_macros::ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `soroban_sdk::reexports_for_macros::ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `soroban_sdk::reexports_for_macros::ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/contract.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[contractimpl] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | #[contracttype] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/test.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AuthorizedFunction` and `AuthorizedInvocation` [INFO] [stderr] --> src/test.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | use soroban_sdk::testutils::{Address as _, AuthorizedFunction, AuthorizedInvocation, Ledger}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `String` and `vec` [INFO] [stderr] --> src/test.rs:6:40 [INFO] [stderr] | [INFO] [stderr] 6 | use soroban_sdk::{symbol_short, token, vec, Address, Env, IntoVal, String}; [INFO] [stderr] | ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DaoMetadata` [INFO] [stderr] --> src/test.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::storage::{DaoMeta, DaoMetadata}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/contract.rs:115:25 [INFO] [stderr] | [INFO] [stderr] 115 | let id = _proposal_id.clone(); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 115 | let _id = _proposal_id.clone(); [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MIN_VOTES_AMOUNT` [INFO] [stderr] | [INFO] [stderr] 115 - let id = _proposal_id.clone(); [INFO] [stderr] 115 + let storage::MIN_VOTES_AMOUNT = _proposal_id.clone(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flg` [INFO] [stderr] --> src/contract.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | let flg: bool = true; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_flg` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | let mut dao: DAO = env.storage().persistent().get(&prop.dao).unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `claim_addresses` [INFO] [stderr] --> src/test.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let claim_addresses = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_claim_addresses` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/test.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | for n in 1..40 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: constant `active_proposals` should have an upper case name [INFO] [stderr] --> src/contract.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | const active_proposals: u32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 24 - const active_proposals: u32 = 0; [INFO] [stderr] 24 + const ACTIVE_PROPOSALS: u32 = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `proposals` should have an upper case name [INFO] [stderr] --> src/contract.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | const proposals: u32 = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 25 - const proposals: u32 = 0; [INFO] [stderr] 25 + const PROPOSALS: u32 = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `id` should have an upper case name [INFO] [stderr] --> src/contract.rs:249:11 [INFO] [stderr] | [INFO] [stderr] 249 | const id: u32 = 4567; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 249 - const id: u32 = 4567; [INFO] [stderr] 249 + const ID: u32 = 4567; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lums-dao-contract` (lib test) generated 22 warnings (run `cargo fix --lib -p lums-dao-contract --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lums_dao_contract-95e7d0246f40704c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test::test_create_dao ... ok [INFO] [stdout] test test::test_create_proposal ... ok [INFO] [stdout] test test::vote_proposal ... ok [INFO] [stdout] test test::execute_proposal ... ok [INFO] [stdout] test test::test_create_multiple_dao ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ab3264966bcd931d414ed63fef98a227978bf1eae19708dd79d39cff3bee4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab3264966bcd931d414ed63fef98a227978bf1eae19708dd79d39cff3bee4f7", kill_on_drop: false }` [INFO] [stdout] 4ab3264966bcd931d414ed63fef98a227978bf1eae19708dd79d39cff3bee4f7