[INFO] cloning repository https://github.com/referencedev/fundraiser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/referencedev/fundraiser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a40ebadbda5b06c16031a9bda3395c708df6f661 [INFO] checking referencedev/fundraiser against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/referencedev/fundraiser on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/referencedev/fundraiser [INFO] finished tweaking git repo https://github.com/referencedev/fundraiser [INFO] tweaked toml for git repo https://github.com/referencedev/fundraiser written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/referencedev/fundraiser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9708217d645c97a9f1bcedd1f6b967beb6f82472b950221565c47e990d8760af [INFO] running `Command { std: "docker" "start" "-a" "9708217d645c97a9f1bcedd1f6b967beb6f82472b950221565c47e990d8760af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9708217d645c97a9f1bcedd1f6b967beb6f82472b950221565c47e990d8760af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9708217d645c97a9f1bcedd1f6b967beb6f82472b950221565c47e990d8760af", kill_on_drop: false }` [INFO] [stdout] 9708217d645c97a9f1bcedd1f6b967beb6f82472b950221565c47e990d8760af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79aba23b956f0dd06640b321cf50a714aaf65e2b2235ebd8da7e510f678fb6b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79aba23b956f0dd06640b321cf50a714aaf65e2b2235ebd8da7e510f678fb6b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [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] Checking aho-corasick v0.7.18 [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 serde_derive v1.0.118 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling serde v1.0.118 [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] [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] [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: `metadata`, `staking_contracts`, `min_near_deposit`, `deposit_token_id`, `claim_available` ... and 13 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for type `u128`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | max_amount: max_amount.map(|a| U128(a)), [INFO] [stdout] | ^^^ method cannot be called on `u128` due to unsatisfied trait bounds [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] | ^^^^^^^ method not found in `u128` [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 enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | contract.join(); [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 480 | contract.join(); [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:535:18 [INFO] [stdout] | [INFO] [stdout] 535 | contract.join(); [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:555:18 [INFO] [stdout] | [INFO] [stdout] 555 | contract.join(); [INFO] [stdout] | ^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [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 enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<_>` [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 enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u128` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "79aba23b956f0dd06640b321cf50a714aaf65e2b2235ebd8da7e510f678fb6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79aba23b956f0dd06640b321cf50a714aaf65e2b2235ebd8da7e510f678fb6b8", kill_on_drop: false }` [INFO] [stdout] 79aba23b956f0dd06640b321cf50a714aaf65e2b2235ebd8da7e510f678fb6b8