[INFO] cloning repository https://github.com/dabogdan/voting-with-no-loops [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dabogdan/voting-with-no-loops" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabogdan%2Fvoting-with-no-loops", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabogdan%2Fvoting-with-no-loops'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd795853eabee5faa3cff265428423c9d150a030 [INFO] testing dabogdan/voting-with-no-loops/fd795853eabee5faa3cff265428423c9d150a030 against 1.82.0 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabogdan%2Fvoting-with-no-loops" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dabogdan/voting-with-no-loops on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dabogdan/voting-with-no-loops [INFO] finished tweaking git repo https://github.com/dabogdan/voting-with-no-loops [INFO] tweaked toml for git repo https://github.com/dabogdan/voting-with-no-loops written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dabogdan/voting-with-no-loops already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Brushfam/openbrush-contracts` [INFO] [stderr] Updating git repository `https://github.com/Brushfam/pallet-assets-chain-extension` [INFO] [stderr] Updating git repository `https://github.com/727-Ventures/obce` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.13.7 [INFO] [stderr] Downloaded solana-frozen-abi v1.13.7 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded solana-program v1.13.7 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded ink_engine v3.4.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 solana-frozen-abi-macro v1.13.7 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] [stderr] Downloaded tuple v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1d1b99902b3d33c0334d42cd9509124efc503657c8ae1d1778c76dc9d270e6b [INFO] running `Command { std: "docker" "start" "-a" "b1d1b99902b3d33c0334d42cd9509124efc503657c8ae1d1778c76dc9d270e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1d1b99902b3d33c0334d42cd9509124efc503657c8ae1d1778c76dc9d270e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d1b99902b3d33c0334d42cd9509124efc503657c8ae1d1778c76dc9d270e6b", kill_on_drop: false }` [INFO] [stdout] b1d1b99902b3d33c0334d42cd9509124efc503657c8ae1d1778c76dc9d270e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a8ec325e6f7cd19590fefa7fa70c470ed3cb2b4369bcb11bbfd279865d7c83 [INFO] running `Command { std: "docker" "start" "-a" "f3a8ec325e6f7cd19590fefa7fa70c470ed3cb2b4369bcb11bbfd279865d7c83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling cc v1.0.84 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ink_prelude v4.3.0 [INFO] [stderr] Compiling xxhash-rust v0.8.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [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 wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling ink_allocator v4.3.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.13.7 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling solana-frozen-abi v1.13.7 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parity-scale-codec v3.6.5 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling scale-info v2.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tuple v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [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 semver v0.11.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling cargo_metadata v0.13.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling obce-codegen v0.1.0 (https://github.com/727-Ventures/obce?branch=polkadot-v0.9.37#d452f6ed) [INFO] [stderr] Compiling serde_bytes v0.11.12 [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 hashbrown v0.11.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling solana-program v1.13.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ink_storage_traits v4.3.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling ink_env v4.3.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ink_prelude v3.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling openbrush_lang_codegen v4.0.0-beta.1 (https://github.com/Brushfam/openbrush-contracts?branch=develop#027b066c) [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling ink_storage v4.3.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling solana-sdk-macro v1.13.7 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling obce-macro v0.1.0 (https://github.com/727-Ventures/obce?branch=polkadot-v0.9.37#d452f6ed) [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ink_engine v3.4.0 [INFO] [stderr] Compiling ink_metadata v3.4.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling ink_allocator v3.4.0 [INFO] [stderr] Compiling ink_env v3.4.0 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Compiling ink v4.3.0 [INFO] [stderr] Compiling openbrush_lang_macro v4.0.0-beta.1 (https://github.com/Brushfam/openbrush-contracts?branch=develop#027b066c) [INFO] [stderr] Compiling obce v0.1.0 (https://github.com/727-Ventures/obce?branch=polkadot-v0.9.37#d452f6ed) [INFO] [stderr] Compiling pallet-assets-chain-extension v0.1.1 (https://github.com/Brushfam/pallet-assets-chain-extension?branch=polkadot-v0.9.37#f8ea3741) [INFO] [stderr] Compiling ink_storage v3.4.0 [INFO] [stderr] Compiling openbrush_lang v4.0.0-beta.1 (https://github.com/Brushfam/openbrush-contracts?branch=develop#027b066c) [INFO] [stderr] Compiling openbrush_contracts v4.0.0-beta.1 (https://github.com/Brushfam/openbrush-contracts?branch=develop#027b066c) [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Compiling ink_lang v3.4.0 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling openbrush v4.0.0-beta.1 (https://github.com/Brushfam/openbrush-contracts?branch=develop#027b066c) [INFO] [stderr] Compiling metaplex-token-vault v0.0.1 [INFO] [stderr] Compiling metaplex-token-metadata v0.0.1 [INFO] [stderr] Compiling erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Erc20 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `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_Constructor` [INFO] [stdout] --> lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(total_supply: Balance) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.48s [INFO] running `Command { std: "docker" "inspect" "f3a8ec325e6f7cd19590fefa7fa70c470ed3cb2b4369bcb11bbfd279865d7c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a8ec325e6f7cd19590fefa7fa70c470ed3cb2b4369bcb11bbfd279865d7c83", kill_on_drop: false }` [INFO] [stdout] f3a8ec325e6f7cd19590fefa7fa70c470ed3cb2b4369bcb11bbfd279865d7c83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50abc8066a7b7592011478d7df028df69a1f311aa9fc856487b73470b916837b [INFO] running `Command { std: "docker" "start" "-a" "50abc8066a7b7592011478d7df028df69a1f311aa9fc856487b73470b916837b", kill_on_drop: false }` [INFO] [stderr] Compiling erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Erc20 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `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_Constructor` [INFO] [stdout] --> lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(total_supply: Balance) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `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] [stdout] warning: unused variable: `accounts` [INFO] [stdout] --> lib.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | let accounts: ink::env::test::DefaultAccounts = default_accounts(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "50abc8066a7b7592011478d7df028df69a1f311aa9fc856487b73470b916837b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50abc8066a7b7592011478d7df028df69a1f311aa9fc856487b73470b916837b", kill_on_drop: false }` [INFO] [stdout] 50abc8066a7b7592011478d7df028df69a1f311aa9fc856487b73470b916837b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61879545f0b18aa9259812214c52094a70e6b8027d401d19723b450342b59f64 [INFO] running `Command { std: "docker" "start" "-a" "61879545f0b18aa9259812214c52094a70e6b8027d401d19723b450342b59f64", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stderr] --> lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Erc20 { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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_Constructor` [INFO] [stderr] --> lib.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn new(total_supply: Balance) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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 variable: `accounts` [INFO] [stderr] --> lib.rs:629:17 [INFO] [stderr] | [INFO] [stderr] 629 | let accounts: ink::env::test::DefaultAccounts = default_accounts(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `erc20` (lib test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/erc20-db98cea8f0ff0567) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test erc20::tests::approve_error ... ok [INFO] [stdout] test erc20::tests::burn_fee_works ... ok [INFO] [stdout] test erc20::tests::approve_happens ... ok [INFO] [stdout] test erc20::tests::buy_works ... ok [INFO] [stdout] test erc20::tests::returns_zero_balance ... ok [INFO] [stdout] test erc20::tests::end_voting_success ... ok [INFO] [stdout] test erc20::tests::initiate_voting_works ... ok [INFO] [stdout] test erc20::tests::transfer_error_when_insfficient_funds ... ok [INFO] [stdout] test erc20::tests::returns_total_supply ... ok [INFO] [stdout] test erc20::tests::transfer_from_error_when_insfficient_funds ... ok [INFO] [stdout] test erc20::tests::transfer_from_error_insufficient_allowance ... ok [INFO] [stdout] test erc20::tests::transfer_from_happens ... ok [INFO] [stdout] test erc20::tests::returns_balance_of_msg_sender ... ok [INFO] [stdout] test erc20::tests::transfer_happens ... ok [INFO] [stdout] test erc20::tests::vote_accepted ... ok [INFO] [stdout] test erc20::tests::sell_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- erc20::tests::sell_works stdout ---- [INFO] [stdout] thread 'erc20::tests::sell_works' panicked at lib.rs:302:52: [INFO] [stdout] attempt to subtract with overflow [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5acfc90b7fca - std::backtrace_rs::backtrace::libunwind::trace::h99efb0985cae5d78 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5acfc90b7fca - std::backtrace_rs::backtrace::trace_unsynchronized::he2c1aa63b3f7fad8 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5acfc90b7fca - std::sys::backtrace::_print_fmt::h8a221d40f5e0f88b [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5acfc90b7fca - ::fmt::h304520fd6a30aa07 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5acfc90de2bb - core::fmt::rt::Argument::fmt::h5da9c218ec984eaf [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5acfc90de2bb - core::fmt::write::hf5713710ce10ff22 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5acfc90b51f3 - std::io::Write::write_fmt::h786683024e26df0d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5acfc90b97d2 - std::sys::backtrace::BacktraceLock::print::hbcdbec4d97c91528 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5acfc90b97d2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x5acfc90b9313 - std::panicking::default_hook::h81c8cd2e7c59ee33 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x5acfc902c119 - as core::ops::function::Fn>::call::h6ef31d9fe3b4da7d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x5acfc902c119 - test::test_main::{{closure}}::h97736fed204a235d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5acfc90ba092 - as core::ops::function::Fn>::call::h375ef7f99b271d16 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x5acfc90ba092 - std::panicking::rust_panic_with_hook::had2118629c312a4a [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x5acfc90b9d13 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:664:13 [INFO] [stdout] 15: 0x5acfc90b84a9 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5acfc90b99d4 - rust_begin_unwind [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x5acfc8fd3ab3 - core::panicking::panic_fmt::h3eea515d05f7a35e [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5acfc8fd41f7 - core::panicking::panic_const::panic_const_sub_overflow::hc19f6e78060f2931 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:181:21 [INFO] [stdout] 19: 0x5acfc8fedb9d - erc20::erc20::_::::sell::h44fd92c4503d7d25 [INFO] [stdout] at /opt/rustwide/workdir/lib.rs:302:52 [INFO] [stdout] 20: 0x5acfc8fdcbf2 - erc20::erc20::tests::sell_works::{{closure}}::hdbfe4c16704f3a13 [INFO] [stdout] at /opt/rustwide/workdir/lib.rs:616:24 [INFO] [stdout] 21: 0x5acfc8fdf88a - ink_env::engine::off_chain::test_api::run_test::h1582d5c078ffcaef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_env-4.3.0/src/engine/off_chain/test_api.rs:318:5 [INFO] [stdout] 22: 0x5acfc8fdc94c - erc20::erc20::tests::sell_works::hab1c5bb027384405 [INFO] [stdout] at /opt/rustwide/workdir/lib.rs:603:9 [INFO] [stdout] 23: 0x5acfc8fdc927 - erc20::erc20::tests::sell_works::{{closure}}::he259f5caa5aa6687 [INFO] [stdout] at /opt/rustwide/workdir/lib.rs:603:21 [INFO] [stdout] 24: 0x5acfc8fd4f26 - core::ops::function::FnOnce::call_once::heba3574c7dd46cee [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5acfc9030a1b - core::ops::function::FnOnce::call_once::h8cb4701a559728b6 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5acfc9030a1b - test::__rust_begin_short_backtrace::hbd02dbd41797127f [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:620:18 [INFO] [stdout] 27: 0x5acfc9030308 - test::run_test_in_process::{{closure}}::h9b9c40b959cf4b0a [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:643:60 [INFO] [stdout] 28: 0x5acfc9030308 - as core::ops::function::FnOnce<()>>::call_once::h80ca0f237bf0daa4 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5acfc9030308 - std::panicking::try::do_call::h74ee75d3e2d7ba36 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40 [INFO] [stdout] 30: 0x5acfc9030308 - std::panicking::try::h2ae7db1dc2a281fc [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19 [INFO] [stdout] 31: 0x5acfc9030308 - std::panic::catch_unwind::h25732d5472f1001d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14 [INFO] [stdout] 32: 0x5acfc9030308 - test::run_test_in_process::h1e17135aacb29db6 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:643:27 [INFO] [stdout] 33: 0x5acfc9030308 - test::run_test::{{closure}}::h65f9c94bff1a7861 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:564:43 [INFO] [stdout] 34: 0x5acfc8ff56d4 - test::run_test::{{closure}}::ha23ee43b6be2939d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/test/src/lib.rs:594:41 [INFO] [stdout] 35: 0x5acfc8ff56d4 - std::sys::backtrace::__rust_begin_short_backtrace::h160ed2f20abbd124 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 36: 0x5acfc8ff8d82 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h076d93a5dd61b367 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 37: 0x5acfc8ff8d82 - as core::ops::function::FnOnce<()>>::call_once::hb7dffecae4d2a0df [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5acfc8ff8d82 - std::panicking::try::do_call::h425c243d1cd119a5 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40 [INFO] [stdout] 39: 0x5acfc8ff8d82 - std::panicking::try::h5ff57b1fa4d0634d [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19 [INFO] [stdout] 40: 0x5acfc8ff8d82 - std::panic::catch_unwind::h69dc0395c7d606c8 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14 [INFO] [stdout] 41: 0x5acfc8ff8d82 - std::thread::Builder::spawn_unchecked_::{{closure}}::hd987ad26725d6b64 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 42: 0x5acfc8ff8d82 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h262984108de629b4 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5acfc90be0ab - as core::ops::function::FnOnce>::call_once::hd6eefa32c9acf934 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 44: 0x5acfc90be0ab - as core::ops::function::FnOnce>::call_once::h6bca3a1f077b8c81 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 45: 0x5acfc90be0ab - std::sys::pal::unix::thread::Thread::new::thread_start::hcdbd1049068002f4 [INFO] [stdout] at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 46: 0x7b94d8f42ac3 - [INFO] [stdout] 47: 0x7b94d8fd3a04 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] erc20::tests::sell_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "61879545f0b18aa9259812214c52094a70e6b8027d401d19723b450342b59f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61879545f0b18aa9259812214c52094a70e6b8027d401d19723b450342b59f64", kill_on_drop: false }` [INFO] [stdout] 61879545f0b18aa9259812214c52094a70e6b8027d401d19723b450342b59f64