[INFO] cloning repository https://github.com/BalzGuenat/rustcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BalzGuenat/rustcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBalzGuenat%2Frustcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBalzGuenat%2Frustcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d0cc93047afe3dfad303109dbfe5bfed52e391b [INFO] checking BalzGuenat/rustcache against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBalzGuenat%2Frustcache" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BalzGuenat/rustcache on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BalzGuenat/rustcache [INFO] finished tweaking git repo https://github.com/BalzGuenat/rustcache [INFO] tweaked toml for git repo https://github.com/BalzGuenat/rustcache written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BalzGuenat/rustcache already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd5590533d938874e2d937ca9f94bf3dc81913fab9b30a7b1cb3b3c51bde09c4 [INFO] running `Command { std: "docker" "start" "-a" "fd5590533d938874e2d937ca9f94bf3dc81913fab9b30a7b1cb3b3c51bde09c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd5590533d938874e2d937ca9f94bf3dc81913fab9b30a7b1cb3b3c51bde09c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5590533d938874e2d937ca9f94bf3dc81913fab9b30a7b1cb3b3c51bde09c4", kill_on_drop: false }` [INFO] [stdout] fd5590533d938874e2d937ca9f94bf3dc81913fab9b30a7b1cb3b3c51bde09c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7515934382856661a08f4dd4309bf62fc0ac8bd47cf89ca81834229dcc41f2 [INFO] running `Command { std: "docker" "start" "-a" "ed7515934382856661a08f4dd4309bf62fc0ac8bd47cf89ca81834229dcc41f2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking rustcache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] --> src/msg/mod.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a> { [INFO] [stdout] | ^ expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] | [INFO] [stdout] help: add `'` to close the char literal [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a'> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] --> src/msg/mod.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a> { [INFO] [stdout] | ^ expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] | [INFO] [stdout] help: add `'` to close the char literal [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a'> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/msg/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a> { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/msg/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | &ContiguousViewIt<'a> { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ContiguousViewOwningIt<'_>` has no field named `end_idx` [INFO] [stdout] --> src/msg/mod.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | end_idx: self.len(), [INFO] [stdout] | ^^^^^^^ `ContiguousViewOwningIt<'_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `end_idx` on type `&mut ContiguousViewOwningIt<'a>` [INFO] [stdout] --> src/msg/mod.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | let next = if self.next_idx >= self.end_idx { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `view`, `next_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!("abc".as_bytes(), &v[0..3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!("abc".as_bytes(), &v[0..3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!("xyz".as_bytes(), &v[3..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!("xyz".as_bytes(), &v[3..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!("ab".as_bytes(), &v[0..2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!("ab".as_bytes(), &v[0..2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!("yz".as_bytes(), &v[4..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!("yz".as_bytes(), &v[4..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!("cx".as_bytes(), &v[2..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!("cx".as_bytes(), &v[2..4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | println!("{:X?}", &v[2..4]); [INFO] [stdout] | ^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `[u8]` with `ContiguousViewIt<'_>` [INFO] [stdout] --> src/msg/test.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!("abcxyz".as_bytes(), &v[0..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == ContiguousViewIt<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `[u8]`, which is required by `&[u8]: PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&[T] as PartialEq>> [INFO] [stdout] <&[T] as PartialEq<[U; N]>> [INFO] [stdout] <&mut [T] as PartialEq>> [INFO] [stdout] <&mut [T] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<&[U]>> [INFO] [stdout] <[T; N] as PartialEq<&mut [U]>> [INFO] [stdout] <[T; N] as PartialEq<[U; N]>> [INFO] [stdout] <[T; N] as PartialEq<[U]>> [INFO] [stdout] and 3 others [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&ContiguousViewIt<'_>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ContiguousViewIt<'_>` doesn't implement `Debug` [INFO] [stdout] --> src/msg/test.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!("abcxyz".as_bytes(), &v[0..6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ContiguousViewIt<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ContiguousViewIt<'_>`, which is required by `&ContiguousViewIt<'_>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ContiguousViewIt<'_>` or manually `impl Debug for ContiguousViewIt<'_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ContiguousViewIt<'_>` with `#[derive(Debug)]` [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 + #[derive(Debug)] [INFO] [stdout] 92 | struct ContiguousViewIt<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ContiguousViewOwningIt<'_>` has no field named `end_idx` [INFO] [stdout] --> src/msg/mod.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | end_idx: self.len(), [INFO] [stdout] | ^^^^^^^ `ContiguousViewOwningIt<'_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `end_idx` on type `&mut ContiguousViewOwningIt<'a>` [INFO] [stdout] --> src/msg/mod.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | let next = if self.next_idx >= self.end_idx { [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `view`, `next_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcache` (bin "rustcache") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of index of `ContiguousView<'_>` [INFO] [stdout] --> src/msg/test.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | for b in v[0..v.len()] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | value moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because value has type `ContiguousViewIt<'_>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves value [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/collect.rs:345:18 [INFO] [stdout] note: if `ContiguousViewIt<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/msg/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | struct ContiguousViewIt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/msg/test.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | for b in v[0..v.len()] { [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0507, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcache` (bin "rustcache" test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "ed7515934382856661a08f4dd4309bf62fc0ac8bd47cf89ca81834229dcc41f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7515934382856661a08f4dd4309bf62fc0ac8bd47cf89ca81834229dcc41f2", kill_on_drop: false }` [INFO] [stdout] ed7515934382856661a08f4dd4309bf62fc0ac8bd47cf89ca81834229dcc41f2