[INFO] fetching crate rspack-codespan-reporting 0.11.2... [INFO] checking rspack-codespan-reporting-0.11.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rspack-codespan-reporting 0.11.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rspack-codespan-reporting 0.11.2 [INFO] finished tweaking crates.io crate rspack-codespan-reporting 0.11.2 [INFO] tweaked toml for crates.io crate rspack-codespan-reporting 0.11.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspack-codespan-reporting 0.11.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rspack-codespan-reporting 0.11.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35abeedcb805b57efd3ac2150a5778fae6cc30fc2fbba2f10d24c24315c3a08d [INFO] running `Command { std: "docker" "start" "-a" "35abeedcb805b57efd3ac2150a5778fae6cc30fc2fbba2f10d24c24315c3a08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35abeedcb805b57efd3ac2150a5778fae6cc30fc2fbba2f10d24c24315c3a08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35abeedcb805b57efd3ac2150a5778fae6cc30fc2fbba2f10d24c24315c3a08d", kill_on_drop: false }` [INFO] [stdout] 35abeedcb805b57efd3ac2150a5778fae6cc30fc2fbba2f10d24c24315c3a08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d5e9c258c2222f3950c082db293575b8a9ba22228ff06f7c65fcfd3400bff30 [INFO] running `Command { std: "docker" "start" "-a" "7d5e9c258c2222f3950c082db293575b8a9ba22228ff06f7c65fcfd3400bff30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking memchr v2.6.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking rspack-codespan-reporting v0.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking insta v1.31.0 [INFO] [stderr] Checking peg v0.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/custom_files.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/custom_files.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use codespan_reporting::term::termcolor::{ColorChoice, StandardStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/custom_files.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use codespan_reporting::term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/custom_files.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use codespan_reporting::files; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "custom_files") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/term.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/term.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use codespan_reporting::files::SimpleFiles; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/term.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use codespan_reporting::term::termcolor::StandardStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/term.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use codespan_reporting::files::SimpleFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use codespan_reporting::term::termcolor::StandardStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/term.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use codespan_reporting::files::SimpleFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use codespan_reporting::term::termcolor::{Color, ColorSpec, StandardStream, WriteColor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use codespan_reporting::term::{self, ColorArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "readme_preview") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/reusable_diagnostic.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let config = codespan_reporting::term::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rspack_codespan_reporting::term::Config; [INFO] [stdout] | [INFO] [stdout] 1 + use rustyline::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - let config = codespan_reporting::term::Config::default(); [INFO] [stdout] 43 + let config = Config::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/peg_calculator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/peg_calculator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use codespan_reporting::files::SimpleFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/peg_calculator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use codespan_reporting::term::termcolor::{ColorChoice, StandardStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> examples/peg_calculator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use codespan_reporting::term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let config = codespan_reporting::term::Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 10 + use rspack_codespan_reporting::term; [INFO] [stdout] | [INFO] [stdout] help: if you import `term`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - let config = codespan_reporting::term::Config { [INFO] [stdout] 84 + let config = term::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/term.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | let config = codespan_reporting::term::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use rspack_codespan_reporting::term::Config; [INFO] [stdout] | [INFO] [stdout] 8 + use rustyline::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 169 - let config = codespan_reporting::term::Config::default(); [INFO] [stdout] 169 + let config = Config::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | styles: codespan_reporting::term::Styles::with_blue(Color::Blue), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use rspack_codespan_reporting::term::Styles; [INFO] [stdout] | [INFO] [stdout] help: if you import `Styles`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - styles: codespan_reporting::term::Styles::with_blue(Color::Blue), [INFO] [stdout] 85 + styles: Styles::with_blue(Color::Blue), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | ..codespan_reporting::term::Config::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 10 + use rspack_codespan_reporting::term::Config; [INFO] [stdout] | [INFO] [stdout] 10 + use rustyline::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - ..codespan_reporting::term::Config::default() [INFO] [stdout] 86 + ..Config::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/readme_preview.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | let config = codespan_reporting::term::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 10 + use rspack_codespan_reporting::term::Config; [INFO] [stdout] | [INFO] [stdout] 10 + use rustyline::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 179 - let config = codespan_reporting::term::Config::default(); [INFO] [stdout] 179 + let config = Config::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> examples/peg_calculator.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let config = codespan_reporting::term::Config::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 10 + use rspack_codespan_reporting::term::Config; [INFO] [stdout] | [INFO] [stdout] 10 + use rustyline::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let config = codespan_reporting::term::Config::default(); [INFO] [stdout] 41 + let config = Config::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "reusable_diagnostic") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "term") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "peg_calculator") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/term.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/term.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use codespan_reporting::files::{SimpleFile, SimpleFiles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/term.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use codespan_reporting::term::{termcolor::Color, Chars, Config, DisplayStyle, Styles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/support/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codespan_reporting::diagnostic::Diagnostic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/support/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use codespan_reporting::files::Files; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] --> tests/support/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use codespan_reporting::term::{emit, Config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `codespan_reporting` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codespan_reporting`, use `cargo add codespan_reporting` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (test "term") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "7d5e9c258c2222f3950c082db293575b8a9ba22228ff06f7c65fcfd3400bff30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5e9c258c2222f3950c082db293575b8a9ba22228ff06f7c65fcfd3400bff30", kill_on_drop: false }` [INFO] [stdout] 7d5e9c258c2222f3950c082db293575b8a9ba22228ff06f7c65fcfd3400bff30