[INFO] cloning repository https://github.com/HAPIprotocol/fundraiser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HAPIprotocol/fundraiser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAPIprotocol%2Ffundraiser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAPIprotocol%2Ffundraiser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1245816599f8a8018ce8c919ac4297455c962d45 [INFO] checking HAPIprotocol/fundraiser against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAPIprotocol%2Ffundraiser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HAPIprotocol/fundraiser on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HAPIprotocol/fundraiser [INFO] finished tweaking git repo https://github.com/HAPIprotocol/fundraiser [INFO] tweaked toml for git repo https://github.com/HAPIprotocol/fundraiser written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HAPIprotocol/fundraiser 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.4 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Downloaded near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded near-primitives-core v0.4.0 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Downloaded near-sys v0.1.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded borsh v0.8.2 [INFO] [stderr] Downloaded near-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded syn v1.0.57 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded near-contract-standards v4.0.0-pre.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abed540fca5d989fc434462f24fe11c902903dd0dab166790dea30e2b0ef5166 [INFO] running `Command { std: "docker" "start" "-a" "abed540fca5d989fc434462f24fe11c902903dd0dab166790dea30e2b0ef5166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abed540fca5d989fc434462f24fe11c902903dd0dab166790dea30e2b0ef5166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abed540fca5d989fc434462f24fe11c902903dd0dab166790dea30e2b0ef5166", kill_on_drop: false }` [INFO] [stdout] abed540fca5d989fc434462f24fe11c902903dd0dab166790dea30e2b0ef5166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 348567f9be7553bb109d99fd73af1683f45d231c4be906ce667a0863a502931b [INFO] running `Command { std: "docker" "start" "-a" "348567f9be7553bb109d99fd73af1683f45d231c4be906ce667a0863a502931b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v4.0.0-pre.4 [INFO] [stderr] Checking near-contract-standards v4.0.0-pre.4 [INFO] [stderr] Checking fundraiser v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `migration_1` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod migration_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `migration_1`, create file "src/migration_1.rs" or "src/migration_1/mod.rs" [INFO] [stdout] = note: if there is a `mod migration_1` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `migration_1` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod migration_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `migration_1`, create file "src/migration_1.rs" or "src/migration_1/mod.rs" [INFO] [stdout] = note: if there is a `mod migration_1` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PromiseOrValue` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:70 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `PromiseOrValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `borsh` is imported redundantly [INFO] [stdout] --> src/sale.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `borsh` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `UnorderedMap` is imported redundantly [INFO] [stdout] --> src/sale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use near_sdk::collections::UnorderedMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `UnorderedMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U128` is imported redundantly [INFO] [stdout] --> src/sale.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use near_sdk::json_types::{U128, U64}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `U128` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U128` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::json_types::U128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `U128` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::{env, ext_contract, serde_json}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountId` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `AccountId` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Balance` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `Balance` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PromiseOrValue` is imported redundantly [INFO] [stdout] --> src/sale.rs:3:70 [INFO] [stdout] | [INFO] [stdout] 3 | AccountId, Balance, CryptoHash, ext_contract, log, PromiseError, PromiseOrValue, PromiseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `PromiseOrValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `borsh` is imported redundantly [INFO] [stdout] --> src/sale.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `borsh` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `UnorderedMap` is imported redundantly [INFO] [stdout] --> src/sale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use near_sdk::collections::UnorderedMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `UnorderedMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U128` is imported redundantly [INFO] [stdout] --> src/sale.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use near_sdk::json_types::{U128, U64}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::*; [INFO] [stdout] | -------- the item `U128` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U128` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::json_types::U128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `U128` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env` is imported redundantly [INFO] [stdout] --> src/token_receiver.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::{env, ext_contract, serde_json}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::*; [INFO] [stdout] | -------- the item `env` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SaleInput` has no field named `distribute_supply_amount` [INFO] [stdout] --> src/lib.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | distribute_supply_amount: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `SaleInput` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `refund_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `u128` is not an iterator [INFO] [stdout] --> src/lib.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | max_amount: max_amount.map(|a| U128(a)), [INFO] [stdout] | ^^^ `u128` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `u128: Iterator` [INFO] [stdout] which is required by `&mut u128: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_some` found for type `u128` in the current scope [INFO] [stdout] --> src/lib.rs:427:47 [INFO] [stdout] | [INFO] [stdout] 427 | hard_max_amount_limit: max_amount.is_some(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 427 | hard_max_amount_limit: max_amount.is_one(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | contract_with_sale_info(Some(10000), 0, 1_000_000_000) [INFO] [stdout] | ----------------------- ^^^^^^^^^^^ expected `u128`, found `Option<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<{integer}>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 394 | max_amount: Balance, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | contract.join(); [INFO] [stdout] | ^^^^-- an argument of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 453 | contract.join(/* std::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 480 | contract.join(); [INFO] [stdout] | ^^^^-- an argument of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 480 | contract.join(/* std::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:535:18 [INFO] [stdout] | [INFO] [stdout] 535 | contract.join(); [INFO] [stdout] | ^^^^-- an argument of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 535 | contract.join(/* std::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:555:18 [INFO] [stdout] | [INFO] [stdout] 555 | contract.join(); [INFO] [stdout] | ^^^^-- an argument of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 555 | contract.join(/* std::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:568:67 [INFO] [stdout] | [INFO] [stdout] 568 | let (mut context, mut contract) = contract_with_sale_info(None, 1_000, 1_000_000); [INFO] [stdout] | ----------------------- ^^^^ expected `u128`, found `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 394 | max_amount: Balance, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:576:67 [INFO] [stdout] | [INFO] [stdout] 576 | let (mut context, mut contract) = contract_with_sale_info(None, 1_000, 1_000_000); [INFO] [stdout] | ----------------------- ^^^^ expected `u128`, found `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 394 | max_amount: Balance, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fundraiser` (lib) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0560, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fundraiser` (lib test) due to 12 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "348567f9be7553bb109d99fd73af1683f45d231c4be906ce667a0863a502931b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348567f9be7553bb109d99fd73af1683f45d231c4be906ce667a0863a502931b", kill_on_drop: false }` [INFO] [stdout] 348567f9be7553bb109d99fd73af1683f45d231c4be906ce667a0863a502931b [INFO] checking HAPIprotocol/fundraiser against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAPIprotocol%2Ffundraiser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HAPIprotocol/fundraiser on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HAPIprotocol/fundraiser [INFO] finished tweaking git repo https://github.com/HAPIprotocol/fundraiser [INFO] tweaked toml for git repo https://github.com/HAPIprotocol/fundraiser written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HAPIprotocol/fundraiser 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71a562de4f027f6519baf8f6f92f5dcf29325a1f55863fa53cb665c403849aa [INFO] running `Command { std: "docker" "start" "-a" "d71a562de4f027f6519baf8f6f92f5dcf29325a1f55863fa53cb665c403849aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71a562de4f027f6519baf8f6f92f5dcf29325a1f55863fa53cb665c403849aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71a562de4f027f6519baf8f6f92f5dcf29325a1f55863fa53cb665c403849aa", kill_on_drop: false }` [INFO] [stdout] d71a562de4f027f6519baf8f6f92f5dcf29325a1f55863fa53cb665c403849aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a7ed2094a4a9110e10cc3f891f3c230c6862686d75de75b11bbb1d9e08780f [INFO] running `Command { std: "docker" "start" "-a" "42a7ed2094a4a9110e10cc3f891f3c230c6862686d75de75b11bbb1d9e08780f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "42a7ed2094a4a9110e10cc3f891f3c230c6862686d75de75b11bbb1d9e08780f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a7ed2094a4a9110e10cc3f891f3c230c6862686d75de75b11bbb1d9e08780f", kill_on_drop: false }` [INFO] [stdout] 42a7ed2094a4a9110e10cc3f891f3c230c6862686d75de75b11bbb1d9e08780f