[INFO] fetching crate psp34-full 0.2.1... [INFO] testing psp34-full-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate psp34-full 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate psp34-full 0.2.1 [INFO] finished tweaking crates.io crate psp34-full 0.2.1 [INFO] tweaked toml for crates.io crate psp34-full 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psp34-full 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding ink v4.3.0 (available: v5.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scale-encode v0.5.0 [INFO] [stderr] Downloaded scale-bits v0.4.0 [INFO] [stderr] Downloaded ink_storage v4.3.0 [INFO] [stderr] Downloaded scale-decode-derive v0.9.0 [INFO] [stderr] Downloaded ink_primitives v4.3.0 [INFO] [stderr] Downloaded scale-encode-derive v0.5.0 [INFO] [stderr] Downloaded ink_storage_traits v4.3.0 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded scale-decode v0.9.0 [INFO] [stderr] Downloaded ink v4.3.0 [INFO] [stderr] Downloaded ink_engine v4.3.0 [INFO] [stderr] Downloaded ink_codegen v4.3.0 [INFO] [stderr] Downloaded ink_ir v4.3.0 [INFO] [stderr] Downloaded ink_env v4.3.0 [INFO] [stderr] Downloaded ink_macro v4.3.0 [INFO] [stderr] Downloaded ink_allocator v4.3.0 [INFO] [stderr] Downloaded ink_prelude v4.3.0 [INFO] [stderr] Downloaded ink_metadata v4.3.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86b483c44096db130e8e47d5a001f08de562364d02bc29da325eddddcba848e1 [INFO] running `Command { std: "docker" "start" "-a" "86b483c44096db130e8e47d5a001f08de562364d02bc29da325eddddcba848e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86b483c44096db130e8e47d5a001f08de562364d02bc29da325eddddcba848e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b483c44096db130e8e47d5a001f08de562364d02bc29da325eddddcba848e1", kill_on_drop: false }` [INFO] [stdout] 86b483c44096db130e8e47d5a001f08de562364d02bc29da325eddddcba848e1 [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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b68ae93196b4850609f7ccac467ebb7ed665f5d6bdd507092d70c2bb9eac28 [INFO] running `Command { std: "docker" "start" "-a" "87b68ae93196b4850609f7ccac467ebb7ed665f5d6bdd507092d70c2bb9eac28", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ink_prelude v4.3.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ink_allocator v4.3.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling scale-bits v0.4.0 [INFO] [stderr] Compiling scale-encode v0.5.0 [INFO] [stderr] Compiling scale-decode v0.9.0 [INFO] [stderr] Compiling ink_primitives v4.3.0 [INFO] [stderr] Compiling ink_metadata v4.3.0 [INFO] [stderr] Compiling ink_engine v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Compiling ink_storage_traits v4.3.0 [INFO] [stderr] Compiling ink_env v4.3.0 [INFO] [stderr] Compiling ink_storage v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Compiling ink v4.3.0 [INFO] [stderr] Compiling psp34-full v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stdout] --> lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [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 `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ink::contract` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OwnableError` is never used [INFO] [stdout] --> errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OwnableError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Ownable` is never used [INFO] [stdout] --> traits.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PSP22Pausable` is never used [INFO] [stdout] --> traits.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.50s [INFO] running `Command { std: "docker" "inspect" "87b68ae93196b4850609f7ccac467ebb7ed665f5d6bdd507092d70c2bb9eac28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b68ae93196b4850609f7ccac467ebb7ed665f5d6bdd507092d70c2bb9eac28", kill_on_drop: false }` [INFO] [stdout] 87b68ae93196b4850609f7ccac467ebb7ed665f5d6bdd507092d70c2bb9eac28 [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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11c52616f75c9a5af5cdceb089022db8d218c9e25a1b96ee4cd259880537c005 [INFO] running `Command { std: "docker" "start" "-a" "11c52616f75c9a5af5cdceb089022db8d218c9e25a1b96ee4cd259880537c005", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stdout] --> lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [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 `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ink::contract` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OwnableError` is never used [INFO] [stdout] --> errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OwnableError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling psp34-full v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Ownable` is never used [INFO] [stdout] --> traits.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PSP22Pausable` is never used [INFO] [stdout] --> traits.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stdout] --> lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [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 `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ink::contract` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Ownable` is never used [INFO] [stdout] --> traits.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PSP22Pausable` is never used [INFO] [stdout] --> traits.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "11c52616f75c9a5af5cdceb089022db8d218c9e25a1b96ee4cd259880537c005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c52616f75c9a5af5cdceb089022db8d218c9e25a1b96ee4cd259880537c005", kill_on_drop: false }` [INFO] [stdout] 11c52616f75c9a5af5cdceb089022db8d218c9e25a1b96ee4cd259880537c005 [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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2c5785ec73749152dfccea24b217938079ae8c9c70be6a8919fbffe2a364d1c [INFO] running `Command { std: "docker" "start" "-a" "c2c5785ec73749152dfccea24b217938079ae8c9c70be6a8919fbffe2a364d1c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `core::fmt` [INFO] [stderr] --> errors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::fmt; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stderr] --> lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / pub struct Token { [INFO] [stderr] 37 | | pub data: PSP34Data, [INFO] [stderr] 38 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stderr] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase` [INFO] [stderr] --> lib.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | #[ink::contract] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [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 `ink::contract` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `ink::contract` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stderr] --> lib.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | / pub fn new() -> Self { [INFO] [stderr] 43 | | Self { [INFO] [stderr] 44 | | data: PSP34Data::new(), [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stderr] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `ink::prelude::string::ToString` [INFO] [stderr] --> lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | use ink::prelude::string::ToString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::data::Data` [INFO] [stderr] --> lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | use crate::data::Data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stderr] --> data.rs:349:12 [INFO] [stderr] | [INFO] [stderr] 348 | impl Data { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 353 | pub fn set_attribute( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `insert` are never used [INFO] [stderr] --> data.rs:257:16 [INFO] [stderr] | [INFO] [stderr] 256 | impl Balances { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 257 | pub fn new() -> Balances { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `OwnableError` is never used [INFO] [stderr] --> errors.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum OwnableError { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Ownable` is never used [INFO] [stderr] --> traits.rs:130:11 [INFO] [stderr] | [INFO] [stderr] 130 | pub trait Ownable { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `PSP22Pausable` is never used [INFO] [stderr] --> traits.rs:168:11 [INFO] [stderr] | [INFO] [stderr] 168 | pub trait PSP22Pausable { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `psp34-full` (lib) generated 11 warnings (run `cargo fix --lib -p psp34-full` to apply 3 suggestions) [INFO] [stderr] warning: `psp34-full` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/psp34_full-801cba1558d33651) [INFO] [stderr] Running tests/unit.rs (/opt/rustwide/target/debug/deps/unit-48553dc78d0bdaba) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test errors::tests::test_display_ownable_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stderr] Doc-tests psp34_full [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" "c2c5785ec73749152dfccea24b217938079ae8c9c70be6a8919fbffe2a364d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c5785ec73749152dfccea24b217938079ae8c9c70be6a8919fbffe2a364d1c", kill_on_drop: false }` [INFO] [stdout] c2c5785ec73749152dfccea24b217938079ae8c9c70be6a8919fbffe2a364d1c