[INFO] fetching crate pomsky 0.11.0... [INFO] testing pomsky-0.11.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pomsky 0.11.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pomsky 0.11.0 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate pomsky 0.11.0 [INFO] tweaked toml for crates.io crate pomsky 0.11.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pomsky 0.11.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding miette v5.10.0 (available: v7.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 689baf6fd4a7047de7e9cfb91ce6f84a1ce04662b1bc202b0081b89ece360baf [INFO] running `Command { std: "docker" "start" "-a" "689baf6fd4a7047de7e9cfb91ce6f84a1ce04662b1bc202b0081b89ece360baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "689baf6fd4a7047de7e9cfb91ce6f84a1ce04662b1bc202b0081b89ece360baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689baf6fd4a7047de7e9cfb91ce6f84a1ce04662b1bc202b0081b89ece360baf", kill_on_drop: false }` [INFO] [stdout] 689baf6fd4a7047de7e9cfb91ce6f84a1ce04662b1bc202b0081b89ece360baf [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37af24d5d78ef31f63d950e4c92eb8df9bb7d245afbf7310340578af5032b05c [INFO] running `Command { std: "docker" "start" "-a" "37af24d5d78ef31f63d950e4c92eb8df9bb7d245afbf7310340578af5032b05c", kill_on_drop: false }` [INFO] [stderr] Compiling pomsky-syntax v0.11.0 [INFO] [stderr] Compiling pomsky v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:341:7 [INFO] [stdout] | [INFO] [stdout] 341 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/exprs/mod.rs:50:87 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] 50 + pub fn parse(input: &'i str) -> (Option, impl Iterator + 'i) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "37af24d5d78ef31f63d950e4c92eb8df9bb7d245afbf7310340578af5032b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37af24d5d78ef31f63d950e4c92eb8df9bb7d245afbf7310340578af5032b05c", kill_on_drop: false }` [INFO] [stdout] 37af24d5d78ef31f63d950e4c92eb8df9bb7d245afbf7310340578af5032b05c [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76799ddc5890eeafb10d1dcb8a8d3d63380082c755db38e6831f9cdf0a375163 [INFO] running `Command { std: "docker" "start" "-a" "76799ddc5890eeafb10d1dcb8a8d3d63380082c755db38e6831f9cdf0a375163", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lexopt v0.3.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:341:7 [INFO] [stdout] | [INFO] [stdout] 341 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/exprs/mod.rs:50:87 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] 50 + pub fn parse(input: &'i str) -> (Option, impl Iterator + 'i) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling pomsky v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:341:7 [INFO] [stdout] | [INFO] [stdout] 341 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stdout] --> src/exprs/range.rs:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(FALSE)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/exprs/mod.rs:50:87 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stdout] 50 + pub fn parse(input: &'i str) -> (Option, impl Iterator + 'i) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.29s [INFO] running `Command { std: "docker" "inspect" "76799ddc5890eeafb10d1dcb8a8d3d63380082c755db38e6831f9cdf0a375163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76799ddc5890eeafb10d1dcb8a8d3d63380082c755db38e6831f9cdf0a375163", kill_on_drop: false }` [INFO] [stdout] 76799ddc5890eeafb10d1dcb8a8d3d63380082c755db38e6831f9cdf0a375163 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62bbdde95eb02ab69dee0945c98d5804571d36ad367bc8594964d70f4cba15b7 [INFO] running `Command { std: "docker" "start" "-a" "62bbdde95eb02ab69dee0945c98d5804571d36ad367bc8594964d70f4cba15b7", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stderr] --> src/exprs/range.rs:341:7 [INFO] [stderr] | [INFO] [stderr] 341 | #[cfg(FALSE)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `FALSE` [INFO] [stderr] --> src/exprs/range.rs:413:11 [INFO] [stderr] | [INFO] [stderr] 413 | #[cfg(FALSE)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/exprs/mod.rs:50:87 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stderr] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'i` [INFO] [stderr] | [INFO] [stderr] 50 - pub fn parse(input: &'i str) -> (Option, impl Iterator + '_) { [INFO] [stderr] 50 + pub fn parse(input: &'i str) -> (Option, impl Iterator + 'i) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pomsky` (lib) generated 3 warnings (run `cargo fix --lib -p pomsky` to apply 1 suggestion) [INFO] [stderr] warning: `pomsky` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pomsky-4bb43cc2105180da) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test features::test_toggles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pomsky [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/features.rs - features::PomskyFeatures (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miette` [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 17 | miette::bail!("Failed to compile pomsky expression"); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `miette` [INFO] [stdout] [INFO] [stdout] error[E0277]: `Diagnostic` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 15 | eprintln!("{diagnostic}"); [INFO] [stdout] | -^^^^^^^^^^- [INFO] [stdout] | || [INFO] [stdout] | |`Diagnostic` cannot be formatted with the default formatter [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Diagnostic` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 11 | let compiled = match Expr::parse_and_compile(input, options) { [INFO] [stdout] | ____________________- [INFO] [stdout] 12 | | (Some(regex), _warnings, _tests) => regex, [INFO] [stdout] | | ----- this is found to be of type `String` [INFO] [stdout] 13 | | (None, diagnostics, _tests) => { [INFO] [stdout] 14 | | for diagnostic in diagnostics { [INFO] [stdout] ... | [INFO] [stdout] 17 | | miette::bail!("Failed to compile pomsky expression"); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `()` [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | }; [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miette` [INFO] [stdout] --> src/lib.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn compile(input: &str) -> miette::Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `miette` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miette`, use `cargo add miette` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "62bbdde95eb02ab69dee0945c98d5804571d36ad367bc8594964d70f4cba15b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62bbdde95eb02ab69dee0945c98d5804571d36ad367bc8594964d70f4cba15b7", kill_on_drop: false }` [INFO] [stdout] 62bbdde95eb02ab69dee0945c98d5804571d36ad367bc8594964d70f4cba15b7