[INFO] fetching crate log4rs-mqtt 1.0.1... [INFO] testing log4rs-mqtt-1.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate log4rs-mqtt 1.0.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate log4rs-mqtt 1.0.1 [INFO] finished tweaking crates.io crate log4rs-mqtt 1.0.1 [INFO] tweaked toml for crates.io crate log4rs-mqtt 1.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate log4rs-mqtt 1.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 164 packages to latest compatible versions [INFO] [stderr] Adding paho-mqtt v0.12.5 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fba6a99a9dd927dc92a5fbfba7edef7a68385f64c1e5174f94c731bf1a2c536 [INFO] running `Command { std: "docker" "start" "-a" "1fba6a99a9dd927dc92a5fbfba7edef7a68385f64c1e5174f94c731bf1a2c536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fba6a99a9dd927dc92a5fbfba7edef7a68385f64c1e5174f94c731bf1a2c536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fba6a99a9dd927dc92a5fbfba7edef7a68385f64c1e5174f94c731bf1a2c536", kill_on_drop: false }` [INFO] [stdout] 1fba6a99a9dd927dc92a5fbfba7edef7a68385f64c1e5174f94c731bf1a2c536 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06f0cb403eefcd78bca9f458c6a5eb16c53b099de8d5fa8619b9930274b17457 [INFO] running `Command { std: "docker" "start" "-a" "06f0cb403eefcd78bca9f458c6a5eb16c53b099de8d5fa8619b9930274b17457", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling mock_instant v0.6.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling thread-id v5.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling log4rs v1.4.0 [INFO] [stderr] Compiling paho-mqtt-sys v0.9.0 [INFO] [stderr] Compiling paho-mqtt v0.12.5 [INFO] [stderr] Compiling log4rs-mqtt v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.17s [INFO] running `Command { std: "docker" "inspect" "06f0cb403eefcd78bca9f458c6a5eb16c53b099de8d5fa8619b9930274b17457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f0cb403eefcd78bca9f458c6a5eb16c53b099de8d5fa8619b9930274b17457", kill_on_drop: false }` [INFO] [stdout] 06f0cb403eefcd78bca9f458c6a5eb16c53b099de8d5fa8619b9930274b17457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508a20510bbc0f5183b26edb4e22065af7c5c0527d8b9a77c36caa1cdf489ec9 [INFO] running `Command { std: "docker" "start" "-a" "508a20510bbc0f5183b26edb4e22065af7c5c0527d8b9a77c36caa1cdf489ec9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling log4rs-mqtt v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "508a20510bbc0f5183b26edb4e22065af7c5c0527d8b9a77c36caa1cdf489ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508a20510bbc0f5183b26edb4e22065af7c5c0527d8b9a77c36caa1cdf489ec9", kill_on_drop: false }` [INFO] [stdout] 508a20510bbc0f5183b26edb4e22065af7c5c0527d8b9a77c36caa1cdf489ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60a379a73669fe8c8f3546270ab02eef61fe6639583c3413361266c67ff768a7 [INFO] running `Command { std: "docker" "start" "-a" "60a379a73669fe8c8f3546270ab02eef61fe6639583c3413361266c67ff768a7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log4rs_mqtt-adfc2a14d21d27af) [INFO] [stderr] Doc-tests log4rs_mqtt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttAppender` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let mqtt_log = MqttAppender::builder() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MqttAppender` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let log_config = Config::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Appender` [INFO] [stdout] --> src/lib.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | .appender(Appender::builder().build("mqtt", Box::new(mqtt_log))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Appender` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Root` [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | .build(Root::builder().appender("mqtt").build(LevelFilter::Info)) [INFO] [stdout] | ^^^^ use of undeclared type `Root` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LevelFilter` [INFO] [stdout] --> src/lib.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | .build(Root::builder().appender("mqtt").build(LevelFilter::Info)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LevelFilter` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "60a379a73669fe8c8f3546270ab02eef61fe6639583c3413361266c67ff768a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a379a73669fe8c8f3546270ab02eef61fe6639583c3413361266c67ff768a7", kill_on_drop: false }` [INFO] [stdout] 60a379a73669fe8c8f3546270ab02eef61fe6639583c3413361266c67ff768a7