[INFO] cloning repository https://github.com/magicalne/torture-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/magicalne/torture-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagicalne%2Ftorture-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagicalne%2Ftorture-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69ee815d679183ee8437a8eaa2581daeb3624a6a [INFO] checking magicalne/torture-rs against try#fcfb0ffc7ed7fc631df1136063939ef648434735 for pr-152543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagicalne%2Ftorture-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/magicalne/torture-rs [INFO] finished tweaking git repo https://github.com/magicalne/torture-rs [INFO] tweaked toml for git repo https://github.com/magicalne/torture-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/magicalne/torture-rs on toolchain fcfb0ffc7ed7fc631df1136063939ef648434735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/magicalne/torture-rs 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" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3459f18a32d0ee0debb60fe475aab6e9721380d0736d95ddbf3c4d3b80e06107 [INFO] running `Command { std: "docker" "start" "-a" "3459f18a32d0ee0debb60fe475aab6e9721380d0736d95ddbf3c4d3b80e06107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3459f18a32d0ee0debb60fe475aab6e9721380d0736d95ddbf3c4d3b80e06107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3459f18a32d0ee0debb60fe475aab6e9721380d0736d95ddbf3c4d3b80e06107", kill_on_drop: false }` [INFO] [stdout] 3459f18a32d0ee0debb60fe475aab6e9721380d0736d95ddbf3c4d3b80e06107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9b6bde4b36ddef10cb3f816448c8291686a47daae3c95b4d50fa1b54b56fcdb [INFO] running `Command { std: "docker" "start" "-a" "f9b6bde4b36ddef10cb3f816448c8291686a47daae3c95b4d50fa1b54b56fcdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking torture v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `LocalHttpService::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ opaque type `LocalHttpService::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 38 | #[trait_variant::make(HttpService: Send)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `HttpService::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[trait_variant::make(HttpService: Send)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opaque type `HttpService::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 45 | fn fetch(&self, url: Url) -> impl Future + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `HttpServiceManually::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | fn fetch(&self, url: Url) -> impl Future + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opaque type `HttpServiceManually::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `torture` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `LocalHttpService::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ opaque type `LocalHttpService::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 38 | #[trait_variant::make(HttpService: Send)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `HttpService::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[trait_variant::make(HttpService: Send)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opaque type `HttpService::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 40 | async fn fetch(&self, url: Url) -> HtmlBody; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `HtmlBody` in public interface [INFO] [stdout] --> src/return_position_impl_trait.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | --------------- `HtmlBody` declared as private [INFO] [stdout] ... [INFO] [stdout] 45 | fn fetch(&self, url: Url) -> impl Future + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HtmlBody` is more private than the item `HttpServiceManually::fetch::{anon_assoc#0}` [INFO] [stdout] --> src/return_position_impl_trait.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | fn fetch(&self, url: Url) -> impl Future + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opaque type `HttpServiceManually::fetch::{anon_assoc#0}` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HtmlBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/return_position_impl_trait.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | struct HtmlBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `torture` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9b6bde4b36ddef10cb3f816448c8291686a47daae3c95b4d50fa1b54b56fcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b6bde4b36ddef10cb3f816448c8291686a47daae3c95b4d50fa1b54b56fcdb", kill_on_drop: false }` [INFO] [stdout] f9b6bde4b36ddef10cb3f816448c8291686a47daae3c95b4d50fa1b54b56fcdb