[INFO] fetching crate miden-miette 8.0.0... [INFO] testing miden-miette-8.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate miden-miette 8.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate miden-miette 8.0.0 [INFO] finished tweaking crates.io crate miden-miette 8.0.0 [INFO] tweaked toml for crates.io crate miden-miette 8.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate miden-miette 8.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dissimilar v1.0.10 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded miden-miette-derive v8.0.0 [INFO] [stderr] Downloaded supports-hyperlinks v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26f054db72e7277d1d96fe978416713ceb69a3fd365d49eaedbbf49cd7f9d1ad [INFO] running `Command { std: "docker" "start" "-a" "26f054db72e7277d1d96fe978416713ceb69a3fd365d49eaedbbf49cd7f9d1ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26f054db72e7277d1d96fe978416713ceb69a3fd365d49eaedbbf49cd7f9d1ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f054db72e7277d1d96fe978416713ceb69a3fd365d49eaedbbf49cd7f9d1ad", kill_on_drop: false }` [INFO] [stdout] 26f054db72e7277d1d96fe978416713ceb69a3fd365d49eaedbbf49cd7f9d1ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 956d5786df11c6b414bad7320cfaadc3344714a973be512c709a569d27dc4c7b [INFO] running `Command { std: "docker" "start" "-a" "956d5786df11c6b414bad7320cfaadc3344714a973be512c709a569d27dc4c7b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling miden-miette-derive v8.0.0 [INFO] [stderr] Compiling miden-miette v8.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/eyreish/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/context.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(not(track_caller))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:534:16 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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 value: `syntext-highlighter` [INFO] [stdout] --> src/highlighters/mod.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | all(feature = "std", not(feature = "syntext-highlighter")) [INFO] [stdout] | ^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"syntect-highlighter"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtrace`, `backtrace-ext`, `default`, `derive`, `fancy`, `fancy-base`, `fancy-no-backtrace`, `fancy-no-syscall`, `miette-derive`, `no-format-args-capture`, `owo-colors`, `serde`, `std`, `supports-color`, `supports-hyperlinks`, `supports-unicode`, `syntect`, `syntect-highlighter`, `terminal_size`, and `textwrap` [INFO] [stdout] = help: consider adding `syntext-highlighter` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct DisplayError(pub(crate) M); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&(dyn Diagnostic + 'a)> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&'a (dyn Diagnostic + 'a)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.90s [INFO] running `Command { std: "docker" "inspect" "956d5786df11c6b414bad7320cfaadc3344714a973be512c709a569d27dc4c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956d5786df11c6b414bad7320cfaadc3344714a973be512c709a569d27dc4c7b", kill_on_drop: false }` [INFO] [stdout] 956d5786df11c6b414bad7320cfaadc3344714a973be512c709a569d27dc4c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9d24b40f7a4c20262c768dbc044d09be6f89d201b8c5c396840edfa56d9cef10 [INFO] running `Command { std: "docker" "start" "-a" "9d24b40f7a4c20262c768dbc044d09be6f89d201b8c5c396840edfa56d9cef10", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/eyreish/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/context.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(not(track_caller))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:534:16 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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 value: `syntext-highlighter` [INFO] [stdout] --> src/highlighters/mod.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | all(feature = "std", not(feature = "syntext-highlighter")) [INFO] [stdout] | ^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"syntect-highlighter"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtrace`, `backtrace-ext`, `default`, `derive`, `fancy`, `fancy-base`, `fancy-no-backtrace`, `fancy-no-syscall`, `miette-derive`, `no-format-args-capture`, `owo-colors`, `serde`, `std`, `supports-color`, `supports-hyperlinks`, `supports-unicode`, `syntect`, `syntect-highlighter`, `terminal_size`, and `textwrap` [INFO] [stdout] = help: consider adding `syntext-highlighter` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct DisplayError(pub(crate) M); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&(dyn Diagnostic + 'a)> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&'a (dyn Diagnostic + 'a)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miden-miette v8.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/eyreish/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/context.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/error.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/kind.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(not(track_caller))] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stdout] --> src/eyreish/mod.rs:534:16 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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 value: `syntext-highlighter` [INFO] [stdout] --> src/highlighters/mod.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | all(feature = "std", not(feature = "syntext-highlighter")) [INFO] [stdout] | ^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"syntect-highlighter"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtrace`, `backtrace-ext`, `default`, `derive`, `fancy`, `fancy-base`, `fancy-no-backtrace`, `fancy-no-syscall`, `miette-derive`, `no-format-args-capture`, `owo-colors`, `serde`, `std`, `supports-color`, `supports-hyperlinks`, `supports-unicode`, `syntect`, `syntect-highlighter`, `terminal_size`, and `textwrap` [INFO] [stdout] = help: consider adding `syntext-highlighter` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct DisplayError(pub(crate) M); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outer` is never constructed [INFO] [stdout] --> src/eyreish/wrapper.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | struct Outer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&(dyn Diagnostic + 'a)> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&'a (dyn Diagnostic + 'a)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "9d24b40f7a4c20262c768dbc044d09be6f89d201b8c5c396840edfa56d9cef10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d24b40f7a4c20262c768dbc044d09be6f89d201b8c5c396840edfa56d9cef10", kill_on_drop: false }` [INFO] [stdout] 9d24b40f7a4c20262c768dbc044d09be6f89d201b8c5c396840edfa56d9cef10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 19b540911a3db7b0bfcbd60da7930a52eb833e93cfad5feecdb2760b191f7e34 [INFO] running `Command { std: "docker" "start" "-a" "19b540911a3db7b0bfcbd60da7930a52eb833e93cfad5feecdb2760b191f7e34", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/eyreish/mod.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 110 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg_attr(not(track_caller), allow(unused_mut))] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/context.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:89:16 [INFO] [stderr] | [INFO] [stderr] 89 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 110 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:158:16 [INFO] [stderr] | [INFO] [stderr] 158 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/error.rs:427:16 [INFO] [stderr] | [INFO] [stderr] 427 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/kind.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/kind.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/kind.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:115:11 [INFO] [stderr] | [INFO] [stderr] 115 | #[cfg(track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:121:15 [INFO] [stderr] | [INFO] [stderr] 121 | #[cfg(not(track_caller))] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:492:16 [INFO] [stderr] | [INFO] [stderr] 492 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:499:16 [INFO] [stderr] | [INFO] [stderr] 499 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:506:16 [INFO] [stderr] | [INFO] [stderr] 506 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:512:16 [INFO] [stderr] | [INFO] [stderr] 512 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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: `track_caller` [INFO] [stderr] --> src/eyreish/mod.rs:534:16 [INFO] [stderr] | [INFO] [stderr] 534 | #[cfg_attr(track_caller, track_caller)] [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(track_caller)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` 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 value: `syntext-highlighter` [INFO] [stderr] --> src/highlighters/mod.rs:100:34 [INFO] [stderr] | [INFO] [stderr] 100 | all(feature = "std", not(feature = "syntext-highlighter")) [INFO] [stderr] | ^^^^^^^^^^--------------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"syntect-highlighter"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtrace`, `backtrace-ext`, `default`, `derive`, `fancy`, `fancy-base`, `fancy-no-backtrace`, `fancy-no-syscall`, `miette-derive`, `no-format-args-capture`, `owo-colors`, `serde`, `std`, `supports-color`, `supports-hyperlinks`, `supports-unicode`, `syntect`, `syntect-highlighter`, `terminal_size`, and `textwrap` [INFO] [stderr] = help: consider adding `syntext-highlighter` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: struct `DisplayError` is never constructed [INFO] [stderr] --> src/eyreish/wrapper.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) struct DisplayError(pub(crate) M); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `NoneError` is never constructed [INFO] [stderr] --> src/eyreish/wrapper.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct NoneError; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&(dyn Diagnostic + 'a)> { [INFO] [stderr] | ^^ ---------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'a` [INFO] [stderr] | | the lifetimes get resolved as `'a` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 68 | fn diagnostic_source<'a>(&'a self) -> Option<&'a (dyn Diagnostic + 'a)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `miden-miette` (lib) generated 28 warnings (run `cargo fix --lib -p miden-miette` to apply 1 suggestion) [INFO] [stderr] warning: struct `Outer` is never constructed [INFO] [stderr] --> src/eyreish/wrapper.rs:266:12 [INFO] [stderr] | [INFO] [stderr] 266 | struct Outer { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Outer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `miden-miette` (lib test) generated 29 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/miden_miette-17d69ec741775f80) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test eyreish::wrapper::tests::no_override ... ok [INFO] [stdout] test protocol::test_source_offset_from_location ... ok [INFO] [stdout] test source_impls::tests::basic ... ok [INFO] [stdout] test source_impls::tests::middle ... ok [INFO] [stdout] test source_impls::tests::middle_of_line ... ok [INFO] [stdout] test source_impls::tests::multiline_with_context ... ok [INFO] [stdout] test source_impls::tests::multiline_with_context_line_start ... ok [INFO] [stdout] test source_impls::tests::shifted ... ok [INFO] [stdout] test source_impls::tests::with_crlf ... ok [INFO] [stdout] test source_impls::tests::with_context ... ok [INFO] [stdout] test handlers::json::test_escape ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19b540911a3db7b0bfcbd60da7930a52eb833e93cfad5feecdb2760b191f7e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b540911a3db7b0bfcbd60da7930a52eb833e93cfad5feecdb2760b191f7e34", kill_on_drop: false }` [INFO] [stdout] 19b540911a3db7b0bfcbd60da7930a52eb833e93cfad5feecdb2760b191f7e34