[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 1.90.0 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guudc/StellarDAO 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/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" "+1.90.0" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stellar-strkey v0.0.7 [INFO] [stderr] Downloaded soroban-spec-rust v20.0.0-rc2 [INFO] [stderr] Downloaded soroban-spec v20.0.0-rc2 [INFO] [stderr] Downloaded soroban-env-guest v20.0.0-rc2 [INFO] [stderr] Downloaded arbitrary v1.3.1 [INFO] [stderr] Downloaded soroban-native-sdk-macros v20.0.0-rc2 [INFO] [stderr] Downloaded soroban-sdk-macros v20.0.0-rc2 [INFO] [stderr] Downloaded wasmi_arena v0.4.0 [INFO] [stderr] Downloaded bytes-lit v0.0.5 [INFO] [stderr] Downloaded soroban-ledger-snapshot v20.0.0-rc2 [INFO] [stderr] Downloaded soroban-env-macros v20.0.0-rc2 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded derive_arbitrary v1.3.1 [INFO] [stderr] Downloaded platforms v3.1.2 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0 [INFO] [stderr] Downloaded soroban-sdk v20.0.0-rc2 [INFO] [stderr] Downloaded k256 v0.13.1 [INFO] [stderr] Downloaded wasmparser v0.88.0 [INFO] [stderr] Downloaded soroban-wasmi v0.31.0-soroban1 [INFO] [stderr] Downloaded ethnum v1.4.0 [INFO] [stderr] Downloaded soroban-env-common v20.0.0-rc2 [INFO] [stderr] Downloaded crate-git-revision v0.0.6 [INFO] [stderr] Downloaded soroban-env-host v20.0.0-rc2 [INFO] [stderr] Downloaded curve25519-dalek v4.1.1 [INFO] [stderr] Downloaded stellar-xdr v20.0.0-rc1 [INFO] [stderr] Downloaded fiat-crypto v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6fa1e2f79163cbba95f19a9bf755b340cd9a4b93ac10428f11734856057e51ec [INFO] running `Command { std: "docker" "start" "-a" "6fa1e2f79163cbba95f19a9bf755b340cd9a4b93ac10428f11734856057e51ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fa1e2f79163cbba95f19a9bf755b340cd9a4b93ac10428f11734856057e51ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fa1e2f79163cbba95f19a9bf755b340cd9a4b93ac10428f11734856057e51ec", kill_on_drop: false }` [INFO] [stdout] 6fa1e2f79163cbba95f19a9bf755b340cd9a4b93ac10428f11734856057e51ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c3466330aeb49b0d519c507795a06b016ae0d781c4f3d702c305a280ec905197 [INFO] running `Command { std: "docker" "start" "-a" "c3466330aeb49b0d519c507795a06b016ae0d781c4f3d702c305a280ec905197", 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 hashbrown v0.12.3 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling ethnum v1.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasmparser-nostd v0.100.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling wasmi_arena v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.3 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling elliptic-curve v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling soroban-wasmi v0.31.0-soroban1 [INFO] [stderr] Compiling darling_core v0.20.3 [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 darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.3.0 [INFO] [stderr] Compiling ed25519-dalek v2.0.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] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` 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)]` 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)]` 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 58s [INFO] running `Command { std: "docker" "inspect" "c3466330aeb49b0d519c507795a06b016ae0d781c4f3d702c305a280ec905197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3466330aeb49b0d519c507795a06b016ae0d781c4f3d702c305a280ec905197", kill_on_drop: false }` [INFO] [stdout] c3466330aeb49b0d519c507795a06b016ae0d781c4f3d702c305a280ec905197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f49c544a5f8a2a08fe3a284dd3838fd51bf5e8bfd1eb0abb5153b485486fdc [INFO] running `Command { std: "docker" "start" "-a" "28f49c544a5f8a2a08fe3a284dd3838fd51bf5e8bfd1eb0abb5153b485486fdc", 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] error: could not compile `stellar-xdr` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name stellar_xdr --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stellar-xdr-20.0.0-rc1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="arbitrary"' --cfg 'feature="base64"' --cfg 'feature="curr"' --cfg 'feature="hex"' --cfg 'feature="serde"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "base64", "cli", "curr", "default", "hex", "next", "serde", "std"))' -C metadata=1b94c2b07b89cdfb -C extra-filename=-74a4041a3f0ca071 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arbitrary=/opt/rustwide/target/debug/deps/libarbitrary-83814c4bc012240d.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-d808d36ac308abb0.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-30c65099d1a6ee8b.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-e561d7694d6578fc.rmeta --extern serde_with=/opt/rustwide/target/debug/deps/libserde_with-51b9a19144b39a16.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "28f49c544a5f8a2a08fe3a284dd3838fd51bf5e8bfd1eb0abb5153b485486fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f49c544a5f8a2a08fe3a284dd3838fd51bf5e8bfd1eb0abb5153b485486fdc", kill_on_drop: false }` [INFO] [stdout] 28f49c544a5f8a2a08fe3a284dd3838fd51bf5e8bfd1eb0abb5153b485486fdc