[INFO] fetching crate facet-pretty 0.44.4... [INFO] testing facet-pretty-0.44.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate facet-pretty 0.44.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate facet-pretty 0.44.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate facet-pretty 0.44.4 [INFO] tweaked toml for crates.io crate facet-pretty 0.44.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate facet-pretty 0.44.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate facet-pretty 0.44.4 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded facet-path v0.44.3 [INFO] [stderr] Downloaded console v0.16.3 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded impls v1.0.3 [INFO] [stderr] Downloaded owo-colors v4.3.0 [INFO] [stderr] Downloaded smallvec v2.0.0-alpha.12 [INFO] [stderr] Downloaded insta v1.47.1 [INFO] [stderr] Downloaded iddqd v0.3.17 [INFO] [stderr] Downloaded facet-core v0.44.3 [INFO] [stderr] Downloaded facet-reflect v0.44.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d29001ad06a419b827faf20f38680d7841fe043e9a193a0021c074bda32c5808 [INFO] running `Command { std: "docker" "start" "-a" "d29001ad06a419b827faf20f38680d7841fe043e9a193a0021c074bda32c5808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d29001ad06a419b827faf20f38680d7841fe043e9a193a0021c074bda32c5808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29001ad06a419b827faf20f38680d7841fe043e9a193a0021c074bda32c5808", kill_on_drop: false }` [INFO] [stdout] d29001ad06a419b827faf20f38680d7841fe043e9a193a0021c074bda32c5808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da8665bf4199020a6fb5d43b3c0d4ad7d91fa00ca9d1fc428bd36ec48b078147 [INFO] running `Command { std: "docker" "start" "-a" "da8665bf4199020a6fb5d43b3c0d4ad7d91fa00ca9d1fc428bd36ec48b078147", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling facet-core v0.44.3 [INFO] [stderr] Compiling const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling smallvec v2.0.0-alpha.12 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling facet-path v0.44.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling facet-reflect v0.44.3 [INFO] [stderr] Compiling facet-pretty v0.44.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.91s [INFO] running `Command { std: "docker" "inspect" "da8665bf4199020a6fb5d43b3c0d4ad7d91fa00ca9d1fc428bd36ec48b078147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8665bf4199020a6fb5d43b3c0d4ad7d91fa00ca9d1fc428bd36ec48b078147", kill_on_drop: false }` [INFO] [stdout] da8665bf4199020a6fb5d43b3c0d4ad7d91fa00ca9d1fc428bd36ec48b078147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acce9a99bafb31e36e3cd9fdc0c76587349735ff8d4ef4eb499e3a2edabfe16c [INFO] running `Command { std: "docker" "start" "-a" "acce9a99bafb31e36e3cd9fdc0c76587349735ff8d4ef4eb499e3a2edabfe16c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling console v0.16.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling insta v1.47.1 [INFO] [stderr] Compiling facet-pretty v0.44.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> examples/span_demo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> examples/pretty_basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> examples/vec_person.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> examples/pretty_showcase.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_showcase` [INFO] [stdout] --> examples/pretty_showcase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use facet_showcase::{Language, OutputMode, ShowcaseRunner, ansi_to_html}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_showcase` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_showcase`, use `cargo add facet_showcase` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/integration/option_and_docs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_testhelpers` [INFO] [stdout] --> tests/integration/option_and_docs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use facet_testhelpers::test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/integration/pretty_print.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_testhelpers` [INFO] [stdout] --> tests/integration/pretty_print.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use facet_testhelpers::test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> tests/integration/proxy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet_testhelpers` [INFO] [stdout] --> tests/integration/proxy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use facet_testhelpers::test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `facet_testhelpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet_testhelpers`, use `cargo add facet_testhelpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/integration/proxy.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | #[facet(proxy = IntAsString)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/integration/proxy.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[facet(proxy = IntAsString)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (example "pretty_showcase") due to 2 previous errors [INFO] [stdout] error[E0599]: the method `pretty` exists for struct `Person<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/pretty_basic.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person<'a> { [INFO] [stdout] | ----------------- method `pretty` not found for this struct because it doesn't satisfy `Person<'_>: FacetPretty<'_>` or `Person<'_>: facet_core::Facet<'_>` [INFO] [stdout] ... [INFO] [stdout] 32 | println!("{}", person.pretty()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Person<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Person<'_>: facet_core::Facet<'_>` [INFO] [stdout] which is required by `Person<'_>: FacetPretty<'_>` [INFO] [stdout] note: the trait `facet_core::Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pretty`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FacetPretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/integration/proxy.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[facet(proxy = IntAsString)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/integration/proxy.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[facet(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Config` in the current scope [INFO] [stdout] --> examples/span_demo.rs:40:49 [INFO] [stdout] | [INFO] [stdout] 12 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | println!("{}", format_shape_colored(Config::SHAPE)); [INFO] [stdout] | ^^^^^ associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `facet_core::Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> tests/integration/pretty_print.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[facet(sensitive)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SHAPE` found for enum `Status` in the current scope [INFO] [stdout] --> examples/span_demo.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 22 | enum Status { [INFO] [stdout] | ----------- variant or associated item `SHAPE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", format_shape_colored(Status::SHAPE)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Status` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `facet_core::Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (example "pretty_basic") due to 2 previous errors [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Config` in the current scope [INFO] [stdout] --> examples/span_demo.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 12 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | let result = format_shape_with_spans(Config::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `facet_core::Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Config` in the current scope [INFO] [stdout] --> examples/span_demo.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 12 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let result = format_shape_with_spans(Config::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `facet_core::Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/vec_person.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", vec![alice, bob, carol].pretty()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: facet_core::Facet<'_>` [INFO] [stdout] which is required by `Vec: FacetPretty<'_>` [INFO] [stdout] `[Person]: Sized` [INFO] [stdout] which is required by `[Person]: FacetPretty<'_>` [INFO] [stdout] `[Person]: facet_core::Facet<'_>` [INFO] [stdout] which is required by `[Person]: FacetPretty<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/shape.rs:1304:9 [INFO] [stdout] | [INFO] [stdout] 1304 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `facet` [INFO] [stdout] --> src/display.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use facet::Facet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `facet`, use `cargo add facet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `facet` in this scope [INFO] [stdout] --> src/printer.rs:2427:18 [INFO] [stdout] | [INFO] [stdout] 2427 | #[derive(facet::Facet)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (example "span_demo") due to 5 previous errors [INFO] [stdout] error[E0277]: the trait bound `TestStruct: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/option_and_docs.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let formatted = printer.format(&test_struct); [INFO] [stdout] | ------ ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `TestStruct` [INFO] [stdout] --> tests/integration/option_and_docs.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/option_and_docs.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | let formatted = printer.format(&unit); [INFO] [stdout] | ------ ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `TestEnum` [INFO] [stdout] --> tests/integration/option_and_docs.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (example "vec_person") due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `TestEnum: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/option_and_docs.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let formatted = printer.format(&tuple); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `TestEnum` [INFO] [stdout] --> tests/integration/option_and_docs.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facet` in this scope [INFO] [stdout] --> src/shape.rs:1324:11 [INFO] [stdout] | [INFO] [stdout] 1324 | #[facet(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/option_and_docs.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let formatted = printer.format(&struct_variant); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `TestEnum` [INFO] [stdout] --> tests/integration/option_and_docs.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | enum TestEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | let output = printer.format(&person); [INFO] [stdout] | ------ ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Person` [INFO] [stdout] --> tests/integration/pretty_print.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty` exists for struct `Person`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ------------- method `pretty` not found for this struct because it doesn't satisfy `Person: FacetPretty<'_>` or `Person: facet_core::Facet<'_>` [INFO] [stdout] ... [INFO] [stdout] 68 | write!(buffer, "{}", person.pretty()).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Person` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Person: facet_core::Facet<'_>` [INFO] [stdout] which is required by `Person: FacetPretty<'_>` [INFO] [stdout] note: the trait `facet_core::Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pretty`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FacetPretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 84 | let custom_output = custom_printer.format(&person); [INFO] [stdout] | ------ ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `Person` [INFO] [stdout] --> tests/integration/pretty_print.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty_with` exists for struct `Person`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ------------- method `pretty_with` not found for this struct because it doesn't satisfy `Person: FacetPretty<'_>` or `Person: facet_core::Facet<'_>` [INFO] [stdout] ... [INFO] [stdout] 93 | write!(custom_buffer, "{}", person.pretty_with(custom_printer)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `Person` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Person: facet_core::Facet<'_>` [INFO] [stdout] which is required by `Person: FacetPretty<'_>` [INFO] [stdout] note: the trait `facet_core::Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pretty_with`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FacetPretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestSecrets: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | let output = printer.format(&test_data); [INFO] [stdout] | ------ ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `TestSecrets` [INFO] [stdout] --> tests/integration/pretty_print.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct TestSecrets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty` exists for struct `TestSecrets`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 24 | struct TestSecrets { [INFO] [stdout] | ------------------ method `pretty` not found for this struct because it doesn't satisfy `TestSecrets: FacetPretty<'_>` or `TestSecrets: facet_core::Facet<'_>` [INFO] [stdout] ... [INFO] [stdout] 125 | write!(buffer, "{}", test_data.pretty()).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestSecrets` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestSecrets: facet_core::Facet<'_>` [INFO] [stdout] which is required by `TestSecrets: FacetPretty<'_>` [INFO] [stdout] note: the trait `facet_core::Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pretty`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FacetPretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty` exists for struct `TestStruct`, but its trait bounds were not satisfied [INFO] [stdout] --> src/display.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 59 | struct TestStruct { [INFO] [stdout] | ----------------- method `pretty` not found for this struct because it doesn't satisfy `TestStruct: Facet<'_>` or `TestStruct: display::FacetPretty<'_>` [INFO] [stdout] ... [INFO] [stdout] 66 | let display = test.pretty(); [INFO] [stdout] | ^^^^^^ method cannot be called on `TestStruct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestStruct: Facet<'_>` was not satisfied [INFO] [stdout] --> src/display.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a, T: Facet<'a>> FacetPretty<'a> for T { [INFO] [stdout] | ^^^^^^^^^ --------------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `display::FacetPretty` defines an item `pretty`, perhaps you need to implement it [INFO] [stdout] --> src/display.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait FacetPretty<'a>: Facet<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultipleStaticStr: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/pretty_print.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | assert_snapshot!(printer.format(&val), @r#" [INFO] [stdout] | ------ ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `MultipleStaticStr` [INFO] [stdout] --> tests/integration/pretty_print.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | struct MultipleStaticStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pretty_with` exists for struct `TestStruct`, but its trait bounds were not satisfied [INFO] [stdout] --> src/display.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 59 | struct TestStruct { [INFO] [stdout] | ----------------- method `pretty_with` not found for this struct because it doesn't satisfy `TestStruct: Facet<'_>` or `TestStruct: display::FacetPretty<'_>` [INFO] [stdout] ... [INFO] [stdout] 79 | let display = test.pretty_with(printer); [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `TestStruct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestStruct: Facet<'_>` was not satisfied [INFO] [stdout] --> src/display.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a, T: Facet<'a>> FacetPretty<'a> for T { [INFO] [stdout] | ^^^^^^^^^ --------------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Facet` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-core-0.44.3/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe trait Facet<'facet>: 'facet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `display::FacetPretty` defines an item `pretty_with`, perhaps you need to implement it [INFO] [stdout] --> src/display.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait FacetPretty<'a>: Facet<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyInt: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | .format(&proxy_int); [INFO] [stdout] | ------ ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ProxyInt` [INFO] [stdout] --> tests/integration/proxy.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProxyInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyFieldLevel: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | let output = PrettyPrinter::new().with_colors(false.into()).format(&data); [INFO] [stdout] | ------ ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ProxyFieldLevel` [INFO] [stdout] --> tests/integration/proxy.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ProxyFieldLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyInt: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:98:75 [INFO] [stdout] | [INFO] [stdout] 98 | let formatted = PrettyPrinter::new().format_peek_with_spans(Peek::new(&proxy_int)); [INFO] [stdout] | --------- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ProxyInt` [INFO] [stdout] --> tests/integration/proxy.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProxyInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-reflect-0.44.3/src/peek/value.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new + ?Sized>(t: &'mem T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyIntAliased: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:118:75 [INFO] [stdout] | [INFO] [stdout] 118 | let formatted = PrettyPrinter::new().format_peek_with_spans(Peek::new(&value)); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ProxyIntAliased` [INFO] [stdout] --> tests/integration/proxy.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ProxyIntAliased { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-reflect-0.44.3/src/peek/value.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new + ?Sized>(t: &'mem T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OuterWithArcAliasing: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | .format_peek_with_spans(Peek::new(&value)); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `OuterWithArcAliasing` [INFO] [stdout] --> tests/integration/proxy.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct OuterWithArcAliasing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-reflect-0.44.3/src/peek/value.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new + ?Sized>(t: &'mem T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ProxyFieldLevel: facet_core::Facet<'_>` is not satisfied [INFO] [stdout] --> tests/integration/proxy.rs:199:75 [INFO] [stdout] | [INFO] [stdout] 199 | let formatted = PrettyPrinter::new().format_peek_with_spans(Peek::new(&data)); [INFO] [stdout] | --------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `facet_core::Facet<'_>` is not implemented for `ProxyFieldLevel` [INFO] [stdout] --> tests/integration/proxy.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ProxyFieldLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `facet_core::Facet<'facet>`: [INFO] [stdout] `&'a T` implements `facet_core::Facet<'a>` [INFO] [stdout] `&'a mut T` implements `facet_core::Facet<'a>` [INFO] [stdout] `()` implements `facet_core::Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `facet_core::Facet<'a>` [INFO] [stdout] `(T0,)` implements `facet_core::Facet<'a>` [INFO] [stdout] `*const T` implements `facet_core::Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/facet-reflect-0.44.3/src/peek/value.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new + ?Sized>(t: &'mem T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Peek::<'mem, 'facet>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (test "main") due to 28 previous errors [INFO] [stdout] error[E0277]: the trait bound `Record: Facet<'_>` is not satisfied [INFO] [stdout] --> src/printer.rs:2445:37 [INFO] [stdout] | [INFO] [stdout] 2445 | let output = printer.format(&value); [INFO] [stdout] | ------ ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Facet<'_>` is not implemented for `Record` [INFO] [stdout] --> src/printer.rs:2428:9 [INFO] [stdout] | [INFO] [stdout] 2428 | struct Record { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Facet<'facet>`: [INFO] [stdout] `&'a T` implements `Facet<'a>` [INFO] [stdout] `&'a mut T` implements `Facet<'a>` [INFO] [stdout] `()` implements `Facet<'_>` [INFO] [stdout] `(T0, T1)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2)` implements `Facet<'a>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Facet<'a>` [INFO] [stdout] `(T0,)` implements `Facet<'a>` [INFO] [stdout] `*const T` implements `Facet<'a>` [INFO] [stdout] and 97 others [INFO] [stdout] note: required by a bound in `printer::PrettyPrinter::format` [INFO] [stdout] --> src/printer.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn format<'a, T: ?Sized + Facet<'a>>(&self, value: &T) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PrettyPrinter::format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Simple` in the current scope [INFO] [stdout] --> src/shape.rs:1314:43 [INFO] [stdout] | [INFO] [stdout] 1309 | struct Simple { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1314 | let output = format_shape(Simple::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `Simple` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SHAPE` found for enum `Tagged` in the current scope [INFO] [stdout] --> src/shape.rs:1331:43 [INFO] [stdout] | [INFO] [stdout] 1326 | enum Tagged { [INFO] [stdout] | ----------- variant or associated item `SHAPE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1331 | let output = format_shape(Tagged::SHAPE); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Tagged` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Outer` in the current scope [INFO] [stdout] --> src/shape.rs:1351:42 [INFO] [stdout] | [INFO] [stdout] 1346 | struct Outer { [INFO] [stdout] | ------------ associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1351 | let output = format_shape(Outer::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `Outer` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `Container` in the current scope [INFO] [stdout] --> src/shape.rs:1382:46 [INFO] [stdout] | [INFO] [stdout] 1378 | struct Container { [INFO] [stdout] | ---------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1382 | let output = format_shape(Container::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `Container` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `shape::tests::test_format_shape_with_spans::Config` in the current scope [INFO] [stdout] --> src/shape.rs:1408:54 [INFO] [stdout] | [INFO] [stdout] 1402 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1408 | let result = format_shape_with_spans(Config::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `shape::tests::test_format_shape_with_spans::Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SHAPE` found for enum `shape::tests::test_format_enum_with_spans::Status` in the current scope [INFO] [stdout] --> src/shape.rs:1448:54 [INFO] [stdout] | [INFO] [stdout] 1442 | enum Status { [INFO] [stdout] | ----------- variant or associated item `SHAPE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1448 | let result = format_shape_with_spans(Status::SHAPE); [INFO] [stdout] | ^^^^^ variant or associated item not found in `shape::tests::test_format_enum_with_spans::Status` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `shape::tests::test_format_with_doc_comments::Config` in the current scope [INFO] [stdout] --> src/shape.rs:1493:43 [INFO] [stdout] | [INFO] [stdout] 1485 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1493 | let output = format_shape(Config::SHAPE); [INFO] [stdout] | ^^^^^ associated item not found in `shape::tests::test_format_with_doc_comments::Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SHAPE` found for struct `shape::tests::test_format_with_doc_comments::Config` in the current scope [INFO] [stdout] --> src/shape.rs:1509:63 [INFO] [stdout] | [INFO] [stdout] 1485 | struct Config { [INFO] [stdout] | ------------- associated item `SHAPE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1509 | let output_without = format_shape_with_config(Config::SHAPE, &config); [INFO] [stdout] | ^^^^^ associated item not found in `shape::tests::test_format_with_doc_comments::Config` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SHAPE` found for enum `shape::tests::test_format_enum_with_doc_comments::Status` in the current scope [INFO] [stdout] --> src/shape.rs:1533:55 [INFO] [stdout] | [INFO] [stdout] 1522 | enum Status { [INFO] [stdout] | ----------- variant or associated item `SHAPE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1533 | let output = format_shape_with_config(Status::SHAPE, &config); [INFO] [stdout] | ^^^^^ variant or associated item not found in `shape::tests::test_format_enum_with_doc_comments::Status` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `SHAPE`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Facet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `facet-pretty` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "acce9a99bafb31e36e3cd9fdc0c76587349735ff8d4ef4eb499e3a2edabfe16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acce9a99bafb31e36e3cd9fdc0c76587349735ff8d4ef4eb499e3a2edabfe16c", kill_on_drop: false }` [INFO] [stdout] acce9a99bafb31e36e3cd9fdc0c76587349735ff8d4ef4eb499e3a2edabfe16c