[INFO] fetching crate maybe-unwind 0.3.1... [INFO] testing maybe-unwind-0.3.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate maybe-unwind 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate maybe-unwind 0.3.1 [INFO] finished tweaking crates.io crate maybe-unwind 0.3.1 [INFO] tweaked toml for crates.io crate maybe-unwind 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate maybe-unwind 0.3.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate maybe-unwind 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fc584a1991811d80c76c2a75b6d7526941b44ae235f807b6de118121d0f9eca [INFO] running `Command { std: "docker" "start" "-a" "3fc584a1991811d80c76c2a75b6d7526941b44ae235f807b6de118121d0f9eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc584a1991811d80c76c2a75b6d7526941b44ae235f807b6de118121d0f9eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc584a1991811d80c76c2a75b6d7526941b44ae235f807b6de118121d0f9eca", kill_on_drop: false }` [INFO] [stdout] 3fc584a1991811d80c76c2a75b6d7526941b44ae235f807b6de118121d0f9eca [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508962e8354239d04dd5e19a5551a27e6eea29ba4378247f6d365e1685173ffe [INFO] running `Command { std: "docker" "start" "-a" "508962e8354239d04dd5e19a5551a27e6eea29ba4378247f6d365e1685173ffe", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-unwind v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(docs, feature(doc_cfg))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn capture_panic_info(info: &PanicInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backtrace` is never read [INFO] [stdout] --> src/unwind.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct Captured { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 41 | pub(crate) location: Option, [INFO] [stdout] 42 | pub(crate) backtrace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Captured` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "508962e8354239d04dd5e19a5551a27e6eea29ba4378247f6d365e1685173ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508962e8354239d04dd5e19a5551a27e6eea29ba4378247f6d365e1685173ffe", kill_on_drop: false }` [INFO] [stdout] 508962e8354239d04dd5e19a5551a27e6eea29ba4378247f6d365e1685173ffe [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23fd0e902532e6f5d43b360ddea1a3f9251b96d5e179d811961d6deb3844366 [INFO] running `Command { std: "docker" "start" "-a" "b23fd0e902532e6f5d43b360ddea1a3f9251b96d5e179d811961d6deb3844366", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pulldown-cmark v0.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(docs, feature(doc_cfg))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn capture_panic_info(info: &PanicInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backtrace` is never read [INFO] [stdout] --> src/unwind.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct Captured { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 41 | pub(crate) location: Option, [INFO] [stdout] 42 | pub(crate) backtrace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Captured` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling version-sync v0.8.1 [INFO] [stderr] Compiling maybe-unwind v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(docs, feature(doc_cfg))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs` [INFO] [stdout] --> src/futures.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stdout] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/backtrace.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/unwind.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/hook.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn capture_panic_info(info: &PanicInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backtrace` is never read [INFO] [stdout] --> src/unwind.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct Captured { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 41 | pub(crate) location: Option, [INFO] [stdout] 42 | pub(crate) backtrace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Captured` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tests/test.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{panic::PanicInfo, sync::Once}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/test.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> tests/test.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_hook(info: &PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] running `Command { std: "docker" "inspect" "b23fd0e902532e6f5d43b360ddea1a3f9251b96d5e179d811961d6deb3844366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23fd0e902532e6f5d43b360ddea1a3f9251b96d5e179d811961d6deb3844366", kill_on_drop: false }` [INFO] [stdout] b23fd0e902532e6f5d43b360ddea1a3f9251b96d5e179d811961d6deb3844366 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6cf24dfebf9c28aef441b5d0254961568fce32df90fe019119717bc16591c97 [INFO] running `Command { std: "docker" "start" "-a" "d6cf24dfebf9c28aef441b5d0254961568fce32df90fe019119717bc16591c97", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs` [INFO] [stderr] --> src/lib.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | #![cfg_attr(docs, feature(doc_cfg))] [INFO] [stderr] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs` [INFO] [stderr] --> src/futures.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stderr] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs` [INFO] [stderr] --> src/futures.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(docs, doc(cfg(feature = "futures")))] [INFO] [stderr] | ^^^^ help: there is a config with a similar name: `doc` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/backtrace.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/backtrace.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(backtrace))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/backtrace.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/backtrace.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg(not(backtrace))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/unwind.rs:76:11 [INFO] [stderr] | [INFO] [stderr] 76 | #[cfg(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/unwind.rs:96:15 [INFO] [stderr] | [INFO] [stderr] 96 | #[cfg(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/hook.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::panic::PanicInfo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/hook.rs:36:34 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn capture_panic_info(info: &PanicInfo) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `backtrace` is never read [INFO] [stderr] --> src/unwind.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 40 | pub(crate) struct Captured { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 41 | pub(crate) location: Option, [INFO] [stderr] 42 | pub(crate) backtrace: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Captured` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `maybe-unwind` (lib) generated 13 warnings [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> tests/test.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{panic::PanicInfo, sync::Once}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> tests/test.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(deprecated)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> tests/test.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | fn test_hook(info: &PanicInfo) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `maybe-unwind` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: `maybe-unwind` (test "test") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maybe_unwind-ed8ca2fa9f2dd740) [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] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-8ad5f980d8544c88) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] Running tests/version_sync.rs (/opt/rustwide/target/debug/deps/version_sync-72bb8dcc823a7cc1) [INFO] [stdout] test futures::nested2 ... ok [INFO] [stdout] test futures::nested1 ... ok [INFO] [stdout] test futures::never_unwind ... ok [INFO] [stdout] test futures::has_unwind ... ok [INFO] [stdout] test nested1 ... ok [INFO] [stdout] test has_unwind ... ok [INFO] [stdout] test never_unwind ... ok [INFO] [stdout] test without_wrapper - should panic ... ok [INFO] [stdout] test nested2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests maybe_unwind [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/futures.rs - futures::FutureMaybeUnwindExt::maybe_unwind (line 44) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/hook.rs - hook::capture_panic_info (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6cf24dfebf9c28aef441b5d0254961568fce32df90fe019119717bc16591c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cf24dfebf9c28aef441b5d0254961568fce32df90fe019119717bc16591c97", kill_on_drop: false }` [INFO] [stdout] d6cf24dfebf9c28aef441b5d0254961568fce32df90fe019119717bc16591c97