[INFO] fetching crate rapt 0.1.4... [INFO] testing rapt-0.1.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rapt 0.1.4 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rapt 0.1.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys-extras v0.7.14 [INFO] [stderr] Downloaded openssl-sys v0.7.17 [INFO] [stderr] Downloaded openssl v0.7.14 [INFO] [stderr] Downloaded user32-sys v0.2.0 [INFO] [stderr] Downloaded pnacl-build-helper v1.4.11 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded gdi32-sys v0.2.0 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded libressl-pnacl-sys v2.1.6 [INFO] [stderr] Downloaded mqttc v0.1.4 [INFO] [stderr] Downloaded rapt_derive v0.1.4 [INFO] [stderr] Downloaded mqtt3 v0.1.4 [INFO] [stderr] Downloaded netopt v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c0ca589bd63e4aff305fc0190cc2eae144624be975dfe7773855f765436995 [INFO] running `Command { std: "docker" "start" "-a" "72c0ca589bd63e4aff305fc0190cc2eae144624be975dfe7773855f765436995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c0ca589bd63e4aff305fc0190cc2eae144624be975dfe7773855f765436995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c0ca589bd63e4aff305fc0190cc2eae144624be975dfe7773855f765436995", kill_on_drop: false }` [INFO] [stdout] 72c0ca589bd63e4aff305fc0190cc2eae144624be975dfe7773855f765436995 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed807a0d4e6ce244ae3df919a5db1345f43e6c85b3806f4f1808a26f3322dca0 [INFO] running `Command { std: "docker" "start" "-a" "ed807a0d4e6ce244ae3df919a5db1345f43e6c85b3806f4f1808a26f3322dca0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling chrono v0.4.42 [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 3.37s [INFO] running `Command { std: "docker" "inspect" "ed807a0d4e6ce244ae3df919a5db1345f43e6c85b3806f4f1808a26f3322dca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed807a0d4e6ce244ae3df919a5db1345f43e6c85b3806f4f1808a26f3322dca0", kill_on_drop: false }` [INFO] [stdout] ed807a0d4e6ce244ae3df919a5db1345f43e6c85b3806f4f1808a26f3322dca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36502ca19ea198b3e2e47f6c5ac5a8d16035124415863f9003e04894ae7bbf2 [INFO] running `Command { std: "docker" "start" "-a" "a36502ca19ea198b3e2e47f6c5ac5a8d16035124415863f9003e04894ae7bbf2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling syn v2.0.106 [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 serde_derive v1.0.228 [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]: 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] 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] 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] 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] [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" "a36502ca19ea198b3e2e47f6c5ac5a8d16035124415863f9003e04894ae7bbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36502ca19ea198b3e2e47f6c5ac5a8d16035124415863f9003e04894ae7bbf2", kill_on_drop: false }` [INFO] [stdout] a36502ca19ea198b3e2e47f6c5ac5a8d16035124415863f9003e04894ae7bbf2