[INFO] fetching crate ddc_bucket 0.5.1... [INFO] testing ddc_bucket-0.5.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ddc_bucket 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ddc_bucket 0.5.1 [INFO] finished tweaking crates.io crate ddc_bucket 0.5.1 [INFO] tweaked toml for crates.io crate ddc_bucket 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ddc_bucket 0.5.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 131 packages to latest compatible versions [INFO] [stderr] Adding ink_allocator v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_env v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_lang v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_lang_codegen v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_lang_ir v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_lang_macro v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_metadata v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_prelude v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_primitives v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_storage v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding ink_storage_derive v3.0.0-rc4 (available: v3.4.0) [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding scale-info v0.6.0 (available: v2.11.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99d59073a522b0a798f500ac51bedd327d6842465e4c4b0f06723cb76a690fcd [INFO] running `Command { std: "docker" "start" "-a" "99d59073a522b0a798f500ac51bedd327d6842465e4c4b0f06723cb76a690fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99d59073a522b0a798f500ac51bedd327d6842465e4c4b0f06723cb76a690fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d59073a522b0a798f500ac51bedd327d6842465e4c4b0f06723cb76a690fcd", kill_on_drop: false }` [INFO] [stdout] 99d59073a522b0a798f500ac51bedd327d6842465e4c4b0f06723cb76a690fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02d99bc4b381325f3e5e3ac692fbc734ceae1fe4b1e0c6f5c5d7de72bff3c0c7 [INFO] running `Command { std: "docker" "start" "-a" "02d99bc4b381325f3e5e3ac692fbc734ceae1fe4b1e0c6f5c5d7de72bff3c0c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling ink_prelude v3.0.0-rc4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling scale-info-derive v0.4.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling scale-info v0.6.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ink_allocator v3.0.0-rc4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc4 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc4 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc4 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc4 [INFO] [stderr] Compiling ink_metadata v3.0.0-rc4 [INFO] [stderr] Compiling ink_env v3.0.0-rc4 [INFO] [stderr] Compiling ink_storage v3.0.0-rc4 [INFO] [stderr] Compiling ink_lang v3.0.0-rc4 [INFO] [stderr] Compiling ddc_bucket v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// A bucket was created. The given account is its first owner and payer of resources. [INFO] [stdout] 95 | | #[ink(event)] [INFO] [stdout] 96 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 97 | | pub struct BucketCreated { [INFO] [stdout] ... | [INFO] [stdout] 101 | | owner_id: AccountId, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// Some amount of resources of a cluster were allocated to a bucket. [INFO] [stdout] 105 | | #[ink(event)] [INFO] [stdout] 106 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 107 | | pub struct BucketAllocated { [INFO] [stdout] ... | [INFO] [stdout] 112 | | resource: Resource, [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /// The due costs of a bucket was settled from the bucket payer to the cluster. [INFO] [stdout] 116 | | #[ink(event)] [INFO] [stdout] 117 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 118 | | pub struct BucketSettlePayment { [INFO] [stdout] ... | [INFO] [stdout] 122 | | cluster_id: ClusterId, [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / /// A new cluster was created. [INFO] [stdout] 183 | | #[ink(event)] [INFO] [stdout] 184 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 185 | | pub struct ClusterCreated { [INFO] [stdout] ... | [INFO] [stdout] 190 | | cluster_params: ClusterParams, [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / /// A vnode was re-assigned to new node. [INFO] [stdout] 194 | | #[ink(event)] [INFO] [stdout] 195 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 196 | | pub struct ClusterNodeReplaced { [INFO] [stdout] ... | [INFO] [stdout] 201 | | vnode_index: VNodeIndex, [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Some resources were reserved for the cluster from the nodes. [INFO] [stdout] 205 | | #[ink(event)] [INFO] [stdout] 206 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 207 | | pub struct ClusterReserveResource { [INFO] [stdout] ... | [INFO] [stdout] 210 | | resource: Resource, [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /// The share of revenues of a cluster for a provider was distributed. [INFO] [stdout] 214 | | #[ink(event)] [INFO] [stdout] 215 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 216 | | pub struct ClusterDistributeRevenues { [INFO] [stdout] ... | [INFO] [stdout] 220 | | provider_id: AccountId, [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / /// A node was created. The given account is its owner and recipient of revenues. [INFO] [stdout] 289 | | #[ink(event)] [INFO] [stdout] 290 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 291 | | pub struct NodeCreated { [INFO] [stdout] ... | [INFO] [stdout] 297 | | node_params: NodeParams, [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | / /// Tokens were deposited on an account. [INFO] [stdout] 354 | | #[ink(event)] [INFO] [stdout] 355 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 356 | | pub struct Deposit { [INFO] [stdout] ... | [INFO] [stdout] 359 | | value: Balance, [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / /// A permission was granted to the account. [INFO] [stdout] 393 | | #[ink(event)] [INFO] [stdout] 394 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 395 | | pub struct GrantPermission { [INFO] [stdout] ... | [INFO] [stdout] 398 | | permission: Permission, [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | / /// A permission was revoked from the account. [INFO] [stdout] 402 | | #[ink(event)] [INFO] [stdout] 403 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 404 | | pub struct RevokePermission { [INFO] [stdout] ... | [INFO] [stdout] 407 | | permission: Permission, [INFO] [stdout] 408 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "02d99bc4b381325f3e5e3ac692fbc734ceae1fe4b1e0c6f5c5d7de72bff3c0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d99bc4b381325f3e5e3ac692fbc734ceae1fe4b1e0c6f5c5d7de72bff3c0c7", kill_on_drop: false }` [INFO] [stdout] 02d99bc4b381325f3e5e3ac692fbc734ceae1fe4b1e0c6f5c5d7de72bff3c0c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f92cfd33fcb94fe90afcaedd426756cd0b5a1fc5631a0b68b21b28e27c78cf94 [INFO] running `Command { std: "docker" "start" "-a" "f92cfd33fcb94fe90afcaedd426756cd0b5a1fc5631a0b68b21b28e27c78cf94", kill_on_drop: false }` [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// A bucket was created. The given account is its first owner and payer of resources. [INFO] [stdout] 95 | | #[ink(event)] [INFO] [stdout] 96 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 97 | | pub struct BucketCreated { [INFO] [stdout] ... | [INFO] [stdout] 101 | | owner_id: AccountId, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// Some amount of resources of a cluster were allocated to a bucket. [INFO] [stdout] 105 | | #[ink(event)] [INFO] [stdout] 106 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 107 | | pub struct BucketAllocated { [INFO] [stdout] ... | [INFO] [stdout] 112 | | resource: Resource, [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /// The due costs of a bucket was settled from the bucket payer to the cluster. [INFO] [stdout] 116 | | #[ink(event)] [INFO] [stdout] 117 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 118 | | pub struct BucketSettlePayment { [INFO] [stdout] ... | [INFO] [stdout] 122 | | cluster_id: ClusterId, [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / /// A new cluster was created. [INFO] [stdout] 183 | | #[ink(event)] [INFO] [stdout] 184 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 185 | | pub struct ClusterCreated { [INFO] [stdout] ... | [INFO] [stdout] 190 | | cluster_params: ClusterParams, [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / /// A vnode was re-assigned to new node. [INFO] [stdout] 194 | | #[ink(event)] [INFO] [stdout] 195 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 196 | | pub struct ClusterNodeReplaced { [INFO] [stdout] ... | [INFO] [stdout] 201 | | vnode_index: VNodeIndex, [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Some resources were reserved for the cluster from the nodes. [INFO] [stdout] 205 | | #[ink(event)] [INFO] [stdout] 206 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 207 | | pub struct ClusterReserveResource { [INFO] [stdout] ... | [INFO] [stdout] 210 | | resource: Resource, [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /// The share of revenues of a cluster for a provider was distributed. [INFO] [stdout] 214 | | #[ink(event)] [INFO] [stdout] 215 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 216 | | pub struct ClusterDistributeRevenues { [INFO] [stdout] ... | [INFO] [stdout] 220 | | provider_id: AccountId, [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / /// A node was created. The given account is its owner and recipient of revenues. [INFO] [stdout] 289 | | #[ink(event)] [INFO] [stdout] 290 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 291 | | pub struct NodeCreated { [INFO] [stdout] ... | [INFO] [stdout] 297 | | node_params: NodeParams, [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | / /// Tokens were deposited on an account. [INFO] [stdout] 354 | | #[ink(event)] [INFO] [stdout] 355 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 356 | | pub struct Deposit { [INFO] [stdout] ... | [INFO] [stdout] 359 | | value: Balance, [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / /// A permission was granted to the account. [INFO] [stdout] 393 | | #[ink(event)] [INFO] [stdout] 394 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 395 | | pub struct GrantPermission { [INFO] [stdout] ... | [INFO] [stdout] 398 | | permission: Permission, [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ddc_bucket v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | / /// A permission was revoked from the account. [INFO] [stdout] 402 | | #[ink(event)] [INFO] [stdout] 403 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 404 | | pub struct RevokePermission { [INFO] [stdout] ... | [INFO] [stdout] 407 | | permission: Permission, [INFO] [stdout] 408 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initialize_or_reset_as_default` [INFO] [stdout] --> ddc_bucket/tests/env_utils.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | test::{advance_block, default_accounts, DefaultAccounts, initialize_or_reset_as_default, recorded_events}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// A bucket was created. The given account is its first owner and payer of resources. [INFO] [stdout] 95 | | #[ink(event)] [INFO] [stdout] 96 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 97 | | pub struct BucketCreated { [INFO] [stdout] ... | [INFO] [stdout] 101 | | owner_id: AccountId, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// Some amount of resources of a cluster were allocated to a bucket. [INFO] [stdout] 105 | | #[ink(event)] [INFO] [stdout] 106 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 107 | | pub struct BucketAllocated { [INFO] [stdout] ... | [INFO] [stdout] 112 | | resource: Resource, [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /// The due costs of a bucket was settled from the bucket payer to the cluster. [INFO] [stdout] 116 | | #[ink(event)] [INFO] [stdout] 117 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 118 | | pub struct BucketSettlePayment { [INFO] [stdout] ... | [INFO] [stdout] 122 | | cluster_id: ClusterId, [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / /// A new cluster was created. [INFO] [stdout] 183 | | #[ink(event)] [INFO] [stdout] 184 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 185 | | pub struct ClusterCreated { [INFO] [stdout] ... | [INFO] [stdout] 190 | | cluster_params: ClusterParams, [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / /// A vnode was re-assigned to new node. [INFO] [stdout] 194 | | #[ink(event)] [INFO] [stdout] 195 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 196 | | pub struct ClusterNodeReplaced { [INFO] [stdout] ... | [INFO] [stdout] 201 | | vnode_index: VNodeIndex, [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Some resources were reserved for the cluster from the nodes. [INFO] [stdout] 205 | | #[ink(event)] [INFO] [stdout] 206 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 207 | | pub struct ClusterReserveResource { [INFO] [stdout] ... | [INFO] [stdout] 210 | | resource: Resource, [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /// The share of revenues of a cluster for a provider was distributed. [INFO] [stdout] 214 | | #[ink(event)] [INFO] [stdout] 215 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 216 | | pub struct ClusterDistributeRevenues { [INFO] [stdout] ... | [INFO] [stdout] 220 | | provider_id: AccountId, [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / /// A node was created. The given account is its owner and recipient of revenues. [INFO] [stdout] 289 | | #[ink(event)] [INFO] [stdout] 290 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 291 | | pub struct NodeCreated { [INFO] [stdout] ... | [INFO] [stdout] 297 | | node_params: NodeParams, [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | / /// Tokens were deposited on an account. [INFO] [stdout] 354 | | #[ink(event)] [INFO] [stdout] 355 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 356 | | pub struct Deposit { [INFO] [stdout] ... | [INFO] [stdout] 359 | | value: Balance, [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / /// A permission was granted to the account. [INFO] [stdout] 393 | | #[ink(event)] [INFO] [stdout] 394 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 395 | | pub struct GrantPermission { [INFO] [stdout] ... | [INFO] [stdout] 398 | | permission: Permission, [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stdout] --> lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | / /// A permission was revoked from the account. [INFO] [stdout] 402 | | #[ink(event)] [INFO] [stdout] 403 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stdout] 404 | | pub struct RevokePermission { [INFO] [stdout] ... | [INFO] [stdout] 407 | | permission: Permission, [INFO] [stdout] 408 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `provider_id` and `engine_name` are never read [INFO] [stdout] --> ddc_bucket/tests/node.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TestNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub provider_id: AccountId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub node_id: NodeId, [INFO] [stdout] 9 | pub engine_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "f92cfd33fcb94fe90afcaedd426756cd0b5a1fc5631a0b68b21b28e27c78cf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92cfd33fcb94fe90afcaedd426756cd0b5a1fc5631a0b68b21b28e27c78cf94", kill_on_drop: false }` [INFO] [stdout] f92cfd33fcb94fe90afcaedd426756cd0b5a1fc5631a0b68b21b28e27c78cf94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0df74840ac07611d45bb54568a5aa242f1a9725babc03632468b0f2ce24ba865 [INFO] running `Command { std: "docker" "start" "-a" "0df74840ac07611d45bb54568a5aa242f1a9725babc03632468b0f2ce24ba865", kill_on_drop: false }` [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / /// A bucket was created. The given account is its first owner and payer of resources. [INFO] [stderr] 95 | | #[ink(event)] [INFO] [stderr] 96 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 97 | | pub struct BucketCreated { [INFO] [stderr] ... | [INFO] [stderr] 101 | | owner_id: AccountId, [INFO] [stderr] 102 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | / /// Some amount of resources of a cluster were allocated to a bucket. [INFO] [stderr] 105 | | #[ink(event)] [INFO] [stderr] 106 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 107 | | pub struct BucketAllocated { [INFO] [stderr] ... | [INFO] [stderr] 112 | | resource: Resource, [INFO] [stderr] 113 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | / /// The due costs of a bucket was settled from the bucket payer to the cluster. [INFO] [stderr] 116 | | #[ink(event)] [INFO] [stderr] 117 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 118 | | pub struct BucketSettlePayment { [INFO] [stderr] ... | [INFO] [stderr] 122 | | cluster_id: ClusterId, [INFO] [stderr] 123 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | / /// A new cluster was created. [INFO] [stderr] 183 | | #[ink(event)] [INFO] [stderr] 184 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 185 | | pub struct ClusterCreated { [INFO] [stderr] ... | [INFO] [stderr] 190 | | cluster_params: ClusterParams, [INFO] [stderr] 191 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | / /// A vnode was re-assigned to new node. [INFO] [stderr] 194 | | #[ink(event)] [INFO] [stderr] 195 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 196 | | pub struct ClusterNodeReplaced { [INFO] [stderr] ... | [INFO] [stderr] 201 | | vnode_index: VNodeIndex, [INFO] [stderr] 202 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | / /// Some resources were reserved for the cluster from the nodes. [INFO] [stderr] 205 | | #[ink(event)] [INFO] [stderr] 206 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 207 | | pub struct ClusterReserveResource { [INFO] [stderr] ... | [INFO] [stderr] 210 | | resource: Resource, [INFO] [stderr] 211 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:213:5 [INFO] [stderr] | [INFO] [stderr] 213 | / /// The share of revenues of a cluster for a provider was distributed. [INFO] [stderr] 214 | | #[ink(event)] [INFO] [stderr] 215 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 216 | | pub struct ClusterDistributeRevenues { [INFO] [stderr] ... | [INFO] [stderr] 220 | | provider_id: AccountId, [INFO] [stderr] 221 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:288:5 [INFO] [stderr] | [INFO] [stderr] 288 | / /// A node was created. The given account is its owner and recipient of revenues. [INFO] [stderr] 289 | | #[ink(event)] [INFO] [stderr] 290 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 291 | | pub struct NodeCreated { [INFO] [stderr] ... | [INFO] [stderr] 297 | | node_params: NodeParams, [INFO] [stderr] 298 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:353:5 [INFO] [stderr] | [INFO] [stderr] 353 | / /// Tokens were deposited on an account. [INFO] [stderr] 354 | | #[ink(event)] [INFO] [stderr] 355 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 356 | | pub struct Deposit { [INFO] [stderr] ... | [INFO] [stderr] 359 | | value: Balance, [INFO] [stderr] 360 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:392:5 [INFO] [stderr] | [INFO] [stderr] 392 | / /// A permission was granted to the account. [INFO] [stderr] 393 | | #[ink(event)] [INFO] [stderr] 394 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 395 | | pub struct GrantPermission { [INFO] [stderr] ... | [INFO] [stderr] 398 | | permission: Permission, [INFO] [stderr] 399 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: enum `EventTopicsWithinBounds` is never used [INFO] [stderr] --> lib.rs:401:5 [INFO] [stderr] | [INFO] [stderr] 401 | / /// A permission was revoked from the account. [INFO] [stderr] 402 | | #[ink(event)] [INFO] [stderr] 403 | | #[cfg_attr(feature = "std", derive(PartialEq, Debug, scale_info::TypeInfo))] [INFO] [stderr] 404 | | pub struct RevokePermission { [INFO] [stderr] ... | [INFO] [stderr] 407 | | permission: Permission, [INFO] [stderr] 408 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: `ddc_bucket` (lib) generated 11 warnings [INFO] [stderr] warning: unused import: `initialize_or_reset_as_default` [INFO] [stderr] --> ddc_bucket/tests/env_utils.rs:7:62 [INFO] [stderr] | [INFO] [stderr] 7 | test::{advance_block, default_accounts, DefaultAccounts, initialize_or_reset_as_default, recorded_events}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `provider_id` and `engine_name` are never read [INFO] [stderr] --> ddc_bucket/tests/node.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TestNode { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | pub provider_id: AccountId, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 8 | pub node_id: NodeId, [INFO] [stderr] 9 | pub engine_name: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ddc_bucket` (lib test) generated 13 warnings (11 duplicates) (run `cargo fix --lib -p ddc_bucket --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/ddc_bucket-ea5e53662500f53f) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_grant_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_withdraw_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_init_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_change_params_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::account_deposit_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_list_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_pays_cluster ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_pays_cluster_at_new_rate ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_reserve_0_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_create_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_create_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_management_validation_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_pays_providers ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_replace_node_only_manager ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_change_params_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_replace_node_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_reserve_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::contract_fee_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_replace_node_only_trusted_manager ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::node_change_params_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::node_list_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_currency::currency_conversion_init_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_grant_only_admin - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_currency::currency_conversion_set_rate_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_network::storage_network_works ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_revoke_works - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_withdraw_only_admin - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::bucket_change_params_only_owner - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_admin::admin_revoke_only_admin - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::cluster_change_params_only_owner - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_contract::node_change_params_only_owner - should panic ... ok [INFO] [stdout] test ddc_bucket::tests::test_currency::currency_conversion_set_rate_only_admin - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Doc-tests ddc_bucket [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0df74840ac07611d45bb54568a5aa242f1a9725babc03632468b0f2ce24ba865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df74840ac07611d45bb54568a5aa242f1a9725babc03632468b0f2ce24ba865", kill_on_drop: false }` [INFO] [stdout] 0df74840ac07611d45bb54568a5aa242f1a9725babc03632468b0f2ce24ba865