[INFO] fetching crate psp34-full 0.2.1... [INFO] testing psp34-full-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate psp34-full 0.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psp34-full 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ink_storage_traits v4.3.0 [INFO] [stderr] Downloaded scale-decode-derive v0.9.0 [INFO] [stderr] Downloaded scale-encode v0.5.0 [INFO] [stderr] Downloaded ink v4.3.0 [INFO] [stderr] Downloaded ink_macro v4.3.0 [INFO] [stderr] Downloaded ink_codegen v4.3.0 [INFO] [stderr] Downloaded ink_ir v4.3.0 [INFO] [stderr] Downloaded scale-encode-derive v0.5.0 [INFO] [stderr] Downloaded ink_primitives v4.3.0 [INFO] [stderr] Downloaded ink_prelude v4.3.0 [INFO] [stderr] Downloaded ink_engine v4.3.0 [INFO] [stderr] Downloaded ink_env v4.3.0 [INFO] [stderr] Downloaded ink_storage v4.3.0 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded ink_allocator v4.3.0 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded ink_metadata v4.3.0 [INFO] [stderr] Downloaded scale-decode v0.9.0 [INFO] [stderr] Downloaded scale-bits v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5091d782ca461939b0e29c1fc49b3f46d9e480a76c7b89024c28b46eb538933b [INFO] running `Command { std: "docker" "start" "-a" "5091d782ca461939b0e29c1fc49b3f46d9e480a76c7b89024c28b46eb538933b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5091d782ca461939b0e29c1fc49b3f46d9e480a76c7b89024c28b46eb538933b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5091d782ca461939b0e29c1fc49b3f46d9e480a76c7b89024c28b46eb538933b", kill_on_drop: false }` [INFO] [stdout] 5091d782ca461939b0e29c1fc49b3f46d9e480a76c7b89024c28b46eb538933b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6483611011b9c5f990a067c4cf7afa985b01910a379a197eeae22b672f9007f9 [INFO] running `Command { std: "docker" "start" "-a" "6483611011b9c5f990a067c4cf7afa985b01910a379a197eeae22b672f9007f9", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ink_prelude v4.3.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ink_allocator v4.3.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling scale-info v2.11.6 [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_codegen v4.3.0 [INFO] [stderr] Compiling ink_metadata v4.3.0 [INFO] [stderr] Compiling ink_engine v4.3.0 [INFO] [stderr] Compiling ink_storage_traits v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Compiling ink_env v4.3.0 [INFO] [stderr] Compiling ink_storage 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 57.05s [INFO] running `Command { std: "docker" "inspect" "6483611011b9c5f990a067c4cf7afa985b01910a379a197eeae22b672f9007f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6483611011b9c5f990a067c4cf7afa985b01910a379a197eeae22b672f9007f9", kill_on_drop: false }` [INFO] [stdout] 6483611011b9c5f990a067c4cf7afa985b01910a379a197eeae22b672f9007f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7feb5d7ef297d4cf3c069091f2170bc5b83bc59b9ee29075b76873448b29d27c [INFO] running `Command { std: "docker" "start" "-a" "7feb5d7ef297d4cf3c069091f2170bc5b83bc59b9ee29075b76873448b29d27c", kill_on_drop: false }` [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] [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.05s [INFO] running `Command { std: "docker" "inspect" "7feb5d7ef297d4cf3c069091f2170bc5b83bc59b9ee29075b76873448b29d27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7feb5d7ef297d4cf3c069091f2170bc5b83bc59b9ee29075b76873448b29d27c", kill_on_drop: false }` [INFO] [stdout] 7feb5d7ef297d4cf3c069091f2170bc5b83bc59b9ee29075b76873448b29d27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75535d61eb8fd63df38930f015deaed4207a6b8ad6ecccf3207e3db2bac266f2 [INFO] running `Command { std: "docker" "start" "-a" "75535d61eb8fd63df38930f015deaed4207a6b8ad6ecccf3207e3db2bac266f2", 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.22s [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/psp34_full-39ea8b97704ca61d) [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.01s [INFO] [stdout] [INFO] [stderr] Running tests/unit.rs (/opt/rustwide/target/debug/deps/unit-33808b07617ae76c) [INFO] [stdout] [INFO] [stderr] Doc-tests psp34_full [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] [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" "75535d61eb8fd63df38930f015deaed4207a6b8ad6ecccf3207e3db2bac266f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75535d61eb8fd63df38930f015deaed4207a6b8ad6ecccf3207e3db2bac266f2", kill_on_drop: false }` [INFO] [stdout] 75535d61eb8fd63df38930f015deaed4207a6b8ad6ecccf3207e3db2bac266f2