[INFO] fetching crate swarm-types 0.0.0... [INFO] checking swarm-types-0.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate swarm-types 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate swarm-types 0.0.0 [INFO] finished tweaking crates.io crate swarm-types 0.0.0 [INFO] tweaked toml for crates.io crate swarm-types 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swarm-types 0.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 119 packages to latest compatible versions [INFO] [stderr] Adding diagnostic-quick v0.3.6 (available: v0.4.0) [INFO] [stderr] Adding miette v5.10.0 (available: v7.6.0) [INFO] [stderr] Adding peginator_codegen v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 127a7a29a82259099a79f2d03ef10a3f56772b4354bcaf2a9fbf0d2afdde2a7b [INFO] running `Command { std: "docker" "start" "-a" "127a7a29a82259099a79f2d03ef10a3f56772b4354bcaf2a9fbf0d2afdde2a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "127a7a29a82259099a79f2d03ef10a3f56772b4354bcaf2a9fbf0d2afdde2a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127a7a29a82259099a79f2d03ef10a3f56772b4354bcaf2a9fbf0d2afdde2a7b", kill_on_drop: false }` [INFO] [stdout] 127a7a29a82259099a79f2d03ef10a3f56772b4354bcaf2a9fbf0d2afdde2a7b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88204fe41bcaeafbadb003b3b028d4a17ae0f1b845efe097602965a8cf24d14f [INFO] running `Command { std: "docker" "start" "-a" "88204fe41bcaeafbadb003b3b028d4a17ae0f1b845efe097602965a8cf24d14f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking diagnostic v0.5.10 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Compiling peginator_codegen v0.6.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking peginator v0.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking supports-unicode v2.1.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking diagnostic-quick v0.3.6 [INFO] [stdout] error[E0432]: unresolved imports `diagnostic::DiagnosticLevel`, `diagnostic::Span`, `diagnostic::TextStorage`, `diagnostic::Validation` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DiagnosticLevel, FileID, Span, TextStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ no `TextStorage` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Span` in the root [INFO] [stdout] | no `DiagnosticLevel` in the root [INFO] [stdout] | help: a similar name exists in the module: `Diagnostic` [INFO] [stdout] 6 | Validation::{Failure, Success}, [INFO] [stdout] | ^^^^^^^^^^ could not find `Validation` in `diagnostic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `term` in `diagnostic` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | term::{ [INFO] [stdout] | ^^^^ could not find `term` in `diagnostic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `diagnostic::term`, `diagnostic::DiagnosticLevel`, `diagnostic::Span`, `diagnostic::TextStorage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | term::{ [INFO] [stdout] | ^^^^ could not find `term` in `diagnostic` [INFO] [stdout] ... [INFO] [stdout] 13 | DiagnosticLevel, FileID, Span, TextStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ no `TextStorage` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Span` in the root [INFO] [stdout] | no `DiagnosticLevel` in the root [INFO] [stdout] | help: a similar name exists in the module: `Diagnostic` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::DiagnosticLevel [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::Span [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::TextStorage [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diagnostic::DiagnosticError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use diagnostic::{Diagnostic, DiagnosticError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `DiagnosticError` in the root [INFO] [stdout] | help: a similar name exists in the module: `Diagnostic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diagnostic::DiagnosticLevel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/error_runtime.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diagnostic::DiagnosticLevel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DiagnosticLevel` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - use diagnostic::DiagnosticLevel; [INFO] [stdout] 3 + use diagnostic::Diagnostic; [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 3 - use diagnostic::DiagnosticLevel; [INFO] [stdout] 3 + use crate::DiagnosticLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diagnostic::DiagnosticLevel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/error_syntax.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diagnostic::DiagnosticLevel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DiagnosticLevel` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - use diagnostic::DiagnosticLevel; [INFO] [stdout] 7 + use diagnostic::Diagnostic; [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 7 - use diagnostic::DiagnosticLevel; [INFO] [stdout] 7 + use crate::DiagnosticLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Validation` in crate `diagnostic` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/mod.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Validation = diagnostic::Validation; [INFO] [stdout] | ^^^^^^^^^^ not found in `diagnostic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Validation; [INFO] [stdout] | [INFO] [stdout] help: if you import `Validation`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - pub type Validation = diagnostic::Validation; [INFO] [stdout] 23 + pub type Validation = Validation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileID: Serialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/error_3rd/for_ast/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `FileID` [INFO] [stdout] ... [INFO] [stdout] 17 | / /// Absolute path to the file where the node resides [INFO] [stdout] 18 | | pub file: FileID, [INFO] [stdout] | |____________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `FileID` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] note: required by a bound in `for_ast::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileID: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/error_3rd/for_ast/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub file: FileID, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `FileID` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FileID` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileID: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/error_3rd/for_ast/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub file: FileID, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `FileID` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FileID` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FileID: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/error_3rd/for_ast/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `FileID` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FileID` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `for_ast::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message` on type `DiagnosticBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | QErrorKind::IO(e) => out.message = e.message.to_string(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_primary` found for struct `DiagnosticBuilder` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | QErrorKind::Syntax(e) => out = out.with_primary(&e.file, e.span.clone(), &e.message), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `DiagnosticBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message` on type `DiagnosticBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | QErrorKind::Runtime(e) => out.message = e.message.to_string(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message` on type `DiagnosticBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | out.message = e.to_string(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diagnostic-quick-0.3.6/src/errors/display.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_diagnostic(&self) -> Diagnostic { [INFO] [stdout] | ---------- expected `Diagnostic` because of return type [INFO] [stdout] ... [INFO] [stdout] 32 | out [INFO] [stdout] | ^^^ expected `Diagnostic`, found `DiagnosticBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diagnostic-quick` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "88204fe41bcaeafbadb003b3b028d4a17ae0f1b845efe097602965a8cf24d14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88204fe41bcaeafbadb003b3b028d4a17ae0f1b845efe097602965a8cf24d14f", kill_on_drop: false }` [INFO] [stdout] 88204fe41bcaeafbadb003b3b028d4a17ae0f1b845efe097602965a8cf24d14f