[INFO] fetching crate graphix-package-rand 0.4.0... [INFO] checking graphix-package-rand-0.4.0 against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] extracting crate graphix-package-rand 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate graphix-package-rand 0.4.0 [INFO] finished tweaking crates.io crate graphix-package-rand 0.4.0 [INFO] tweaked toml for crates.io crate graphix-package-rand 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graphix-package-rand 0.4.0 on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate graphix-package-rand 0.4.0 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2bd25a7f59ba5cc80895b563c4e4efa41bc2cf76eb28ea29d99e745920be085 [INFO] running `Command { std: "docker" "start" "-a" "f2bd25a7f59ba5cc80895b563c4e4efa41bc2cf76eb28ea29d99e745920be085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2bd25a7f59ba5cc80895b563c4e4efa41bc2cf76eb28ea29d99e745920be085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bd25a7f59ba5cc80895b563c4e4efa41bc2cf76eb28ea29d99e745920be085", kill_on_drop: false }` [INFO] [stdout] f2bd25a7f59ba5cc80895b563c4e4efa41bc2cf76eb28ea29d99e745920be085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c2dce0f384a8da1977a086e3b83f014365db53973925d1c4f424c679cfab16 [INFO] running `Command { std: "docker" "start" "-a" "a2c2dce0f384a8da1977a086e3b83f014365db53973925d1c4f424c679cfab16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling deranged v0.5.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling poolshark_derive v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling netidx-derive v0.31.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking triomphe v0.1.15 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling poolshark v0.2.7 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling libgssapi-sys v0.3.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling asn1-rs v0.7.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Checking escaping v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking netidx-core v0.31.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling fish-printf v0.2.1 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking libgssapi v0.9.1 [INFO] [stderr] Compiling der-parser v10.0.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking netidx-value v0.31.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling x509-parser v0.18.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking netidx-netproto v0.31.3 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Checking cross-krb5 v0.4.2 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling if-addrs v0.14.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling keyring v3.6.3 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Compiling toml_edit v0.25.3+spec-1.1.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Compiling cargo_toml v0.22.3 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking handlebars v6.4.0 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking toml v1.0.3+spec-1.1.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking crates_io_api v0.12.0 [INFO] [stderr] Checking cp_r v0.5.2 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking jiff v0.2.20 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking netidx v0.31.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking netidx-protocols v0.31.1 [INFO] [stderr] Checking graphix-compiler v0.4.0 [INFO] [stderr] Checking graphix-rt v0.4.0 [INFO] [stderr] Compiling graphix-derive v0.4.0 [INFO] [stderr] Checking graphix-package v0.4.0 [INFO] [stderr] Checking graphix-package-core v0.4.0 [INFO] [stderr] Checking graphix-package-rand v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | run!(rand_float_default, RAND_FLOAT_DEFAULT, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | __________________________________________________________________| [INFO] [stdout] 10 | || match v { [INFO] [stdout] 11 | || Ok(Value::F64(f)) => *f >= 0.0 && *f < 1.0, [INFO] [stdout] 12 | || _ => false, [INFO] [stdout] 13 | || } [INFO] [stdout] 14 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 9 ~ run!(rand_float_default, RAND_FLOAT_DEFAULT, (|v: Result<&Value>| { [INFO] [stdout] 10 | match v { [INFO] [stdout] ... [INFO] [stdout] 13 | } [INFO] [stdout] 14 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | run!(rand_float_default, RAND_FLOAT_DEFAULT, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | __________________________________________________________________| [INFO] [stdout] 10 | || match v { [INFO] [stdout] 11 | || Ok(Value::F64(f)) => *f >= 0.0 && *f < 1.0, [INFO] [stdout] 12 | || _ => false, [INFO] [stdout] 13 | || } [INFO] [stdout] 14 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 9 ~ run!(rand_float_default, RAND_FLOAT_DEFAULT, (|v: Result<&Value>| { [INFO] [stdout] 10 | match v { [INFO] [stdout] ... [INFO] [stdout] 13 | } [INFO] [stdout] 14 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | run!(rand_float_range, RAND_FLOAT_RANGE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ______________________________________________________________| [INFO] [stdout] 21 | || match v { [INFO] [stdout] 22 | || Ok(Value::F64(f)) => *f >= 10.0 && *f < 20.0, [INFO] [stdout] 23 | || _ => false, [INFO] [stdout] 24 | || } [INFO] [stdout] 25 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 20 ~ run!(rand_float_range, RAND_FLOAT_RANGE, (|v: Result<&Value>| { [INFO] [stdout] 21 | match v { [INFO] [stdout] ... [INFO] [stdout] 24 | } [INFO] [stdout] 25 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | run!(rand_float_range, RAND_FLOAT_RANGE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ______________________________________________________________| [INFO] [stdout] 21 | || match v { [INFO] [stdout] 22 | || Ok(Value::F64(f)) => *f >= 10.0 && *f < 20.0, [INFO] [stdout] 23 | || _ => false, [INFO] [stdout] 24 | || } [INFO] [stdout] 25 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 20 ~ run!(rand_float_range, RAND_FLOAT_RANGE, (|v: Result<&Value>| { [INFO] [stdout] 21 | match v { [INFO] [stdout] ... [INFO] [stdout] 24 | } [INFO] [stdout] 25 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | run!(rand_int_range, RAND_INT_RANGE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | __________________________________________________________| [INFO] [stdout] 32 | || match v { [INFO] [stdout] 33 | || Ok(Value::I64(i)) => *i >= 0 && *i < 100, [INFO] [stdout] 34 | || _ => false, [INFO] [stdout] 35 | || } [INFO] [stdout] 36 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 31 ~ run!(rand_int_range, RAND_INT_RANGE, (|v: Result<&Value>| { [INFO] [stdout] 32 | match v { [INFO] [stdout] ... [INFO] [stdout] 35 | } [INFO] [stdout] 36 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | run!(rand_int_range, RAND_INT_RANGE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | __________________________________________________________| [INFO] [stdout] 32 | || match v { [INFO] [stdout] 33 | || Ok(Value::I64(i)) => *i >= 0 && *i < 100, [INFO] [stdout] 34 | || _ => false, [INFO] [stdout] 35 | || } [INFO] [stdout] 36 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 31 ~ run!(rand_int_range, RAND_INT_RANGE, (|v: Result<&Value>| { [INFO] [stdout] 32 | match v { [INFO] [stdout] ... [INFO] [stdout] 35 | } [INFO] [stdout] 36 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | run!(pick_from_array, PICK_FROM_ARRAY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ____________________________________________________________| [INFO] [stdout] 43 | || match v { [INFO] [stdout] 44 | || Ok(Value::I64(i)) => *i == 10 || *i == 20 || *i == 30, [INFO] [stdout] 45 | || _ => false, [INFO] [stdout] 46 | || } [INFO] [stdout] 47 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 42 ~ run!(pick_from_array, PICK_FROM_ARRAY, (|v: Result<&Value>| { [INFO] [stdout] 43 | match v { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | run!(pick_from_array, PICK_FROM_ARRAY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ____________________________________________________________| [INFO] [stdout] 43 | || match v { [INFO] [stdout] 44 | || Ok(Value::I64(i)) => *i == 10 || *i == 20 || *i == 30, [INFO] [stdout] 45 | || _ => false, [INFO] [stdout] 46 | || } [INFO] [stdout] 47 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 42 ~ run!(pick_from_array, PICK_FROM_ARRAY, (|v: Result<&Value>| { [INFO] [stdout] 43 | match v { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | run!(pick_single, PICK_SINGLE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ____________________________________________________| [INFO] [stdout] 54 | || match v { [INFO] [stdout] 55 | || Ok(Value::I64(42)) => true, [INFO] [stdout] 56 | || _ => false, [INFO] [stdout] 57 | || } [INFO] [stdout] 58 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 53 ~ run!(pick_single, PICK_SINGLE, (|v: Result<&Value>| { [INFO] [stdout] 54 | match v { [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] 58 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | run!(pick_single, PICK_SINGLE, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ____________________________________________________| [INFO] [stdout] 54 | || match v { [INFO] [stdout] 55 | || Ok(Value::I64(42)) => true, [INFO] [stdout] 56 | || _ => false, [INFO] [stdout] 57 | || } [INFO] [stdout] 58 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 53 ~ run!(pick_single, PICK_SINGLE, (|v: Result<&Value>| { [INFO] [stdout] 54 | match v { [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] 58 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | run!(shuffle_array, SHUFFLE_ARRAY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ________________________________________________________| [INFO] [stdout] 65 | || match v { [INFO] [stdout] 66 | || Ok(Value::Array(a)) => { [INFO] [stdout] 67 | || a.len() == 3 [INFO] [stdout] ... || [INFO] [stdout] 74 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 64 ~ run!(shuffle_array, SHUFFLE_ARRAY, (|v: Result<&Value>| { [INFO] [stdout] 65 | match v { [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | run!(shuffle_array, SHUFFLE_ARRAY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ________________________________________________________| [INFO] [stdout] 65 | || match v { [INFO] [stdout] 66 | || Ok(Value::Array(a)) => { [INFO] [stdout] 67 | || a.len() == 3 [INFO] [stdout] ... || [INFO] [stdout] 74 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 64 ~ run!(shuffle_array, SHUFFLE_ARRAY, (|v: Result<&Value>| { [INFO] [stdout] 65 | match v { [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | run!(shuffle_empty, SHUFFLE_EMPTY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ________________________________________________________| [INFO] [stdout] 81 | || match v { [INFO] [stdout] 82 | || Ok(Value::Array(a)) => a.is_empty(), [INFO] [stdout] 83 | || _ => false, [INFO] [stdout] 84 | || } [INFO] [stdout] 85 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 80 ~ run!(shuffle_empty, SHUFFLE_EMPTY, (|v: Result<&Value>| { [INFO] [stdout] 81 | match v { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `bool` [INFO] [stdout] --> src/test.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | run!(shuffle_empty, SHUFFLE_EMPTY, |v: Result<&Value>| { [INFO] [stdout] | __- ^ [INFO] [stdout] | | ________________________________________________________| [INFO] [stdout] 81 | || match v { [INFO] [stdout] 82 | || Ok(Value::Array(a)) => a.is_empty(), [INFO] [stdout] 83 | || _ => false, [INFO] [stdout] 84 | || } [INFO] [stdout] 85 | || }); [INFO] [stdout] | ||_^- call expression requires function [INFO] [stdout] | |_| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: if you meant to create this closure and immediately call it, surround the closure with parentheses [INFO] [stdout] | [INFO] [stdout] 80 ~ run!(shuffle_empty, SHUFFLE_EMPTY, (|v: Result<&Value>| { [INFO] [stdout] 81 | match v { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0618`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graphix-package-rand` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "a2c2dce0f384a8da1977a086e3b83f014365db53973925d1c4f424c679cfab16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c2dce0f384a8da1977a086e3b83f014365db53973925d1c4f424c679cfab16", kill_on_drop: false }` [INFO] [stdout] a2c2dce0f384a8da1977a086e3b83f014365db53973925d1c4f424c679cfab16