[INFO] cloning repository https://github.com/JR-1991/md-models-macro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JR-1991/md-models-macro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJR-1991%2Fmd-models-macro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJR-1991%2Fmd-models-macro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b63e39ed886e7c6d80ed63b78c30c0619b9c935 [INFO] checking JR-1991/md-models-macro against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJR-1991%2Fmd-models-macro" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JR-1991/md-models-macro [INFO] finished tweaking git repo https://github.com/JR-1991/md-models-macro [INFO] tweaked toml for git repo https://github.com/JR-1991/md-models-macro written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JR-1991/md-models-macro on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JR-1991/md-models-macro 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cd569c612b203de7bf5ef3676d083fe7569704119351494543fcb7673596e60 [INFO] running `Command { std: "docker" "start" "-a" "4cd569c612b203de7bf5ef3676d083fe7569704119351494543fcb7673596e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cd569c612b203de7bf5ef3676d083fe7569704119351494543fcb7673596e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd569c612b203de7bf5ef3676d083fe7569704119351494543fcb7673596e60", kill_on_drop: false }` [INFO] [stdout] 4cd569c612b203de7bf5ef3676d083fe7569704119351494543fcb7673596e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea1569f79683579653f4faba6fb49fe82332c577412b7f3f70248e98f246caa1 [INFO] running `Command { std: "docker" "start" "-a" "ea1569f79683579653f4faba6fb49fe82332c577412b7f3f70248e98f246caa1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling minijinja-embed v2.0.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling mdmodels v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Checking borrow-or-share v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling zerocopy-derive v0.7.34 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.65 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling serde_with_macros v3.8.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_with v3.8.2 [INFO] [stderr] Compiling minijinja v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling referencing v0.27.1 [INFO] [stderr] Compiling gray_matter v0.2.8 [INFO] [stderr] Compiling jsonschema v0.27.1 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking openai-api-rs v5.2.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mdmodels` (lib) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mdmodels` (lib) due to 2 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 354 | | starts_with_character, [INFO] [stdout] 355 | | contains_white_space, [INFO] [stdout] 356 | | contains_special_characters, [INFO] [stdout] 357 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[...; _]`, found `[fn(&str) -> Result<(), String>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a str) -> Result<(), std::string::String> {starts_with_character}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `starts_with_character as for<'a> fn(&'a str) -> Result<(), std::string::String>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(), std::string::String>; 3]` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mdmodels-0.1.8/src/validation.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let checks = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 484 | | starts_with_character, [INFO] [stdout] 485 | | contains_white_space, [INFO] [stdout] 486 | | contains_special_characters, [INFO] [stdout] 487 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mdmodels` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ea1569f79683579653f4faba6fb49fe82332c577412b7f3f70248e98f246caa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1569f79683579653f4faba6fb49fe82332c577412b7f3f70248e98f246caa1", kill_on_drop: false }` [INFO] [stdout] ea1569f79683579653f4faba6fb49fe82332c577412b7f3f70248e98f246caa1