[INFO] fetching crate jsona-openapi-cli 0.2.1... [INFO] checking jsona-openapi-cli-0.2.1 against try#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] extracting crate jsona-openapi-cli 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate jsona-openapi-cli 0.2.1 [INFO] finished tweaking crates.io crate jsona-openapi-cli 0.2.1 [INFO] tweaked toml for crates.io crate jsona-openapi-cli 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsona-openapi-cli 0.2.1 on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsona-openapi-cli 0.2.1 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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d655d10391920c10596c6be6b981d2615f74942302c268c6b47be10b4f849313 [INFO] running `Command { std: "docker" "start" "-a" "d655d10391920c10596c6be6b981d2615f74942302c268c6b47be10b4f849313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d655d10391920c10596c6be6b981d2615f74942302c268c6b47be10b4f849313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d655d10391920c10596c6be6b981d2615f74942302c268c6b47be10b4f849313", kill_on_drop: false }` [INFO] [stdout] d655d10391920c10596c6be6b981d2615f74942302c268c6b47be10b4f849313 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa242a2be037749290677f6f84488325cfc09276d77fd2c822249dd6c2ee46ff [INFO] running `Command { std: "docker" "start" "-a" "fa242a2be037749290677f6f84488325cfc09276d77fd2c822249dd6c2ee46ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking jsona_openapi_spec v0.1.7 [INFO] [stderr] Checking jsona v0.2.0 [INFO] [stderr] Checking jsona-openapi v0.2.1 [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsona-openapi-0.2.1/src/loader.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | .collect::>()?; [INFO] [stdout] | ------- ^^^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [INFO] [stdout] help: the trait `FromIterator>` is implemented for `std::result::Result` [INFO] [stdout] --> /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/result.rs:2109:0 [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `std::result::Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/iter/traits/iterator.rs:2079:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsona-openapi` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fa242a2be037749290677f6f84488325cfc09276d77fd2c822249dd6c2ee46ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa242a2be037749290677f6f84488325cfc09276d77fd2c822249dd6c2ee46ff", kill_on_drop: false }` [INFO] [stdout] fa242a2be037749290677f6f84488325cfc09276d77fd2c822249dd6c2ee46ff