[INFO] cloning repository https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxHugh%2Fdemonstrate-rust-behaviours-regarding-types-and-traits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxHugh%2Fdemonstrate-rust-behaviours-regarding-types-and-traits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1aeb3b89d18261374df2f796ff77c5e6ecfa6482 [INFO] checking BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits/1aeb3b89d18261374df2f796ff77c5e6ecfa6482 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxHugh%2Fdemonstrate-rust-behaviours-regarding-types-and-traits" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits [INFO] finished tweaking git repo https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits [INFO] tweaked toml for git repo https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BaxHugh/demonstrate-rust-behaviours-regarding-types-and-traits 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating git repository `https://github.com/asomers/mockall.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae31fb362da52886e682d688e0d552e2bb4a93c6b0a21309ce7af42d5a7ef8a [INFO] running `Command { std: "docker" "start" "-a" "eae31fb362da52886e682d688e0d552e2bb4a93c6b0a21309ce7af42d5a7ef8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae31fb362da52886e682d688e0d552e2bb4a93c6b0a21309ce7af42d5a7ef8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae31fb362da52886e682d688e0d552e2bb4a93c6b0a21309ce7af42d5a7ef8a", kill_on_drop: false }` [INFO] [stdout] eae31fb362da52886e682d688e0d552e2bb4a93c6b0a21309ce7af42d5a7ef8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991b5e08911ed36a04727a243c7a6c990c9b10840f51bb6137cc2bf1c5e9025f [INFO] running `Command { std: "docker" "start" "-a" "991b5e08911ed36a04727a243c7a6c990c9b10840f51bb6137cc2bf1c5e9025f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking recursion-error v0.1.0 (/opt/rustwide/workdir/recursion-error) [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Compiling mockall_derive v0.12.0 (https://github.com/asomers/mockall.git?branch=master#7e4af040) [INFO] [stderr] Checking mockall v0.12.0 (https://github.com/asomers/mockall.git?branch=master#7e4af040) [INFO] [stderr] Checking misc-behaviours v0.1.0 (/opt/rustwide/workdir/misc-behaviours) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `untreated_problem::PubClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 50 | / impl PubClientTrait for Client [INFO] [stdout] 51 | | where [INFO] [stdout] 52 | | Client: BackendClientTrait, [INFO] [stdout] 53 | | T: Debug, [INFO] [stdout] | |_________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 62 | impl PubClientTrait for DualNestedUnownedClient where U: PubClientTrait {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: downstream crates may implement trait `orphan_rule_with_generic_impl_problem_and_workaround::untreated_problem::BackendClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `untreated_problem::PubClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 50 | / impl PubClientTrait for Client [INFO] [stdout] 51 | | where [INFO] [stdout] 52 | | Client: BackendClientTrait, [INFO] [stdout] 53 | | T: Debug, [INFO] [stdout] | |_________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 62 | impl PubClientTrait for DualNestedUnownedClient where U: PubClientTrait {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: downstream crates may implement trait `orphan_rule_with_generic_impl_problem_and_workaround::untreated_problem::BackendClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasBackendClient<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, UnownedClientA<_>>` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 106 | / impl HasBackendClient for DualNestedUnownedClient> [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | U: BackendClientTrait, [INFO] [stdout] | |_________________________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 120 | / impl HasBackendClient for U [INFO] [stdout] 121 | | where [INFO] [stdout] 122 | | U: BackendClientTrait, [INFO] [stdout] | |_________________________________^ conflicting implementation for `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, UnownedClientA<_>>` [INFO] [stdout] | [INFO] [stdout] = note: downstream crates may implement trait `orphan_rule_with_generic_impl_problem_and_workaround::fixed_problem::BackendClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, orphan_rule_with_generic_impl_problem_and_workaround::specific_clients::UnownedClientA<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasBackendClient<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, UnownedClientA<_>>` [INFO] [stdout] --> misc-behaviours/src/orphan_rule_with_generic_impl_problem_and_workaround.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 106 | / impl HasBackendClient for DualNestedUnownedClient> [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | U: BackendClientTrait, [INFO] [stdout] | |_________________________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 120 | / impl HasBackendClient for U [INFO] [stdout] 121 | | where [INFO] [stdout] 122 | | U: BackendClientTrait, [INFO] [stdout] | |_________________________________^ conflicting implementation for `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, UnownedClientA<_>>` [INFO] [stdout] | [INFO] [stdout] = note: downstream crates may implement trait `orphan_rule_with_generic_impl_problem_and_workaround::fixed_problem::BackendClientTrait<_>` for type `orphan_rule_with_generic_impl_problem_and_workaround::DualNestedUnownedClient<_, orphan_rule_with_generic_impl_problem_and_workaround::specific_clients::UnownedClientA<_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `misc-behaviours` (bin "misc-behaviours" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `misc-behaviours` (bin "misc-behaviours") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "991b5e08911ed36a04727a243c7a6c990c9b10840f51bb6137cc2bf1c5e9025f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991b5e08911ed36a04727a243c7a6c990c9b10840f51bb6137cc2bf1c5e9025f", kill_on_drop: false }` [INFO] [stdout] 991b5e08911ed36a04727a243c7a6c990c9b10840f51bb6137cc2bf1c5e9025f