[INFO] fetching crate purveyor 0.1.6... [INFO] checking purveyor-0.1.6 against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] extracting crate purveyor 0.1.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate purveyor 0.1.6 [INFO] finished tweaking crates.io crate purveyor 0.1.6 [INFO] tweaked toml for crates.io crate purveyor 0.1.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate purveyor 0.1.6 on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1cda911607da4b7b7848dee77d97b9b0fc4cf89c6f9f5b7b4f54c3f02177d52 [INFO] running `Command { std: "docker" "start" "-a" "f1cda911607da4b7b7848dee77d97b9b0fc4cf89c6f9f5b7b4f54c3f02177d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1cda911607da4b7b7848dee77d97b9b0fc4cf89c6f9f5b7b4f54c3f02177d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1cda911607da4b7b7848dee77d97b9b0fc4cf89c6f9f5b7b4f54c3f02177d52", kill_on_drop: false }` [INFO] [stdout] f1cda911607da4b7b7848dee77d97b9b0fc4cf89c6f9f5b7b4f54c3f02177d52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 666bc18975c8923aaf4906e77ca72b3dc8c33a416247de86d039f55df3b748fc [INFO] running `Command { std: "docker" "start" "-a" "666bc18975c8923aaf4906e77ca72b3dc8c33a416247de86d039f55df3b748fc", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling borsh v1.6.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling borsh-derive v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking purveyor v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: private type `PublicError` in public interface [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct PublicError { [INFO] [stdout] | ------------------ `PublicError` declared as private [INFO] [stdout] ... [INFO] [stdout] 17 | / purveyor::protocol!( [INFO] [stdout] 18 | | type Error = PublicError; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | user { [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_____^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `purveyor::protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `PublicError` in public interface [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct PublicError { [INFO] [stdout] | ------------------ `PublicError` declared as private [INFO] [stdout] ... [INFO] [stdout] 17 | / purveyor::protocol!( [INFO] [stdout] 18 | | type Error = PublicError; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | user { [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_____^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `purveyor::protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `User` in public interface [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct User { [INFO] [stdout] | ----------- `User` declared as private [INFO] [stdout] ... [INFO] [stdout] 17 | / purveyor::protocol!( [INFO] [stdout] 18 | | type Error = PublicError; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | user { [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_____^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `purveyor::protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `PublicError` in public interface [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct PublicError { [INFO] [stdout] | ------------------ `PublicError` declared as private [INFO] [stdout] ... [INFO] [stdout] 17 | / purveyor::protocol!( [INFO] [stdout] 18 | | type Error = PublicError; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | user { [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_____^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `purveyor::protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / purveyor::protocol!( [INFO] [stdout] 18 | | type Error = PublicError; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | user { [INFO] [stdout] ... | [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the macro `purveyor::protocol` may come from an old version of the `purveyor` crate, try updating your dependency with `cargo update -p purveyor` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `purveyor::protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `purveyor` (test "integration") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "666bc18975c8923aaf4906e77ca72b3dc8c33a416247de86d039f55df3b748fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666bc18975c8923aaf4906e77ca72b3dc8c33a416247de86d039f55df3b748fc", kill_on_drop: false }` [INFO] [stdout] 666bc18975c8923aaf4906e77ca72b3dc8c33a416247de86d039f55df3b748fc