[INFO] cloning repository https://github.com/MDM23/purveyor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MDM23/purveyor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDM23%2Fpurveyor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDM23%2Fpurveyor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c753f47d2d12ef9c55c45825ab0226ca1115c4e
[INFO] checking MDM23/purveyor against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDM23%2Fpurveyor" "/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/MDM23/purveyor
[INFO] finished tweaking git repo https://github.com/MDM23/purveyor
[INFO] tweaked toml for git repo https://github.com/MDM23/purveyor written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MDM23/purveyor 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] crate git repo https://github.com/MDM23/purveyor 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2e728ae67b23c12324149d4bd48e6118ffc85b5ba2c718e14ab8a8166b17738
[INFO] running `Command { std: "docker" "start" "-a" "e2e728ae67b23c12324149d4bd48e6118ffc85b5ba2c718e14ab8a8166b17738", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2e728ae67b23c12324149d4bd48e6118ffc85b5ba2c718e14ab8a8166b17738", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e728ae67b23c12324149d4bd48e6118ffc85b5ba2c718e14ab8a8166b17738", kill_on_drop: false }`
[INFO] [stdout] e2e728ae67b23c12324149d4bd48e6118ffc85b5ba2c718e14ab8a8166b17738
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c05d666bbd0ac7fc4dcb7c708eca55609d670bfbcdf9298b962fd55e9101fbc1
[INFO] running `Command { std: "docker" "start" "-a" "c05d666bbd0ac7fc4dcb7c708eca55609d670bfbcdf9298b962fd55e9101fbc1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling borsh v1.5.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling syn_derive v0.1.8
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]    Compiling borsh-derive v1.5.1
[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] [stderr] error: could not compile `purveyor` (test "integration") due to 4 previous errors; 1 warning emitted
[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 `<unnameable>` 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] running `Command { std: "docker" "inspect" "c05d666bbd0ac7fc4dcb7c708eca55609d670bfbcdf9298b962fd55e9101fbc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c05d666bbd0ac7fc4dcb7c708eca55609d670bfbcdf9298b962fd55e9101fbc1", kill_on_drop: false }`
[INFO] [stdout] c05d666bbd0ac7fc4dcb7c708eca55609d670bfbcdf9298b962fd55e9101fbc1
