[INFO] fetching crate strong 0.3.4... [INFO] testing strong-0.3.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate strong 0.3.4 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strong 0.3.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cf7bff5dfbf33c1a3558a4c412ae63e20f3cccb851675f97478c40f82d8e0ca [INFO] running `Command { std: "docker" "start" "-a" "4cf7bff5dfbf33c1a3558a4c412ae63e20f3cccb851675f97478c40f82d8e0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cf7bff5dfbf33c1a3558a4c412ae63e20f3cccb851675f97478c40f82d8e0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf7bff5dfbf33c1a3558a4c412ae63e20f3cccb851675f97478c40f82d8e0ca", kill_on_drop: false }` [INFO] [stdout] 4cf7bff5dfbf33c1a3558a4c412ae63e20f3cccb851675f97478c40f82d8e0ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f38ad8308c8f8119931b21ba61c81072581c19070792fc08b4221d8504f4b8b [INFO] running `Command { std: "docker" "start" "-a" "3f38ad8308c8f8119931b21ba61c81072581c19070792fc08b4221d8504f4b8b", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "3f38ad8308c8f8119931b21ba61c81072581c19070792fc08b4221d8504f4b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f38ad8308c8f8119931b21ba61c81072581c19070792fc08b4221d8504f4b8b", kill_on_drop: false }` [INFO] [stdout] 3f38ad8308c8f8119931b21ba61c81072581c19070792fc08b4221d8504f4b8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81d00aa344daa015d06bb840bd85aa54a6290021f4e450d93eba6c974c9cb65 [INFO] running `Command { std: "docker" "start" "-a" "e81d00aa344daa015d06bb840bd85aa54a6290021f4e450d93eba6c974c9cb65", kill_on_drop: false }` [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] [stderr] Compiling 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: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] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "e81d00aa344daa015d06bb840bd85aa54a6290021f4e450d93eba6c974c9cb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81d00aa344daa015d06bb840bd85aa54a6290021f4e450d93eba6c974c9cb65", kill_on_drop: false }` [INFO] [stdout] e81d00aa344daa015d06bb840bd85aa54a6290021f4e450d93eba6c974c9cb65