[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] bbf92f96ed447e1c37fe795329e4e09bdb67f1c3 [INFO] checking referencedev/fundraiser against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/referencedev/fundraiser on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking referencedev/fundraiser against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/referencedev/fundraiser on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking referencedev/fundraiser against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freferencedev%2Ffundraiser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/referencedev/fundraiser on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a290a5eac47761514e6b55516b70888c86bf0da26a93edd3f1c272dbe02d954a [INFO] running `Command { std: "docker" "start" "-a" "a290a5eac47761514e6b55516b70888c86bf0da26a93edd3f1c272dbe02d954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a290a5eac47761514e6b55516b70888c86bf0da26a93edd3f1c272dbe02d954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a290a5eac47761514e6b55516b70888c86bf0da26a93edd3f1c272dbe02d954a", kill_on_drop: false }` [INFO] [stdout] a290a5eac47761514e6b55516b70888c86bf0da26a93edd3f1c272dbe02d954a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d220c7a1358b273cf47258c27c9550e12dbad1074109b386f40eecf2e9ad43bf [INFO] running `Command { std: "docker" "start" "-a" "d220c7a1358b273cf47258c27c9550e12dbad1074109b386f40eecf2e9ad43bf", 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 serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [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 hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [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] Checking ahash v0.4.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling convert_case v0.4.0 [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 cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [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:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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[E0425]: cannot find value `CREATE_LINK_AMOUNT` in this scope [INFO] [stdout] --> src/lib.rs:489:31 [INFO] [stdout] | [INFO] [stdout] 489 | .attached_deposit(CREATE_LINK_AMOUNT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `u128` is not an iterator [INFO] [stdout] --> src/lib.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | 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:358:47 [INFO] [stdout] | [INFO] [stdout] 358 | 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] 358 | hard_max_amount_limit: max_amount.is_one(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `refund_available` in initializer of `SaleInput` [INFO] [stdout] --> src/lib.rs:335:30 [INFO] [stdout] | [INFO] [stdout] 335 | contract.create_sale(SaleInput { [INFO] [stdout] | ^^^^^^^^^ missing `refund_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:372:33 [INFO] [stdout] | [INFO] [stdout] 372 | 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:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | 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:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | 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:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 384 | 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:411:18 [INFO] [stdout] | [INFO] [stdout] 411 | 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:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 411 | 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:466:18 [INFO] [stdout] | [INFO] [stdout] 466 | 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:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 466 | 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:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | 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:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn join(&mut self, referrer_id: Option) { [INFO] [stdout] | ^^^^ ------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 486 | contract.join(/* std::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_link` found for struct `Contract` in the current scope [INFO] [stdout] --> src/lib.rs:492:18 [INFO] [stdout] | [INFO] [stdout] 155 | struct Contract { [INFO] [stdout] | --------------- method `create_link` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 492 | contract.create_link(pk.clone()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `remove_link` found for struct `Contract` in the current scope [INFO] [stdout] --> src/lib.rs:493:18 [INFO] [stdout] | [INFO] [stdout] 155 | struct Contract { [INFO] [stdout] | --------------- method `remove_link` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 493 | contract.remove_link(pk); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:499:67 [INFO] [stdout] | [INFO] [stdout] 499 | 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:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | max_amount: Balance, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:507:67 [INFO] [stdout] | [INFO] [stdout] 507 | 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:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | fn contract_with_sale_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | max_amount: Balance, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0425, 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 15 previous errors [INFO] running `Command { std: "docker" "inspect" "d220c7a1358b273cf47258c27c9550e12dbad1074109b386f40eecf2e9ad43bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d220c7a1358b273cf47258c27c9550e12dbad1074109b386f40eecf2e9ad43bf", kill_on_drop: false }` [INFO] [stdout] d220c7a1358b273cf47258c27c9550e12dbad1074109b386f40eecf2e9ad43bf