[INFO] fetching crate trait_erc20 3.0.0... [INFO] building trait_erc20-3.0.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate trait_erc20 3.0.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate trait_erc20 3.0.0 [INFO] finished tweaking crates.io crate trait_erc20 3.0.0 [INFO] tweaked toml for crates.io crate trait_erc20 3.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trait_erc20 3.0.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding ink_env v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_metadata v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_primitives v3.4.0 (available: v5.1.1) [INFO] [stderr] Adding ink_storage v3.4.0 (available: v5.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded secp256k1 v0.24.3 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded ink_engine v3.4.0 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded scale-info v2.11.6 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded ink_env v3.4.0 [INFO] [stderr] Downloaded ink_metadata v3.4.0 [INFO] [stderr] Downloaded ink_prelude v3.4.0 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded scale-info-derive v2.11.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93684bec47d3b63f47e6336910751020d0f427c522e5c5867a7b3c3878f14580 [INFO] running `Command { std: "docker" "start" "-a" "93684bec47d3b63f47e6336910751020d0f427c522e5c5867a7b3c3878f14580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93684bec47d3b63f47e6336910751020d0f427c522e5c5867a7b3c3878f14580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93684bec47d3b63f47e6336910751020d0f427c522e5c5867a7b3c3878f14580", kill_on_drop: false }` [INFO] [stdout] 93684bec47d3b63f47e6336910751020d0f427c522e5c5867a7b3c3878f14580 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c55c7b4d989f32611243441fb38fb1af85b193875b4c8f82cee6abab753078 [INFO] running `Command { std: "docker" "start" "-a" "83c55c7b4d989f32611243441fb38fb1af85b193875b4c8f82cee6abab753078", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ink_prelude v3.4.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ink_allocator v3.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Compiling ink_engine v3.4.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Compiling ink_metadata v3.4.0 [INFO] [stderr] Compiling ink_env v3.4.0 [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Compiling ink_storage v3.4.0 [INFO] [stderr] Compiling ink_lang v3.4.0 [INFO] [stderr] Compiling trait_erc20 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// A simple ERC-20 contract. [INFO] [stdout] 61 | | #[ink(storage)] [INFO] [stdout] 62 | | #[derive(SpreadAllocate)] [INFO] [stdout] 63 | | pub struct Erc20 { [INFO] [stdout] ... | [INFO] [stdout] 70 | | allowances: Mapping<(AccountId, AccountId), Balance>, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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_lang_macro` crate, try updating your dependency with `cargo update -p ink_lang_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:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / /// Creates a new ERC-20 contract with the specified initial supply. [INFO] [stdout] 98 | | #[ink(constructor)] [INFO] [stdout] 99 | | pub fn new(initial_supply: Balance) -> Self { [INFO] [stdout] 100 | | ink_lang::utils::initialize_contract(|contract| { [INFO] [stdout] 101 | | Self::new_init(contract, initial_supply) [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.63s [INFO] running `Command { std: "docker" "inspect" "83c55c7b4d989f32611243441fb38fb1af85b193875b4c8f82cee6abab753078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c55c7b4d989f32611243441fb38fb1af85b193875b4c8f82cee6abab753078", kill_on_drop: false }` [INFO] [stdout] 83c55c7b4d989f32611243441fb38fb1af85b193875b4c8f82cee6abab753078 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21ccbaafab17022aa1d8cf18257d5b337db69f4b497cb5299f66c01c13da2a4b [INFO] running `Command { std: "docker" "start" "-a" "21ccbaafab17022aa1d8cf18257d5b337db69f4b497cb5299f66c01c13da2a4b", kill_on_drop: false }` [INFO] [stderr] Compiling trait_erc20 v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// A simple ERC-20 contract. [INFO] [stdout] 61 | | #[ink(storage)] [INFO] [stdout] 62 | | #[derive(SpreadAllocate)] [INFO] [stdout] 63 | | pub struct Erc20 { [INFO] [stdout] ... | [INFO] [stdout] 70 | | allowances: Mapping<(AccountId, AccountId), Balance>, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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_lang_macro` crate, try updating your dependency with `cargo update -p ink_lang_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:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / /// Creates a new ERC-20 contract with the specified initial supply. [INFO] [stdout] 98 | | #[ink(constructor)] [INFO] [stdout] 99 | | pub fn new(initial_supply: Balance) -> Self { [INFO] [stdout] 100 | | ink_lang::utils::initialize_contract(|contract| { [INFO] [stdout] 101 | | Self::new_init(contract, initial_supply) [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "21ccbaafab17022aa1d8cf18257d5b337db69f4b497cb5299f66c01c13da2a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ccbaafab17022aa1d8cf18257d5b337db69f4b497cb5299f66c01c13da2a4b", kill_on_drop: false }` [INFO] [stdout] 21ccbaafab17022aa1d8cf18257d5b337db69f4b497cb5299f66c01c13da2a4b