[INFO] fetching crate strong 0.3.4... [INFO] testing strong-0.3.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate strong 0.3.4 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strong 0.3.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.3.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c34dfa62d4a94c47ce7aae3afd3d7c87b240e3d3ce7aadf37d79592d6ed750 [INFO] running `Command { std: "docker" "start" "-a" "d6c34dfa62d4a94c47ce7aae3afd3d7c87b240e3d3ce7aadf37d79592d6ed750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c34dfa62d4a94c47ce7aae3afd3d7c87b240e3d3ce7aadf37d79592d6ed750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c34dfa62d4a94c47ce7aae3afd3d7c87b240e3d3ce7aadf37d79592d6ed750", kill_on_drop: false }` [INFO] [stdout] d6c34dfa62d4a94c47ce7aae3afd3d7c87b240e3d3ce7aadf37d79592d6ed750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a5d379800667e91fad0941e3fdb016fa24162e804fb32f63e9f48d199e9ab4f [INFO] running `Command { std: "docker" "start" "-a" "7a5d379800667e91fad0941e3fdb016fa24162e804fb32f63e9f48d199e9ab4f", 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.19s [INFO] running `Command { std: "docker" "inspect" "7a5d379800667e91fad0941e3fdb016fa24162e804fb32f63e9f48d199e9ab4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5d379800667e91fad0941e3fdb016fa24162e804fb32f63e9f48d199e9ab4f", kill_on_drop: false }` [INFO] [stdout] 7a5d379800667e91fad0941e3fdb016fa24162e804fb32f63e9f48d199e9ab4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf7aa72c855875cf8c05386cd7145f5b3da3dadc44e30a3c43f95faf4b2fcb3 [INFO] running `Command { std: "docker" "start" "-a" "9bf7aa72c855875cf8c05386cd7145f5b3da3dadc44e30a3c43f95faf4b2fcb3", 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] [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" "9bf7aa72c855875cf8c05386cd7145f5b3da3dadc44e30a3c43f95faf4b2fcb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf7aa72c855875cf8c05386cd7145f5b3da3dadc44e30a3c43f95faf4b2fcb3", kill_on_drop: false }` [INFO] [stdout] 9bf7aa72c855875cf8c05386cd7145f5b3da3dadc44e30a3c43f95faf4b2fcb3