[INFO] fetching crate rapt 0.1.4... [INFO] testing rapt-0.1.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rapt 0.1.4 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rapt 0.1.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9545826e1bca3c4274ffd3d9433b6c12790b7e14403c08c3a6d573481a392f3 [INFO] running `Command { std: "docker" "start" "-a" "e9545826e1bca3c4274ffd3d9433b6c12790b7e14403c08c3a6d573481a392f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9545826e1bca3c4274ffd3d9433b6c12790b7e14403c08c3a6d573481a392f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9545826e1bca3c4274ffd3d9433b6c12790b7e14403c08c3a6d573481a392f3", kill_on_drop: false }` [INFO] [stdout] e9545826e1bca3c4274ffd3d9433b6c12790b7e14403c08c3a6d573481a392f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4802b0f2b69f6bb5a438f6beec0298385c256b8fdb6cd9ec806316fdfafb220 [INFO] running `Command { std: "docker" "start" "-a" "b4802b0f2b69f6bb5a438f6beec0298385c256b8fdb6cd9ec806316fdfafb220", 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 1.91s [INFO] running `Command { std: "docker" "inspect" "b4802b0f2b69f6bb5a438f6beec0298385c256b8fdb6cd9ec806316fdfafb220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4802b0f2b69f6bb5a438f6beec0298385c256b8fdb6cd9ec806316fdfafb220", kill_on_drop: false }` [INFO] [stdout] b4802b0f2b69f6bb5a438f6beec0298385c256b8fdb6cd9ec806316fdfafb220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eacde50b8bcf9e5d307827501f27e7ef093eaa6795df5b137d242a3930943318 [INFO] running `Command { std: "docker" "start" "-a" "eacde50b8bcf9e5d307827501f27e7ef093eaa6795df5b137d242a3930943318", 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] 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[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] 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] 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] [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] running `Command { std: "docker" "inspect" "eacde50b8bcf9e5d307827501f27e7ef093eaa6795df5b137d242a3930943318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacde50b8bcf9e5d307827501f27e7ef093eaa6795df5b137d242a3930943318", kill_on_drop: false }` [INFO] [stdout] eacde50b8bcf9e5d307827501f27e7ef093eaa6795df5b137d242a3930943318