[INFO] fetching crate mqtt-typed-client 0.1.0... [INFO] checking mqtt-typed-client-0.1.0 against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-4 [INFO] extracting crate mqtt-typed-client 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mqtt-typed-client 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mqtt-typed-client 0.1.0 [INFO] tweaked toml for crates.io crate mqtt-typed-client 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mqtt-typed-client 0.1.0 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 crates.io crate mqtt-typed-client 0.1.0 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bb345e3decf2c21660f53482711870dc63b045cb4030d3057dd68a69561ebf8a [INFO] running `Command { std: "docker" "start" "-a" "bb345e3decf2c21660f53482711870dc63b045cb4030d3057dd68a69561ebf8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb345e3decf2c21660f53482711870dc63b045cb4030d3057dd68a69561ebf8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb345e3decf2c21660f53482711870dc63b045cb4030d3057dd68a69561ebf8a", kill_on_drop: false }` [INFO] [stdout] bb345e3decf2c21660f53482711870dc63b045cb4030d3057dd68a69561ebf8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dfeda9d158affab17bea455f6e527144f84eecf7b4054be92033512e04e22f76 [INFO] running `Command { std: "docker" "start" "-a" "dfeda9d158affab17bea455f6e527144f84eecf7b4054be92033512e04e22f76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling arcstr v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling lru v0.15.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling mqtt-typed-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking mqtt-typed-client-core v0.1.0 [INFO] [stderr] Compiling mqtt-typed-client-macros v0.1.0 [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> examples/005_hello_world_serializers.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct Message { [INFO] [stdout] | -------------- `Message` declared as private [INFO] [stdout] ... [INFO] [stdout] 27 | #[mqtt_topic("greetings/{language}/{sender}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `TemperatureReading` in public interface [INFO] [stdout] --> examples/002_configuration.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct TemperatureReading { [INFO] [stdout] | ------------------------- `TemperatureReading` declared as private [INFO] [stdout] ... [INFO] [stdout] 33 | #[mqtt_topic("sensors/temperature/{location}/{sensor_id}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (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] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "002_configuration") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "005_hello_world_serializers") due to 1 previous error [INFO] [stdout] error[E0446]: private type `PingPongMessage` in public interface [INFO] [stdout] --> examples/001_ping_pong.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 39 | enum PingPongMessage { [INFO] [stdout] | -------------------- `PingPongMessage` declared as private [INFO] [stdout] ... [INFO] [stdout] 67 | #[mqtt_topic("game/{player}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (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 `mqtt-typed-client` (example "001_ping_pong") due to 1 previous error [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> examples/003_hello_world_lwt.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct Message { [INFO] [stdout] | -------------- `Message` declared as private [INFO] [stdout] ... [INFO] [stdout] 41 | #[mqtt_topic("greetings/{language}/{sender}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "003_hello_world_lwt") due to 1 previous error [INFO] [stdout] error[E0446]: private type `DemoMessage` in public interface [INFO] [stdout] --> examples/006_retain_and_clear.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 52 | struct DemoMessage { [INFO] [stdout] | ------------------ `DemoMessage` declared as private [INFO] [stdout] ... [INFO] [stdout] 62 | #[mqtt_topic("demo/retain")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "006_retain_and_clear") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> examples/007_custom_patterns.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct Message { [INFO] [stdout] | -------------- `Message` declared as private [INFO] [stdout] ... [INFO] [stdout] 46 | #[mqtt_topic("greetings/{language}/{sender}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (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] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> examples/004_hello_world_tls.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Message { [INFO] [stdout] | -------------- `Message` declared as private [INFO] [stdout] ... [INFO] [stdout] 34 | #[mqtt_topic("greetings/{language}/{sender}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "007_custom_patterns") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-typed-client` (example "004_hello_world_tls") due to 1 previous error [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> examples/000_hello_world.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Message { [INFO] [stdout] | -------------- `Message` declared as private [INFO] [stdout] ... [INFO] [stdout] 29 | #[mqtt_topic("greetings/{language}/{sender}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mqtt_topic` (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 `mqtt-typed-client` (example "000_hello_world") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "dfeda9d158affab17bea455f6e527144f84eecf7b4054be92033512e04e22f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfeda9d158affab17bea455f6e527144f84eecf7b4054be92033512e04e22f76", kill_on_drop: false }` [INFO] [stdout] dfeda9d158affab17bea455f6e527144f84eecf7b4054be92033512e04e22f76