[INFO] fetching crate strong 0.3.4... [INFO] checking strong-0.3.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate strong 0.3.4 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate strong 0.3.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.12.0 [INFO] [stderr] Downloaded validator_types v0.12.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333cc2a64a0721b5cc20fc16464c9e040fad21fd8de6619be3beb3aa7b60d355 [INFO] running `Command { std: "docker" "start" "-a" "333cc2a64a0721b5cc20fc16464c9e040fad21fd8de6619be3beb3aa7b60d355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333cc2a64a0721b5cc20fc16464c9e040fad21fd8de6619be3beb3aa7b60d355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333cc2a64a0721b5cc20fc16464c9e040fad21fd8de6619be3beb3aa7b60d355", kill_on_drop: false }` [INFO] [stdout] 333cc2a64a0721b5cc20fc16464c9e040fad21fd8de6619be3beb3aa7b60d355 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4c7a253248c7f2c9d28b617924b01d84c395b62dcf022cb48c552917d458bae [INFO] running `Command { std: "docker" "start" "-a" "a4c7a253248c7f2c9d28b617924b01d84c395b62dcf022cb48c552917d458bae", 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] 15 | #[cfg(feature = "some_validators")] [INFO] [stdout] | --------------------------- the item is gated behind the `some_validators` feature [INFO] [stdout] 16 | pub mod 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" "a4c7a253248c7f2c9d28b617924b01d84c395b62dcf022cb48c552917d458bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c7a253248c7f2c9d28b617924b01d84c395b62dcf022cb48c552917d458bae", kill_on_drop: false }` [INFO] [stdout] a4c7a253248c7f2c9d28b617924b01d84c395b62dcf022cb48c552917d458bae