[INFO] fetching crate rapt 0.1.4... [INFO] checking rapt-0.1.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rapt 0.1.4 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rapt 0.1.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 278cce64f34b8c3fa5cd52268b4a6676e78122547045166f5d39d3883b6c296f [INFO] running `Command { std: "docker" "start" "-a" "278cce64f34b8c3fa5cd52268b4a6676e78122547045166f5d39d3883b6c296f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "278cce64f34b8c3fa5cd52268b4a6676e78122547045166f5d39d3883b6c296f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "278cce64f34b8c3fa5cd52268b4a6676e78122547045166f5d39d3883b6c296f", kill_on_drop: false }` [INFO] [stdout] 278cce64f34b8c3fa5cd52268b4a6676e78122547045166f5d39d3883b6c296f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2f9edd62dd24bc805ac7a32feefa69bbb034aea496908967ee5657f6c8f97a1 [INFO] running `Command { std: "docker" "start" "-a" "e2f9edd62dd24bc805ac7a32feefa69bbb034aea496908967ee5657f6c8f97a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rapt_derive v0.1.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking 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] Compiling serde_derive v1.0.219 [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[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]: failed to resolve: could not 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] [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] [stderr] error: could not compile `rapt` (example "mqtt") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e2f9edd62dd24bc805ac7a32feefa69bbb034aea496908967ee5657f6c8f97a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f9edd62dd24bc805ac7a32feefa69bbb034aea496908967ee5657f6c8f97a1", kill_on_drop: false }` [INFO] [stdout] e2f9edd62dd24bc805ac7a32feefa69bbb034aea496908967ee5657f6c8f97a1