[INFO] fetching crate strong 0.3.4... [INFO] checking strong-0.3.4 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate strong 0.3.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate strong 0.3.4 [INFO] finished tweaking crates.io crate strong 0.3.4 [INFO] tweaked toml for crates.io crate strong 0.3.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strong 0.3.4 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.11) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding validator v0.12.0 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e68c24d1ec4fd59ca8c948cbfa5a9073693fab75b13a7dd16b01c192aa1917fb [INFO] running `Command { std: "docker" "start" "-a" "e68c24d1ec4fd59ca8c948cbfa5a9073693fab75b13a7dd16b01c192aa1917fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e68c24d1ec4fd59ca8c948cbfa5a9073693fab75b13a7dd16b01c192aa1917fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68c24d1ec4fd59ca8c948cbfa5a9073693fab75b13a7dd16b01c192aa1917fb", kill_on_drop: false }` [INFO] [stdout] e68c24d1ec4fd59ca8c948cbfa5a9073693fab75b13a7dd16b01c192aa1917fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef5f089ea811b138960068d6db7436562ec0f593bc28aa3ba9e7b008434cd72b [INFO] running `Command { std: "docker" "start" "-a" "ef5f089ea811b138960068d6db7436562ec0f593bc28aa3ba9e7b008434cd72b", kill_on_drop: false }` [INFO] [stderr] Checking strong v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 40 | impl From<&Strong> for Box> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 51 | impl From>> for StrongBuf [INFO] [stdout] | ^^^^^^^^^^----^---^------^^^^^^^^^^^^---------^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StrongBuf` is not local [INFO] [stdout] | | | `Strong` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 63 | impl From> for Box> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 71 | impl From>> for Box> [INFO] [stdout] | ^^^^^^^^^^----^---^^^^^------^^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | `Strong` is not local [INFO] [stdout] | | | | `Box` is not local [INFO] [stdout] | | | `Strong` is not local [INFO] [stdout] | | `Cow` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 84 | impl<'a, Ctx> From<&'a Strong> for Cow<'a, Strong> [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^------^^^^^^^^^^^---^^^^^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Cow` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 92 | impl<'a, Ctx> From> for Cow<'a, Strong> [INFO] [stdout] | ^^^^^^^^^^^^^^----^---------^^^^^^^^^^^---^^^^^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Cow` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 100 | impl From> for Arc> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Arc` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 112 | impl From> for Rc> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^--^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Rc` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 125 | impl From<&Strong> for Arc> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Arc` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 137 | impl From<&Strong> for Rc> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^--^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Rc` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 40 | impl From<&Strong> for Box> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 51 | impl From>> for StrongBuf [INFO] [stdout] | ^^^^^^^^^^----^---^------^^^^^^^^^^^^---------^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `StrongBuf` is not local [INFO] [stdout] | | | `Strong` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 63 | impl From> for Box> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 71 | impl From>> for Box> [INFO] [stdout] | ^^^^^^^^^^----^---^^^^^------^^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | `Strong` is not local [INFO] [stdout] | | | | `Box` is not local [INFO] [stdout] | | | `Strong` is not local [INFO] [stdout] | | `Cow` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 84 | impl<'a, Ctx> From<&'a Strong> for Cow<'a, Strong> [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^------^^^^^^^^^^^---^^^^^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Cow` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 92 | impl<'a, Ctx> From> for Cow<'a, Strong> [INFO] [stdout] | ^^^^^^^^^^^^^^----^---------^^^^^^^^^^^---^^^^^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Cow` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 100 | impl From> for Arc> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Arc` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 112 | impl From> for Rc> [INFO] [stdout] | ^^^^^^^^^^----^---------^^^^^^^^^^^--^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Rc` is not local [INFO] [stdout] | | `StrongBuf` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 125 | impl From<&Strong> for Arc> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^---^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Arc` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/impl_convert.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn _impl_from() { [INFO] [stdout] | --------------- move the `impl` block outside of this function `_impl_from` [INFO] [stdout] ... [INFO] [stdout] 137 | impl From<&Strong> for Rc> [INFO] [stdout] | ^^^^^^^^^^----^^------^^^^^^^^^^^--^------^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Strong` is not local [INFO] [stdout] | | | `Rc` is not local [INFO] [stdout] | | `Strong` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strong::validators` [INFO] [stdout] --> tests/readme.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use strong::{validators::Email, Strong, StrongBuf, Validator}; [INFO] [stdout] | ^^^^^^^^^^ could not find `validators` in `strong` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod validators; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `some_validators` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "some_validators")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strong` (test "readme") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ef5f089ea811b138960068d6db7436562ec0f593bc28aa3ba9e7b008434cd72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5f089ea811b138960068d6db7436562ec0f593bc28aa3ba9e7b008434cd72b", kill_on_drop: false }` [INFO] [stdout] ef5f089ea811b138960068d6db7436562ec0f593bc28aa3ba9e7b008434cd72b