[INFO] cloning repository https://github.com/ILoomans/Ink-ERC20-With-Seats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ILoomans/Ink-ERC20-With-Seats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FILoomans%2FInk-ERC20-With-Seats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FILoomans%2FInk-ERC20-With-Seats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a79eadbac23ec966ca74550838ca1c0e5201611 [INFO] building ILoomans/Ink-ERC20-With-Seats/1a79eadbac23ec966ca74550838ca1c0e5201611 against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FILoomans%2FInk-ERC20-With-Seats" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ILoomans/Ink-ERC20-With-Seats on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ILoomans/Ink-ERC20-With-Seats [INFO] finished tweaking git repo https://github.com/ILoomans/Ink-ERC20-With-Seats [INFO] tweaked toml for git repo https://github.com/ILoomans/Ink-ERC20-With-Seats written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ILoomans/Ink-ERC20-With-Seats 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-slice-cast v1.1.0 [INFO] [stderr] Downloaded ink_engine v3.0.0-rc7 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded ink_primitives v3.0.0-rc7 [INFO] [stderr] Downloaded ink_allocator v3.0.0-rc7 [INFO] [stderr] Downloaded ink_lang v3.0.0-rc7 [INFO] [stderr] Downloaded ink_metadata v3.0.0-rc7 [INFO] [stderr] Downloaded ink_lang_macro v3.0.0-rc7 [INFO] [stderr] Downloaded ink_storage_derive v3.0.0-rc7 [INFO] [stderr] Downloaded ink_eth_compatibility v3.0.0-rc7 [INFO] [stderr] Downloaded ink_prelude v3.0.0-rc7 [INFO] [stderr] Downloaded ink_storage v3.0.0-rc7 [INFO] [stderr] Downloaded ink_env v3.0.0-rc7 [INFO] [stderr] Downloaded ink_lang_codegen v3.0.0-rc7 [INFO] [stderr] Downloaded ink_lang_ir v3.0.0-rc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a106a435b799b197edc6d210db671c9069de0963f9f299ccab514fdb0d9965 [INFO] running `Command { std: "docker" "start" "-a" "08a106a435b799b197edc6d210db671c9069de0963f9f299ccab514fdb0d9965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a106a435b799b197edc6d210db671c9069de0963f9f299ccab514fdb0d9965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a106a435b799b197edc6d210db671c9069de0963f9f299ccab514fdb0d9965", kill_on_drop: false }` [INFO] [stdout] 08a106a435b799b197edc6d210db671c9069de0963f9f299ccab514fdb0d9965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 142452ca2c58de2a835c273b5c90a11a419955b8a5a4ea1c81937049c85ece9a [INFO] running `Command { std: "docker" "start" "-a" "142452ca2c58de2a835c273b5c90a11a419955b8a5a4ea1c81937049c85ece9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling byte-slice-cast v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ink_prelude v3.0.0-rc7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling ink_allocator v3.0.0-rc7 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc7 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc7 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling scale-info-derive v1.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling scale-info v1.0.0 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc7 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc7 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc7 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling ink_metadata v3.0.0-rc7 [INFO] [stderr] Compiling ink_env v3.0.0-rc7 [INFO] [stderr] Compiling ink_storage v3.0.0-rc7 [INFO] [stderr] Compiling ink_eth_compatibility v3.0.0-rc7 [INFO] [stderr] Compiling ink_lang v3.0.0-rc7 [INFO] [stderr] Compiling erc20 v3.0.0-rc7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> lib.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | if(self.has_seats==true){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - if(self.has_seats==true){ [INFO] [stdout] 247 + if self.has_seats==true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> lib.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let caller = Self::env().caller(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let instance = Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> lib.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | self.transfer_from_to(&self.get_owner(),&to, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = self.transfer_from_to(&self.get_owner(),&to, value); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | self.env().transfer(self.owner,self.contract_balance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 291 | let _ = self.env().transfer(self.owner,self.contract_balance); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "142452ca2c58de2a835c273b5c90a11a419955b8a5a4ea1c81937049c85ece9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142452ca2c58de2a835c273b5c90a11a419955b8a5a4ea1c81937049c85ece9a", kill_on_drop: false }` [INFO] [stdout] 142452ca2c58de2a835c273b5c90a11a419955b8a5a4ea1c81937049c85ece9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f9c2854c4deff3000fa327c7520662d4d25033fded0869ded7f9b9d9e48098 [INFO] running `Command { std: "docker" "start" "-a" "55f9c2854c4deff3000fa327c7520662d4d25033fded0869ded7f9b9d9e48098", kill_on_drop: false }` [INFO] [stderr] Compiling erc20 v3.0.0-rc7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> lib.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | if(self.has_seats==true){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 247 - if(self.has_seats==true){ [INFO] [stdout] 247 + if self.has_seats==true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:456:26 [INFO] [stdout] | [INFO] [stdout] 456 | let _erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 456 | let _erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | let erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 474 | let erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | let erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 491 | let erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:512:29 [INFO] [stdout] | [INFO] [stdout] 512 | let mut erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 512 | let mut erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 545 | let mut erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 545 | let mut erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | let mut erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 590 | let mut erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> lib.rs:650:29 [INFO] [stdout] | [INFO] [stdout] 650 | let mut erc20 = Erc20::new(100); [INFO] [stdout] | ^^^^^^^^^^----- three arguments of type `u128`, `ink_env::AccountId`, and `std::vec::Vec` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> lib.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(initial_supply: Balance, price: u128, owner: AccountId,seats:Vec) -> Self { [INFO] [stdout] | ^^^ ----------------------- ----------- ---------------- ----------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 650 | let mut erc20 = Erc20::new(100, /* u128 */, /* ink_env::AccountId */, /* std::vec::Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `erc20` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "55f9c2854c4deff3000fa327c7520662d4d25033fded0869ded7f9b9d9e48098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f9c2854c4deff3000fa327c7520662d4d25033fded0869ded7f9b9d9e48098", kill_on_drop: false }` [INFO] [stdout] 55f9c2854c4deff3000fa327c7520662d4d25033fded0869ded7f9b9d9e48098