[INFO] fetching crate strided 0.2.9... [INFO] testing strided-0.2.9 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate strided 0.2.9 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking crates.io crate strided 0.2.9 [INFO] finished tweaking crates.io crate strided 0.2.9 [INFO] tweaked toml for crates.io crate strided 0.2.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strided 0.2.9 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c24c00d8be02e67007a430e065a58bdca688db9cdfd309771a05beb43ab68df [INFO] running `Command { std: "docker" "start" "-a" "0c24c00d8be02e67007a430e065a58bdca688db9cdfd309771a05beb43ab68df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c24c00d8be02e67007a430e065a58bdca688db9cdfd309771a05beb43ab68df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c24c00d8be02e67007a430e065a58bdca688db9cdfd309771a05beb43ab68df", kill_on_drop: false }` [INFO] [stdout] 0c24c00d8be02e67007a430e065a58bdca688db9cdfd309771a05beb43ab68df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cd1faf16268315d732282edc7dcaf13383c00bc755715765624e43b948ed4bb [INFO] running `Command { std: "docker" "start" "-a" "8cd1faf16268315d732282edc7dcaf13383c00bc755715765624e43b948ed4bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling strided v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(write!(f, "{:?}", *x)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(write!(f, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/base.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | iterator!(Items -> &'a T); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | iterator!(MutItems -> &'a mut T); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride<'_, Self::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<::Elem>; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<'_, ::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride { Stride::new(self) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride<'_, T> { Stride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride { MutStride::new(self) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { MutStride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride { *self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride<'_, T> { *self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride { **self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride<'_, T> { **self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride { self.reborrow() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { self.reborrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "8cd1faf16268315d732282edc7dcaf13383c00bc755715765624e43b948ed4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cd1faf16268315d732282edc7dcaf13383c00bc755715765624e43b948ed4bb", kill_on_drop: false }` [INFO] [stdout] 8cd1faf16268315d732282edc7dcaf13383c00bc755715765624e43b948ed4bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b95ee624d4d602440ecffc9955b8f24e442981c9be03166acf1ae9d2c982a96 [INFO] running `Command { std: "docker" "start" "-a" "3b95ee624d4d602440ecffc9955b8f24e442981c9be03166acf1ae9d2c982a96", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(write!(f, "{:?}", *x)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(write!(f, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/base.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | iterator!(Items -> &'a T); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | iterator!(MutItems -> &'a mut T); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride<'_, Self::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<::Elem>; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<'_, ::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride { Stride::new(self) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride<'_, T> { Stride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride { MutStride::new(self) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { MutStride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride { *self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride<'_, T> { *self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride { **self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride<'_, T> { **self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride { self.reborrow() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { self.reborrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling strided v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(write!(f, "{:?}", *x)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | try!(write!(f, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/base.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | iterator!(Items -> &'a T); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stdout] --> src/base.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[allow(unsigned_negation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | iterator!(MutItems -> &'a mut T); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | fn as_stride(&self) -> Stride<'_, Self::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<::Elem>; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn as_stride_mut(&mut self) -> MutStride<'_, ::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn as_stride(&self) -> Stride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride { Stride::new(self) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn as_stride(&self) -> Stride<'_, T> { Stride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride { MutStride::new(self) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { MutStride::new(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride { *self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn as_stride(&self) -> Stride<'_, T> { *self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride { **self } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn as_stride(&self) -> Stride<'_, T> { **self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride { self.reborrow() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { self.reborrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.88s [INFO] running `Command { std: "docker" "inspect" "3b95ee624d4d602440ecffc9955b8f24e442981c9be03166acf1ae9d2c982a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b95ee624d4d602440ecffc9955b8f24e442981c9be03166acf1ae9d2c982a96", kill_on_drop: false }` [INFO] [stdout] 3b95ee624d4d602440ecffc9955b8f24e442981c9be03166acf1ae9d2c982a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ac7bb94ff17874e983ebe69480048eb4d0cffcd0a39706d60033cef3b08c8df [INFO] running `Command { std: "docker" "start" "-a" "8ac7bb94ff17874e983ebe69480048eb4d0cffcd0a39706d60033cef3b08c8df", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/base.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | try!(write!(f, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/base.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | try!(write!(f, "{:?}", *x)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/base.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | try!(write!(f, ", ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stderr] --> src/base.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | #[allow(raw_pointer_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stderr] --> src/base.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | #[allow(unsigned_negation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 265 | iterator!(Items -> &'a T); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stderr] --> src/base.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | #[allow(unsigned_negation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 280 | iterator!(MutItems -> &'a mut T); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | fn as_stride(&self) -> Stride; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | fn as_stride(&self) -> Stride<'_, Self::Elem>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | fn as_stride_mut(&mut self) -> MutStride<::Elem>; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 18 | fn as_stride_mut(&mut self) -> MutStride<'_, ::Elem>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | fn as_stride(&self) -> Stride { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | fn as_stride(&self) -> Stride<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | fn as_stride_mut(&mut self) -> MutStride { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | fn as_stride(&self) -> Stride { Stride::new(self) } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | fn as_stride(&self) -> Stride<'_, T> { Stride::new(self) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | fn as_stride_mut(&mut self) -> MutStride { MutStride::new(self) } [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { MutStride::new(self) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | fn as_stride(&self) -> Stride { *self } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | fn as_stride(&self) -> Stride<'_, T> { *self } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | fn as_stride(&self) -> Stride { **self } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | fn as_stride(&self) -> Stride<'_, T> { **self } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | fn as_stride_mut(&mut self) -> MutStride { self.reborrow() } [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 60 | fn as_stride_mut(&mut self) -> MutStride<'_, T> { self.reborrow() } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `strided` (lib) generated 15 warnings (run `cargo fix --lib -p strided` to apply 9 suggestions) [INFO] [stderr] warning: `strided` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strided-a4314cf0bcf23b70) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test imm::tests::get ... ok [INFO] [stdout] test imm::tests::iter ... ok [INFO] [stdout] test imm::tests::comparisons ... ok [INFO] [stdout] test imm::tests::slice_split ... ok [INFO] [stdout] test imm::tests::substrides2 ... ok [INFO] [stdout] test imm::tests::substrides ... ok [INFO] [stdout] test imm::tests::show ... ok [INFO] [stdout] test mut_::tests::comparisons ... ok [INFO] [stdout] test mut_::tests::get ... ok [INFO] [stdout] test imm::tests::stride_len ... ok [INFO] [stdout] test mut_::tests::substrides2 ... ok [INFO] [stdout] test mut_::tests::iter ... ok [INFO] [stdout] test mut_::tests::substrides ... ok [INFO] [stdout] test mut_::tests::show ... ok [INFO] [stdout] test imm::tests::no_zero_sized_types - should panic ... ok [INFO] [stdout] test mut_::tests::no_zero_sized_types - should panic ... ok [INFO] [stdout] test mut_::tests::slice_split ... ok [INFO] [stdout] test mut_::tests::reborrow ... ok [INFO] [stdout] test mut_::tests::stride_len ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests strided [INFO] [stderr] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stderr] --> src/base.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | #[allow(raw_pointer_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stderr] --> src/base.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | #[allow(unsigned_negation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 265 | iterator!(Items -> &'a T); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lint `unsigned_negation` has been removed: replaced by negate_unsigned feature gate [INFO] [stderr] --> src/base.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | #[allow(unsigned_negation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 280 | iterator!(MutItems -> &'a mut T); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `iterator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 90) ... ignored [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/lib.rs - (line 28) ... ok [INFO] [stdout] test src/lib.rs - (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - (line 109) ... ok [INFO] [stdout] test src/lib.rs - (line 66) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 164) stdout ---- [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 2 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> src/lib.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 32 | let twiddle = Complex::from_polar(&1.0, &(-2.0 * f64::consts::PI / input.len() as f64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Float` is not implemented for `&{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Float`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] note: required by a bound in `Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | impl Complex { [INFO] [stdout] | ^^^^^ required by this bound in `Complex::::from_polar` [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn from_polar(r: T, theta: T) -> Self { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Complex` by `Complex<&f64>` [INFO] [stdout] --> src/lib.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 45 | factor = factor * twiddle; [INFO] [stdout] | ^ no implementation for `Complex * Complex<&f64>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul>` is not implemented for `Complex` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&Complex` implements `Mul<&T>` [INFO] [stdout] `&Complex` implements `Mul>` [INFO] [stdout] `&Complex` implements `Mul` [INFO] [stdout] `&Complex` implements `Mul` [INFO] [stdout] `Complex` implements `Mul<&Complex>` [INFO] [stdout] `Complex` implements `Mul<&T>` [INFO] [stdout] `Complex` implements `Mul` [INFO] [stdout] `Complex` implements `Mul` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 164) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8ac7bb94ff17874e983ebe69480048eb4d0cffcd0a39706d60033cef3b08c8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac7bb94ff17874e983ebe69480048eb4d0cffcd0a39706d60033cef3b08c8df", kill_on_drop: false }` [INFO] [stdout] 8ac7bb94ff17874e983ebe69480048eb4d0cffcd0a39706d60033cef3b08c8df