[INFO] fetching crate strings 0.1.1... [INFO] testing strings-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate strings 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate strings 0.1.1 [INFO] finished tweaking crates.io crate strings 0.1.1 [INFO] tweaked toml for crates.io crate strings 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strings 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (available: v0.4.29) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5db97f35fcf3aa9aa6699b0e229a89d019daee1f0707346bf81e1d908673b323 [INFO] running `Command { std: "docker" "start" "-a" "5db97f35fcf3aa9aa6699b0e229a89d019daee1f0707346bf81e1d908673b323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5db97f35fcf3aa9aa6699b0e229a89d019daee1f0707346bf81e1d908673b323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db97f35fcf3aa9aa6699b0e229a89d019daee1f0707346bf81e1d908673b323", kill_on_drop: false }` [INFO] [stdout] 5db97f35fcf3aa9aa6699b0e229a89d019daee1f0707346bf81e1d908673b323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6771aad11714e9041710d9579dd0fb6b0c42e30d11396a522b47e6e0b8a1e2 [INFO] running `Command { std: "docker" "start" "-a" "4d6771aad11714e9041710d9579dd0fb6b0c42e30d11396a522b47e6e0b8a1e2", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling strings v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(write!(fmt, "{}", node.data)); [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/string_buffer.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | try!(write!(f, "StringBuffer[{:?}", self.first.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | try!(write!(f, ", {:?}", next.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ropes/src_rope.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | (src_loc as isize + self.src_offset) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1017 - (src_loc as isize + self.src_offset) [INFO] [stdout] 1017 + src_loc as isize + self.src_offset [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/string_buffer.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let mut last = &mut *result.first; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [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] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/src_rope.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "4d6771aad11714e9041710d9579dd0fb6b0c42e30d11396a522b47e6e0b8a1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6771aad11714e9041710d9579dd0fb6b0c42e30d11396a522b47e6e0b8a1e2", kill_on_drop: false }` [INFO] [stdout] 4d6771aad11714e9041710d9579dd0fb6b0c42e30d11396a522b47e6e0b8a1e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d88d1500ba3f6d666fdc77439ee00d3bc99bef58c5d3128d997718fcea200c [INFO] running `Command { std: "docker" "start" "-a" "27d88d1500ba3f6d666fdc77439ee00d3bc99bef58c5d3128d997718fcea200c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(write!(fmt, "{}", node.data)); [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/string_buffer.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | try!(write!(f, "StringBuffer[{:?}", self.first.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | try!(write!(f, ", {:?}", next.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ropes/src_rope.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | (src_loc as isize + self.src_offset) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1017 - (src_loc as isize + self.src_offset) [INFO] [stdout] 1017 + src_loc as isize + self.src_offset [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/string_buffer.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let mut last = &mut *result.first; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [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] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/src_rope.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling strings v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(write!(fmt, "{}", node.data)); [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/string_buffer.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | try!(write!(f, "StringBuffer[{:?}", self.first.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/string_buffer.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | try!(write!(f, ", {:?}", next.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/rope.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | try!(write!(fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | try!(write!(fmt, ", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | try!(write!(fmt, "left: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ropes/src_rope.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | try!(write!(fmt, "right: ()")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ropes/src_rope.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | (src_loc as isize + self.src_offset) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1017 - (src_loc as isize + self.src_offset) [INFO] [stdout] 1017 + src_loc as isize + self.src_offset [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/string_buffer.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let mut last = &mut *result.first; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [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] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/rope.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/macros.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ropes/src_rope.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl_rope!(Rope); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ropes/src_rope.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "27d88d1500ba3f6d666fdc77439ee00d3bc99bef58c5d3128d997718fcea200c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d88d1500ba3f6d666fdc77439ee00d3bc99bef58c5d3128d997718fcea200c", kill_on_drop: false }` [INFO] [stdout] 27d88d1500ba3f6d666fdc77439ee00d3bc99bef58c5d3128d997718fcea200c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3590d3c32cf93da727c24da3bbb4b0686116d53c224e09f67874d0ee5cfd63a3 [INFO] running `Command { std: "docker" "start" "-a" "3590d3c32cf93da727c24da3bbb4b0686116d53c224e09f67874d0ee5cfd63a3", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/string_buffer.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | try!(write!(fmt, "{}", node.data)); [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/string_buffer.rs:210:9 [INFO] [stderr] | [INFO] [stderr] 210 | try!(write!(f, "StringBuffer[{:?}", self.first.data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/string_buffer.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | try!(write!(f, ", {:?}", next.data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:240:17 [INFO] [stderr] | [INFO] [stderr] 240 | try!(write!(fmt, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:259:17 [INFO] [stderr] | [INFO] [stderr] 259 | try!(write!(fmt, "|")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:265:17 [INFO] [stderr] | [INFO] [stderr] 265 | try!(write!(fmt, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:315:17 [INFO] [stderr] | [INFO] [stderr] 315 | try!(write!(fmt, "(")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:321:17 [INFO] [stderr] | [INFO] [stderr] 321 | try!(write!(fmt, ", ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:317:21 [INFO] [stderr] | [INFO] [stderr] 317 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:319:21 [INFO] [stderr] | [INFO] [stderr] 319 | try!(write!(fmt, "left: ()")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:323:21 [INFO] [stderr] | [INFO] [stderr] 323 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/rope.rs:325:21 [INFO] [stderr] | [INFO] [stderr] 325 | try!(write!(fmt, "right: ()")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | try!(write!(fmt, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:303:17 [INFO] [stderr] | [INFO] [stderr] 303 | try!(write!(fmt, "|")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | try!(write!(fmt, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:359:17 [INFO] [stderr] | [INFO] [stderr] 359 | try!(write!(fmt, "(")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:365:17 [INFO] [stderr] | [INFO] [stderr] 365 | try!(write!(fmt, ", ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:361:21 [INFO] [stderr] | [INFO] [stderr] 361 | try!(write!(fmt, "left: {:?}", &**left)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:363:21 [INFO] [stderr] | [INFO] [stderr] 363 | try!(write!(fmt, "left: ()")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:367:21 [INFO] [stderr] | [INFO] [stderr] 367 | try!(write!(fmt, "right: {:?}", &**right)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ropes/src_rope.rs:369:21 [INFO] [stderr] | [INFO] [stderr] 369 | try!(write!(fmt, "right: ()")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ropes/src_rope.rs:1017:13 [INFO] [stderr] | [INFO] [stderr] 1017 | (src_loc as isize + self.src_offset) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1017 - (src_loc as isize + self.src_offset) [INFO] [stderr] 1017 + src_loc as isize + self.src_offset [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/string_buffer.rs:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | let mut last = &mut *result.first; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/rope.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [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] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/rope.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/rope.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/src_rope.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn full_slice(&self) -> RopeSlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/src_rope.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn full_slice(&self) -> RopeSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/macros.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn chars(&self) -> RopeChars { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] ::: src/ropes/src_rope.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | impl_rope!(Rope); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_rope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 87 | pub fn chars(&self) -> RopeChars<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ropes/src_rope.rs:150:22 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 150 | pub fn src_slice(&self, Range { start, end }: Range) -> RopeSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `strings` (lib) generated 30 warnings (run `cargo fix --lib -p strings` to apply 9 suggestions) [INFO] [stderr] warning: `strings` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strings-adc40a317f5dd645) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test ropes::rope::test::test_from_string ... ok [INFO] [stdout] test ropes::rope::test::test_insert_copy ... ok [INFO] [stdout] test ropes::rope::test::test_insert_replace ... ok [INFO] [stdout] test ropes::rope::test::test_push_copy ... ok [INFO] [stdout] test ropes::rope::test::test_remove ... ok [INFO] [stdout] test ropes::rope::test::test_new ... ok [INFO] [stdout] test ropes::rope::test::test_slice_empty_rope ... ok [INFO] [stdout] test ropes::rope::test::test_slice_from_start ... ok [INFO] [stdout] test ropes::rope::test::test_slice_iter ... ok [INFO] [stdout] test ropes::rope::test::test_slice_iter_no_split ... ok [INFO] [stdout] test ropes::rope::test::test_slice_iter_special_chars ... ok [INFO] [stdout] test ropes::rope::test::test_slice_iter_special_chars_split ... ok [INFO] [stdout] test ropes::rope::test::test_small_slice_single_node ... ok [INFO] [stdout] test ropes::rope::test::test_small_slice_start_single_node ... ok [INFO] [stdout] test ropes::src_rope::test::test_from_string ... ok [INFO] [stdout] test ropes::src_rope::test::test_insert_copy ... ok [INFO] [stdout] test ropes::src_rope::test::test_insert_replace ... ok [INFO] [stdout] test ropes::src_rope::test::test_minz ... ok [INFO] [stdout] test ropes::src_rope::test::test_new ... ok [INFO] [stdout] test ropes::src_rope::test::test_remove ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_empty_rope ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_from_start ... ok [INFO] [stdout] test string_buffer::test::test_cur_offset_no_newlines ... ok [INFO] [stdout] test string_buffer::test::test_cur_offset_short ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_iter_no_split ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_iter ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_iter_special_chars ... ok [INFO] [stdout] test ropes::src_rope::test::test_src_insert ... ok [INFO] [stdout] test string_buffer::test::test_clone ... ok [INFO] [stdout] test string_buffer::test::test_eq ... ok [INFO] [stdout] test string_buffer::test::test_new ... ok [INFO] [stdout] test string_buffer::test::test_cur_offset_middle ... ok [INFO] [stdout] test string_buffer::test::test_push_str ... ok [INFO] [stdout] test string_buffer::test::test_push_str_multi ... ok [INFO] [stdout] test string_buffer::test::test_truncate ... ok [INFO] [stdout] test string_buffer::test::test_truncate_multi ... ok [INFO] [stdout] test string_buffer::test::test_cur_offset ... ok [INFO] [stdout] test ropes::src_rope::test::test_small_slice_single_node ... ok [INFO] [stdout] test ropes::src_rope::test::test_small_slice_start_single_node ... ok [INFO] [stdout] test ropes::src_rope::test::test_src_insert_remove_col_for_src_loc ... ok [INFO] [stdout] test ropes::src_rope::test::test_push_copy ... ok [INFO] [stdout] test string_buffer::test::test_cur_offset_after_truncate ... ok [INFO] [stdout] test string_buffer::test::test_truncate_noop ... ok [INFO] [stdout] test string_buffer::test::test_truncate_short ... ok [INFO] [stdout] test string_buffer::test::test_from_str ... ok [INFO] [stdout] test ropes::src_rope::test::test_slice_iter_special_chars_split ... ok [INFO] [stdout] test string_buffer::test::test_neq - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests strings [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ropes/src_rope.rs:1017:13 [INFO] [stderr] | [INFO] [stderr] 1017 | (src_loc as isize + self.src_offset) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1017 - (src_loc as isize + self.src_offset) [INFO] [stderr] 1017 + src_loc as isize + self.src_offset [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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] running `Command { std: "docker" "inspect" "3590d3c32cf93da727c24da3bbb4b0686116d53c224e09f67874d0ee5cfd63a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3590d3c32cf93da727c24da3bbb4b0686116d53c224e09f67874d0ee5cfd63a3", kill_on_drop: false }` [INFO] [stdout] 3590d3c32cf93da727c24da3bbb4b0686116d53c224e09f67874d0ee5cfd63a3