[INFO] cloning repository https://github.com/anatawa12/patch-merge-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anatawa12/patch-merge-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fpatch-merge-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fpatch-merge-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c2b3b12d7f16091e088bf5f1fbc308865ffdeaf [INFO] checking anatawa12/patch-merge-driver against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fpatch-merge-driver" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anatawa12/patch-merge-driver [INFO] finished tweaking git repo https://github.com/anatawa12/patch-merge-driver [INFO] tweaked toml for git repo https://github.com/anatawa12/patch-merge-driver written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anatawa12/patch-merge-driver on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anatawa12/patch-merge-driver 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.5.3 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded clap_derive v3.1.2 [INFO] [stderr] Downloaded clap v3.1.3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f722616493c26bc383ff8a8ba8c271c512e53dcc248464ab3e3f2a0703b223e0 [INFO] running `Command { std: "docker" "start" "-a" "f722616493c26bc383ff8a8ba8c271c512e53dcc248464ab3e3f2a0703b223e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f722616493c26bc383ff8a8ba8c271c512e53dcc248464ab3e3f2a0703b223e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f722616493c26bc383ff8a8ba8c271c512e53dcc248464ab3e3f2a0703b223e0", kill_on_drop: false }` [INFO] [stdout] f722616493c26bc383ff8a8ba8c271c512e53dcc248464ab3e3f2a0703b223e0 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc3b4a6f2613adbbc673351468042e6430bf671637768a08ecff7d76bfab8cf5 [INFO] running `Command { std: "docker" "start" "-a" "cc3b4a6f2613adbbc673351468042e6430bf671637768a08ecff7d76bfab8cf5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Checking clap v3.1.3 [INFO] [stderr] Checking patch-merge-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `ContextHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/context.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | type Hank = ContextHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ContextHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] help: consider annotating `ContextHank<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub(crate) struct ContextHank<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/context.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> super::PatchHank<'a> for ContextHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ContextHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/context.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> super::PatchHank<'a> for ContextHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ContextHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] help: consider annotating `ContextHank<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub(crate) struct ContextHank<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NormalHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/normal.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | type Hank = NormalHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NormalHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/normal.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> super::PatchHank<'a> for NormalHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NormalHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/normal.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> super::PatchHank<'a> for NormalHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NormalHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnifiedHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/unified.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | type Hank = UnifiedHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UnifiedHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/unified.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> super::PatchHank<'a> for UnifiedHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnifiedHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/unified.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> super::PatchHank<'a> for UnifiedHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UnifiedHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ContextHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/context.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | type Hank = ContextHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ContextHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] help: consider annotating `ContextHank<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub(crate) struct ContextHank<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/context.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> super::PatchHank<'a> for ContextHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ContextHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/context.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a> super::PatchHank<'a> for ContextHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ContextHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] help: consider annotating `ContextHank<'a>` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub(crate) struct ContextHank<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NormalHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/normal.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | type Hank = NormalHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NormalHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/normal.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> super::PatchHank<'a> for NormalHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NormalHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/normal.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> super::PatchHank<'a> for NormalHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NormalHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnifiedHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/unified.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | type Hank = UnifiedHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UnifiedHank<'a>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PatchHank<'a>`: [INFO] [stdout] ContextHank<'a> [INFO] [stdout] NormalHank<'a> [INFO] [stdout] UnifiedHank<'a> [INFO] [stdout] note: required for ` as PatchFile<'a>>::Hank` to implement `PatchHank<'a>` [INFO] [stdout] --> src/patch/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `PatchFile::Hank` [INFO] [stdout] --> src/patch/mod.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | type Hank: PatchHank<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `PatchFile::Hank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` [INFO] [stdout] --> src/patch/unified.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> super::PatchHank<'a> for UnifiedHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `OldLinesIter`, `NewLinesIter`, `old_lines`, `new_lines` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/patch/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | type OldLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `OldLinesIter` from trait [INFO] [stdout] 222 | type NewLinesIter: Iterator; [INFO] [stdout] | -------------------------------------------- `NewLinesIter` from trait [INFO] [stdout] ... [INFO] [stdout] 230 | fn old_lines(&self) -> Self::OldLinesIter; [INFO] [stdout] | ------------------------------------------ `old_lines` from trait [INFO] [stdout] ... [INFO] [stdout] 233 | fn new_lines(&self) -> Self::NewLinesIter; [INFO] [stdout] | ------------------------------------------ `new_lines` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnifiedHank<'a>: Clone` is not satisfied [INFO] [stdout] --> src/patch/unified.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> super::PatchHank<'a> for UnifiedHank<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UnifiedHank<'a>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `PatchHank` [INFO] [stdout] --> src/patch/mod.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) trait PatchHank<'a>: Clone { [INFO] [stdout] | ^^^^^ required by this bound in `PatchHank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `patch-merge-driver` (bin "patch-merge-driver") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0046, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `patch-merge-driver` (bin "patch-merge-driver" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "cc3b4a6f2613adbbc673351468042e6430bf671637768a08ecff7d76bfab8cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3b4a6f2613adbbc673351468042e6430bf671637768a08ecff7d76bfab8cf5", kill_on_drop: false }` [INFO] [stdout] cc3b4a6f2613adbbc673351468042e6430bf671637768a08ecff7d76bfab8cf5