[INFO] fetching crate rapt 0.1.4... [INFO] testing rapt-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rapt 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rapt 0.1.4 [INFO] finished tweaking crates.io crate rapt 0.1.4 [INFO] tweaked toml for crates.io crate rapt 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rapt 0.1.4 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded openssl-sys v0.7.17 [INFO] [stderr] Downloaded user32-sys v0.2.0 [INFO] [stderr] Downloaded rapt_derive v0.1.4 [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded gdi32-sys v0.2.0 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded mqttc v0.1.4 [INFO] [stderr] Downloaded mqtt3 v0.1.4 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded openssl-sys-extras v0.7.14 [INFO] [stderr] Downloaded openssl v0.7.14 [INFO] [stderr] Downloaded pnacl-build-helper v1.4.11 [INFO] [stderr] Downloaded netopt v0.1.3 [INFO] [stderr] Downloaded libressl-pnacl-sys v2.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1900f30de40eaa57cb291176f946225afcc2efe205eb0675fece8990577e765 [INFO] running `Command { std: "docker" "start" "-a" "c1900f30de40eaa57cb291176f946225afcc2efe205eb0675fece8990577e765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1900f30de40eaa57cb291176f946225afcc2efe205eb0675fece8990577e765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1900f30de40eaa57cb291176f946225afcc2efe205eb0675fece8990577e765", kill_on_drop: false }` [INFO] [stdout] c1900f30de40eaa57cb291176f946225afcc2efe205eb0675fece8990577e765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7327663f9a5990db365753005a2d815e05d222c384e8d700de97c7a44803763 [INFO] running `Command { std: "docker" "start" "-a" "c7327663f9a5990db365753005a2d815e05d222c384e8d700de97c7a44803763", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling rapt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "c7327663f9a5990db365753005a2d815e05d222c384e8d700de97c7a44803763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7327663f9a5990db365753005a2d815e05d222c384e8d700de97c7a44803763", kill_on_drop: false }` [INFO] [stdout] c7327663f9a5990db365753005a2d815e05d222c384e8d700de97c7a44803763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fca782a06ab60f6f8df081831520e3d15bca30e65a079e234704b184464623e [INFO] running `Command { std: "docker" "start" "-a" "3fca782a06ab60f6f8df081831520e3d15bca30e65a079e234704b184464623e", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rapt_derive v0.1.4 [INFO] [stderr] Compiling rapt v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `netopt` [INFO] [stdout] --> examples/mqtt.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | extern crate netopt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mqtt` in `rapt` [INFO] [stdout] --> examples/mqtt.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | use rapt::mqtt::client::{ClientOptions, ReconnectMethod}; [INFO] [stdout] | ^^^^ could not find `mqtt` in `rapt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "mqtt_publisher")] [INFO] [stdout] | -------------------------- the item is gated behind the `mqtt_publisher` feature [INFO] [stdout] 320 | pub mod mqtt; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn read(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rapt::mqtt` [INFO] [stdout] --> examples/mqtt.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | use rapt::{mqtt, Instrument, Listener}; [INFO] [stdout] | ^^^^ no `mqtt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "mqtt_publisher")] [INFO] [stdout] | -------------------------- the item is gated behind the `mqtt_publisher` feature [INFO] [stdout] 320 | pub mod mqtt; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JsonSerializer` in module `rapt::ser` [INFO] [stdout] --> examples/mqtt.rs:104:75 [INFO] [stdout] | [INFO] [stdout] 104 | let publisher_thread = thread::spawn(move || publisher.run(rapt::ser::JsonSerializer)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rapt::ser` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/ser.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(feature = "serde_json")] [INFO] [stdout] | ---------------------- the item is gated behind the `serde_json` feature [INFO] [stdout] 114 | pub struct JsonSerializer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/basic.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Instruments)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TestInstruments` is not local [INFO] [stdout] | `Instruments` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_INSTRUMENTS_FOR_TestInstruments` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Instruments` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Instruments` may come from an old version of the `rapt_derive` crate, try updating your dependency with `cargo update -p rapt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Instruments` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rapt` (example "mqtt") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3fca782a06ab60f6f8df081831520e3d15bca30e65a079e234704b184464623e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fca782a06ab60f6f8df081831520e3d15bca30e65a079e234704b184464623e", kill_on_drop: false }` [INFO] [stdout] 3fca782a06ab60f6f8df081831520e3d15bca30e65a079e234704b184464623e