[INFO] fetching crate uninit 0.6.2... [INFO] testing uninit-0.6.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate uninit 0.6.2 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking crates.io crate uninit 0.6.2 [INFO] finished tweaking crates.io crate uninit 0.6.2 [INFO] tweaked toml for crates.io crate uninit 0.6.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uninit 0.6.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding zerocopy v0.7.35 (available: v0.8.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa1f9766b2f26c84d172575f18028b70e844c34c11acbc34b6d1ce95eb7fcb0d [INFO] running `Command { std: "docker" "start" "-a" "aa1f9766b2f26c84d172575f18028b70e844c34c11acbc34b6d1ce95eb7fcb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa1f9766b2f26c84d172575f18028b70e844c34c11acbc34b6d1ce95eb7fcb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1f9766b2f26c84d172575f18028b70e844c34c11acbc34b6d1ce95eb7fcb0d", kill_on_drop: false }` [INFO] [stdout] aa1f9766b2f26c84d172575f18028b70e844c34c11acbc34b6d1ce95eb7fcb0d [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e41689a6db5979a378b2a62560e6baf8d274a76e0b8ac9a34fdfcd6c2a9c9cf7 [INFO] running `Command { std: "docker" "start" "-a" "e41689a6db5979a378b2a62560e6baf8d274a76e0b8ac9a34fdfcd6c2a9c9cf7", kill_on_drop: false }` [INFO] [stderr] Compiling uninit v0.6.2 (/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/out_ref.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 639 | impl<'out, T: 'out> SliceIndex<'out, T> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` 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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] | | ------------------ `Range` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] 653 | | // a ..= b [INFO] [stdout] 654 | | ::core::ops::RangeInclusive, [INFO] [stdout] | | --------------------------- `RangeInclusive` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 656 | | ::core::ops::RangeFrom, [INFO] [stdout] | | ---------------------- `RangeFrom` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 658 | | ::core::ops::RangeTo, [INFO] [stdout] | | -------------------- `RangeTo` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 660 | | ::core::ops::RangeToInclusive, [INFO] [stdout] | | ----------------------------- `RangeToInclusive` is not local [INFO] [stdout] 661 | | // .. [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] | | ---------------------- `RangeFull` is not local [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "e41689a6db5979a378b2a62560e6baf8d274a76e0b8ac9a34fdfcd6c2a9c9cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41689a6db5979a378b2a62560e6baf8d274a76e0b8ac9a34fdfcd6c2a9c9cf7", kill_on_drop: false }` [INFO] [stdout] e41689a6db5979a378b2a62560e6baf8d274a76e0b8ac9a34fdfcd6c2a9c9cf7 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4baf2d13f1260b3aae2d329e472b286adb8c63f52111e11c5d52ffaa337ea973 [INFO] running `Command { std: "docker" "start" "-a" "4baf2d13f1260b3aae2d329e472b286adb8c63f52111e11c5d52ffaa337ea973", kill_on_drop: false }` [INFO] [stderr] Compiling uninit v0.6.2 (/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/out_ref.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 639 | impl<'out, T: 'out> SliceIndex<'out, T> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` 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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] | | ------------------ `Range` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] 653 | | // a ..= b [INFO] [stdout] 654 | | ::core::ops::RangeInclusive, [INFO] [stdout] | | --------------------------- `RangeInclusive` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 656 | | ::core::ops::RangeFrom, [INFO] [stdout] | | ---------------------- `RangeFrom` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 658 | | ::core::ops::RangeTo, [INFO] [stdout] | | -------------------- `RangeTo` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 660 | | ::core::ops::RangeToInclusive, [INFO] [stdout] | | ----------------------------- `RangeToInclusive` is not local [INFO] [stdout] 661 | | // .. [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] | | ---------------------- `RangeFull` is not local [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 639 | impl<'out, T: 'out> SliceIndex<'out, T> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` 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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] | | ------------------ `Range` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] 653 | | // a ..= b [INFO] [stdout] 654 | | ::core::ops::RangeInclusive, [INFO] [stdout] | | --------------------------- `RangeInclusive` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 656 | | ::core::ops::RangeFrom, [INFO] [stdout] | | ---------------------- `RangeFrom` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 658 | | ::core::ops::RangeTo, [INFO] [stdout] | | -------------------- `RangeTo` is not local [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 660 | | ::core::ops::RangeToInclusive, [INFO] [stdout] | | ----------------------------- `RangeToInclusive` is not local [INFO] [stdout] 661 | | // .. [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/out_ref.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stdout] 611 | | where [INFO] [stdout] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stdout] ... [INFO] [stdout] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SliceIndex` is not local [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_SliceIndex! { [INFO] [stdout] 651 | | // a .. b [INFO] [stdout] 652 | | ::core::ops::Range, [INFO] [stdout] ... | [INFO] [stdout] 662 | | ::core::ops::RangeFull, [INFO] [stdout] | | ---------------------- `RangeFull` is not local [INFO] [stdout] 663 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "4baf2d13f1260b3aae2d329e472b286adb8c63f52111e11c5d52ffaa337ea973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4baf2d13f1260b3aae2d329e472b286adb8c63f52111e11c5d52ffaa337ea973", kill_on_drop: false }` [INFO] [stdout] 4baf2d13f1260b3aae2d329e472b286adb8c63f52111e11c5d52ffaa337ea973 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d78f6458dc967a3a986f3db388dbc9bb76eb0a6b8f6dcacbfc9cd1a20d626691 [INFO] running `Command { std: "docker" "start" "-a" "d78f6458dc967a3a986f3db388dbc9bb76eb0a6b8f6dcacbfc9cd1a20d626691", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:639:9 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 639 | impl<'out, T: 'out> SliceIndex<'out, T> for usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] | | ------------------ `Range` is not local [INFO] [stderr] ... | [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] 653 | | // a ..= b [INFO] [stderr] 654 | | ::core::ops::RangeInclusive, [INFO] [stderr] | | --------------------------- `RangeInclusive` is not local [INFO] [stderr] ... | [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] ... | [INFO] [stderr] 656 | | ::core::ops::RangeFrom, [INFO] [stderr] | | ---------------------- `RangeFrom` is not local [INFO] [stderr] ... | [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] ... | [INFO] [stderr] 658 | | ::core::ops::RangeTo, [INFO] [stderr] | | -------------------- `RangeTo` is not local [INFO] [stderr] ... | [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] ... | [INFO] [stderr] 660 | | ::core::ops::RangeToInclusive, [INFO] [stderr] | | ----------------------------- `RangeToInclusive` is not local [INFO] [stderr] 661 | | // .. [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/out_ref.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 610 | / pub fn get_out(self: Out<'out, [T]>, idx: Index) -> Option [INFO] [stderr] 611 | | where [INFO] [stderr] 612 | | Index: UsizeOrRange<'out, T>, // renamed for the documentation [INFO] [stderr] | |_____________________________________- move the `impl` block outside of this method `get_out` [INFO] [stderr] ... [INFO] [stderr] 618 | impl<'out, T : 'out> SliceIndex<'out, T> for $Range { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SliceIndex` is not local [INFO] [stderr] ... [INFO] [stderr] 650 | / impl_SliceIndex! { [INFO] [stderr] 651 | | // a .. b [INFO] [stderr] 652 | | ::core::ops::Range, [INFO] [stderr] ... | [INFO] [stderr] 662 | | ::core::ops::RangeFull, [INFO] [stderr] | | ---------------------- `RangeFull` is not local [INFO] [stderr] 663 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `impl_SliceIndex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `impl_SliceIndex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `uninit` (lib) generated 7 warnings [INFO] [stderr] warning: `uninit` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uninit-104063fd7d8f3c98) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/docs.rs (/opt/rustwide/target/debug/deps/docs-28d0b8e2e2147b93) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests uninit [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 92) - compile ... ok [INFO] [stdout] test src/extension_traits/manually_drop_mut.rs - extension_traits::manually_drop_mut::ManuallyDropMut (line 19) - compile fail ... ok [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 48) ... ok [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::new_uninit_slice::BoxNewUninitSlice::new_uninit_slice (line 261) ... ok [INFO] [stdout] test src/extension_traits/manually_drop_mut.rs - extension_traits::manually_drop_mut::ManuallyDropMut (line 46) ... ok [INFO] [stdout] test src/extension_traits/manually_drop_mut.rs - extension_traits::manually_drop_mut::ManuallyDropMut (line 35) ... ok [INFO] [stdout] test src/extension_traits/as_out.rs - extension_traits::as_out::AsOut (line 28) ... ok [INFO] [stdout] test src/extension_traits/transpose.rs - extension_traits::transpose::Transpose::transpose_mut (line 114) ... ok [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::BoxAssumeInit (line 238) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref (line 42) ... ignored [INFO] [stdout] test src/extension_traits/transpose.rs - extension_traits::transpose::Transpose (line 13) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::as_mut_uninit (line 386) ... ignored [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::into_backing_buffer_forget_elems (line 342) ... FAILED [INFO] [stdout] test src/extension_traits/transpose.rs - extension_traits::transpose::Transpose::transpose_ref (line 92) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::assume_init (line 317) - compile ... ok [INFO] [stdout] test src/extension_traits/transpose.rs - extension_traits::transpose::Transpose::transpose (line 59) ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::get_backing_buffer_with_leaking_writes (line 274) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::as_mut_uninit (line 361) - compile ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::get_backing_buffer_with_leaking_writes (line 253) ... ok [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 60) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::write (line 502) ... ok [INFO] [stdout] test src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 74) ... FAILED [INFO] [stdout] test src/out_ref.rs - out_ref (line 24) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::copy_from_slice (line 728) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::write (line 483) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T;N]>::try_from (line 221) ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::split_at_extra_cap (line 141) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T;N]>::as_slice_out (line 1019) ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::reserve_uninit (line 188) ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::into_backing_buffer_forget_elems (line 326) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,T>::as_ref_uninit (line 409) ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::VecExtendFromReader (line 396) ... ok [INFO] [stdout] test src/read/mod.rs - read::ReadIntoUninit (line 33) - compile ... ok [INFO] [stdout] test src/extension_traits/vec.rs - extension_traits::vec::Vec::spare_cap (line 63) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::empty (line 990) ... ok [INFO] [stdout] test src/lib.rs - uninit_array (line 71) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::fill_with_iter (line 867) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::fill (line 778) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::fill_with (line 813) ... ok [INFO] [stdout] test src/read/mod.rs - read::ReadIntoUninit (line 20) ... ok [INFO] [stdout] test src/read/mod.rs - read::ReadIntoUninit (line 58) ... ok [INFO] [stdout] test src/read/mod.rs - read::_private_auto_impl (line 167) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::slice_from_raw_parts (line 964) ... ok [INFO] [stdout] test src/read/mod.rs - read::ReadIntoUninit::read_into_uninit (line 86) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::from (line 194) ... ok [INFO] [stdout] test src/out_ref.rs - out_ref::Out<'out,[T]>::get_out (line 593) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/extension_traits/vec.rs - extension_traits::vec::Vec::into_backing_buffer_forget_elems (line 342) stdout ---- [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/extension_traits/vec.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 16 | Box::assume_init(strings_buffer) [INFO] [stdout] | ^^^^^^^^^^^ multiple `assume_init` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `Box<[std::mem::MaybeUninit], A>` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `Box, A>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 74) stdout ---- [INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (500) has overflowed its stack [INFO] [stdout] fatal runtime error: stack overflow, aborting [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/extension_traits/boxed.rs - extension_traits::boxed::Box> (line 74) [INFO] [stdout] src/extension_traits/vec.rs - extension_traits::vec::Vec::into_backing_buffer_forget_elems (line 342) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 42 passed; 2 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.88s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d78f6458dc967a3a986f3db388dbc9bb76eb0a6b8f6dcacbfc9cd1a20d626691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78f6458dc967a3a986f3db388dbc9bb76eb0a6b8f6dcacbfc9cd1a20d626691", kill_on_drop: false }` [INFO] [stdout] d78f6458dc967a3a986f3db388dbc9bb76eb0a6b8f6dcacbfc9cd1a20d626691