[INFO] fetching crate psp34-full 0.2.1... [INFO] testing psp34-full-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate psp34-full 0.2.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psp34-full 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b2f3add13335881b026e5b29595cfe69286516ced805b6d4f1dc106c2945102 [INFO] running `Command { std: "docker" "start" "-a" "6b2f3add13335881b026e5b29595cfe69286516ced805b6d4f1dc106c2945102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b2f3add13335881b026e5b29595cfe69286516ced805b6d4f1dc106c2945102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2f3add13335881b026e5b29595cfe69286516ced805b6d4f1dc106c2945102", kill_on_drop: false }` [INFO] [stdout] 6b2f3add13335881b026e5b29595cfe69286516ced805b6d4f1dc106c2945102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c1bbe924c3764cb36c343087d139f48f4b06c5764476a1d0ad878d8a3967a9a [INFO] running `Command { std: "docker" "start" "-a" "5c1bbe924c3764cb36c343087d139f48f4b06c5764476a1d0ad878d8a3967a9a", kill_on_drop: false }` [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)]` 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)]` 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: methods `owner`, `renounce_ownership`, and `transfer_ownership` are never used [INFO] [stdout] --> traits.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn owner(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn renounce_ownership(&mut self) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `unpause` are never used [INFO] [stdout] --> traits.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 177 | fn pause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn unpause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "5c1bbe924c3764cb36c343087d139f48f4b06c5764476a1d0ad878d8a3967a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1bbe924c3764cb36c343087d139f48f4b06c5764476a1d0ad878d8a3967a9a", kill_on_drop: false }` [INFO] [stdout] 5c1bbe924c3764cb36c343087d139f48f4b06c5764476a1d0ad878d8a3967a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6250fa9a56f7cfff6e06ce5d665917fbdafbbd651f002b68c0cf9c61e9b0b8da [INFO] running `Command { std: "docker" "start" "-a" "6250fa9a56f7cfff6e06ce5d665917fbdafbbd651f002b68c0cf9c61e9b0b8da", 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)]` 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)]` 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: methods `owner`, `renounce_ownership`, and `transfer_ownership` are never used [INFO] [stdout] --> traits.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn owner(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn renounce_ownership(&mut self) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `unpause` are never used [INFO] [stdout] --> traits.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 177 | fn pause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn unpause(&mut self) -> Result<(), PSP34Error>; [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)]` 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)]` 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: methods `owner`, `renounce_ownership`, and `transfer_ownership` are never used [INFO] [stdout] --> traits.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait Ownable { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn owner(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn renounce_ownership(&mut self) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `unpause` are never used [INFO] [stdout] --> traits.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait PSP22Pausable { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 177 | fn pause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn unpause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "6250fa9a56f7cfff6e06ce5d665917fbdafbbd651f002b68c0cf9c61e9b0b8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6250fa9a56f7cfff6e06ce5d665917fbdafbbd651f002b68c0cf9c61e9b0b8da", kill_on_drop: false }` [INFO] [stdout] 6250fa9a56f7cfff6e06ce5d665917fbdafbbd651f002b68c0cf9c61e9b0b8da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] efbfd63e21a03e9038f8ed8d1d39a7a2dde7d8d04622db12e549999c9657cf11 [INFO] running `Command { std: "docker" "start" "-a" "efbfd63e21a03e9038f8ed8d1d39a7a2dde7d8d04622db12e549999c9657cf11", 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)]` 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)]` 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: methods `owner`, `renounce_ownership`, and `transfer_ownership` are never used [INFO] [stderr] --> traits.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 130 | pub trait Ownable { [INFO] [stderr] | ------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 137 | fn owner(&self) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | fn renounce_ownership(&mut self) -> Result<(), OwnableError>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `pause` and `unpause` are never used [INFO] [stderr] --> traits.rs:177:8 [INFO] [stderr] | [INFO] [stderr] 168 | pub trait PSP22Pausable { [INFO] [stderr] | ------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 177 | fn pause(&mut self) -> Result<(), PSP34Error>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 187 | fn unpause(&mut self) -> Result<(), PSP34Error>; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `psp34-full` (lib) generated 10 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.20s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/psp34_full-21728fd6ba52c416) [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] [stderr] Running tests/unit.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/unit-604f5af2a743a458) [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" "efbfd63e21a03e9038f8ed8d1d39a7a2dde7d8d04622db12e549999c9657cf11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efbfd63e21a03e9038f8ed8d1d39a7a2dde7d8d04622db12e549999c9657cf11", kill_on_drop: false }` [INFO] [stdout] efbfd63e21a03e9038f8ed8d1d39a7a2dde7d8d04622db12e549999c9657cf11