[INFO] fetching crate rspack-codespan-reporting 0.11.2... [INFO] testing rspack-codespan-reporting-0.11.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate rspack-codespan-reporting 0.11.2 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rspack-codespan-reporting 0.11.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81dd58e6ed7564dfb428706befe532ce9444548b0e74ef7a43b51e23aa402ca8 [INFO] running `Command { std: "docker" "start" "-a" "81dd58e6ed7564dfb428706befe532ce9444548b0e74ef7a43b51e23aa402ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81dd58e6ed7564dfb428706befe532ce9444548b0e74ef7a43b51e23aa402ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81dd58e6ed7564dfb428706befe532ce9444548b0e74ef7a43b51e23aa402ca8", kill_on_drop: false }` [INFO] [stdout] 81dd58e6ed7564dfb428706befe532ce9444548b0e74ef7a43b51e23aa402ca8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ec5fe24f851c3030ae4f775753a2b2efbf30ec4582e56b3638d2bc759e83ae7 [INFO] running `Command { std: "docker" "start" "-a" "8ec5fe24f851c3030ae4f775753a2b2efbf30ec4582e56b3638d2bc759e83ae7", kill_on_drop: false }` [INFO] [stderr] Compiling rspack-codespan-reporting v0.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "8ec5fe24f851c3030ae4f775753a2b2efbf30ec4582e56b3638d2bc759e83ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ec5fe24f851c3030ae4f775753a2b2efbf30ec4582e56b3638d2bc759e83ae7", kill_on_drop: false }` [INFO] [stdout] 8ec5fe24f851c3030ae4f775753a2b2efbf30ec4582e56b3638d2bc759e83ae7 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5552ec818bbbbac9b59d2db21378840e4829b9c8de8121dfc363866f23e8327c [INFO] running `Command { std: "docker" "start" "-a" "5552ec818bbbbac9b59d2db21378840e4829b9c8de8121dfc363866f23e8327c", 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 unicode-segmentation v1.10.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling memchr v2.6.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling insta v1.31.0 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling rustyline v6.3.0 [INFO] [stderr] Compiling rspack-codespan-reporting v0.11.2 (/opt/rustwide/workdir) [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[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: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[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/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/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/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] [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[E0282]: type annotations needed [INFO] [stdout] --> examples/term.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | parse(try_from_str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | parse(try_from_str: /* Type */), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/reusable_diagnostic.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | parse(try_from_str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | parse(try_from_str: /* Type */), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error: could not compile `rspack-codespan-reporting` (example "term") due to 7 previous errors [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rspack-codespan-reporting` (example "reusable_diagnostic") due to 7 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] 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 "custom_files") due to 4 previous errors [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] [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/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] [stderr] error: could not compile `rspack-codespan-reporting` (example "readme_preview") due to 9 previous errors [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" "5552ec818bbbbac9b59d2db21378840e4829b9c8de8121dfc363866f23e8327c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5552ec818bbbbac9b59d2db21378840e4829b9c8de8121dfc363866f23e8327c", kill_on_drop: false }` [INFO] [stdout] 5552ec818bbbbac9b59d2db21378840e4829b9c8de8121dfc363866f23e8327c