[INFO] fetching crate tomlenv 0.4.2... [INFO] testing tomlenv-0.4.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate tomlenv 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate tomlenv 0.4.2 [INFO] finished tweaking crates.io crate tomlenv 0.4.2 [INFO] tweaked toml for crates.io crate tomlenv 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tomlenv 0.4.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8d4f9237f25e930ba8a1beb316ad6f9a96ce3d8bdd1a9507f53b39825ca778b [INFO] running `Command { std: "docker" "start" "-a" "b8d4f9237f25e930ba8a1beb316ad6f9a96ce3d8bdd1a9507f53b39825ca778b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8d4f9237f25e930ba8a1beb316ad6f9a96ce3d8bdd1a9507f53b39825ca778b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d4f9237f25e930ba8a1beb316ad6f9a96ce3d8bdd1a9507f53b39825ca778b", kill_on_drop: false }` [INFO] [stdout] b8d4f9237f25e930ba8a1beb316ad6f9a96ce3d8bdd1a9507f53b39825ca778b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ea0110947976678c99d6ea5f590bc055450f02552a2d5bc5f44f25e365a03e [INFO] running `Command { std: "docker" "start" "-a" "c1ea0110947976678c99d6ea5f590bc055450f02552a2d5bc5f44f25e365a03e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling tomlenv v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stdout] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stdout] --> src/lib.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | illegal_floating_point_literal_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `nontrivial_structural_match` has been removed: no longer needed, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | nontrivial_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `suspicious_auto_trait_impls` has been removed: no longer needed, see issue #93367 for more information [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | suspicious_auto_trait_impls, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | temporary_cstring_as_ptr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stdout] --> src/lib.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | unused_tuple_struct_fields, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dead_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | where_clauses_object_safety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `msrv` [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | unexpected_cfgs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/lib.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | msrv, [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:404:45 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:418:27 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:418:50 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `beta` [INFO] [stdout] --> src/lib.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(beta)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta)");` 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: `nightly` [INFO] [stdout] --> src/lib.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | #![cfg_attr(msrv, deny(clippy::all, clippy::pedantic))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | / dep_error!( [INFO] [stdout] 25 | | std::env::VarError, [INFO] [stdout] 26 | | ErrSource::Var, [INFO] [stdout] 27 | | ErrCode::Env, [INFO] [stdout] 28 | | "There was an error processing your enviroment" [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | / dep_error!( [INFO] [stdout] 31 | | std::io::Error, [INFO] [stdout] 32 | | ErrSource::Io, [INFO] [stdout] 33 | | ErrCode::Io, [INFO] [stdout] 34 | | "There was an error processing your request" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / dep_error!( [INFO] [stdout] 37 | | toml::de::Error, [INFO] [stdout] 38 | | ErrSource::TomlDe, [INFO] [stdout] 39 | | ErrCode::Parse, [INFO] [stdout] 40 | | "There was an error deserializing TOML" [INFO] [stdout] 41 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | / dep_error!( [INFO] [stdout] 43 | | toml::ser::Error, [INFO] [stdout] 44 | | ErrSource::TomlSer, [INFO] [stdout] 45 | | ErrCode::Parse, [INFO] [stdout] 46 | | "There was an error serializing TOML" [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.80s [INFO] running `Command { std: "docker" "inspect" "c1ea0110947976678c99d6ea5f590bc055450f02552a2d5bc5f44f25e365a03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ea0110947976678c99d6ea5f590bc055450f02552a2d5bc5f44f25e365a03e", kill_on_drop: false }` [INFO] [stdout] c1ea0110947976678c99d6ea5f590bc055450f02552a2d5bc5f44f25e365a03e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d54c7040cce09085addf1eee69d502c2432f92d1939b53b2e768312365bdee5 [INFO] running `Command { std: "docker" "start" "-a" "3d54c7040cce09085addf1eee69d502c2432f92d1939b53b2e768312365bdee5", kill_on_drop: false }` [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stdout] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stdout] --> src/lib.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | illegal_floating_point_literal_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `nontrivial_structural_match` has been removed: no longer needed, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | nontrivial_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `suspicious_auto_trait_impls` has been removed: no longer needed, see issue #93367 for more information [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | suspicious_auto_trait_impls, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | temporary_cstring_as_ptr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stdout] --> src/lib.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | unused_tuple_struct_fields, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dead_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | where_clauses_object_safety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `msrv` [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | unexpected_cfgs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/lib.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | msrv, [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:404:45 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:418:27 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:418:50 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `beta` [INFO] [stdout] --> src/lib.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(beta)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta)");` 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: `nightly` [INFO] [stdout] --> src/lib.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | #![cfg_attr(msrv, deny(clippy::all, clippy::pedantic))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | / dep_error!( [INFO] [stdout] 25 | | std::env::VarError, [INFO] [stdout] 26 | | ErrSource::Var, [INFO] [stdout] 27 | | ErrCode::Env, [INFO] [stdout] 28 | | "There was an error processing your enviroment" [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | / dep_error!( [INFO] [stdout] 31 | | std::io::Error, [INFO] [stdout] 32 | | ErrSource::Io, [INFO] [stdout] 33 | | ErrCode::Io, [INFO] [stdout] 34 | | "There was an error processing your request" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / dep_error!( [INFO] [stdout] 37 | | toml::de::Error, [INFO] [stdout] 38 | | ErrSource::TomlDe, [INFO] [stdout] 39 | | ErrCode::Parse, [INFO] [stdout] 40 | | "There was an error deserializing TOML" [INFO] [stdout] 41 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | / dep_error!( [INFO] [stdout] 43 | | toml::ser::Error, [INFO] [stdout] 44 | | ErrSource::TomlSer, [INFO] [stdout] 45 | | ErrCode::Parse, [INFO] [stdout] 46 | | "There was an error serializing TOML" [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tomlenv v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stdout] --> src/lib.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | illegal_floating_point_literal_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `nontrivial_structural_match` has been removed: no longer needed, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | nontrivial_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `suspicious_auto_trait_impls` has been removed: no longer needed, see issue #93367 for more information [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | suspicious_auto_trait_impls, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | temporary_cstring_as_ptr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stdout] --> src/lib.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | unused_tuple_struct_fields, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dead_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | where_clauses_object_safety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `msrv` [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | unexpected_cfgs, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/lib.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | msrv, [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:404:45 [INFO] [stdout] | [INFO] [stdout] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stdout] --> src/lib.rs:418:27 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:418:50 [INFO] [stdout] | [INFO] [stdout] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `beta` [INFO] [stdout] --> src/lib.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(beta)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta)");` 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: `nightly` [INFO] [stdout] --> src/lib.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | all(msrv, any(beta, nightly)), [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stdout] --> src/lib.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | #![cfg_attr(msrv, deny(clippy::all, clippy::pedantic))] [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(msrv)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | unused_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/codes.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | / dep_error!( [INFO] [stdout] 25 | | std::env::VarError, [INFO] [stdout] 26 | | ErrSource::Var, [INFO] [stdout] 27 | | ErrCode::Env, [INFO] [stdout] 28 | | "There was an error processing your enviroment" [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | / dep_error!( [INFO] [stdout] 31 | | std::io::Error, [INFO] [stdout] 32 | | ErrSource::Io, [INFO] [stdout] 33 | | ErrCode::Io, [INFO] [stdout] 34 | | "There was an error processing your request" [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | / dep_error!( [INFO] [stdout] 37 | | toml::de::Error, [INFO] [stdout] 38 | | ErrSource::TomlDe, [INFO] [stdout] 39 | | ErrCode::Parse, [INFO] [stdout] 40 | | "There was an error deserializing TOML" [INFO] [stdout] 41 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/error/sources.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | / dep_error!( [INFO] [stdout] 43 | | toml::ser::Error, [INFO] [stdout] 44 | | ErrSource::TomlSer, [INFO] [stdout] 45 | | ErrCode::Parse, [INFO] [stdout] 46 | | "There was an error serializing TOML" [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "3d54c7040cce09085addf1eee69d502c2432f92d1939b53b2e768312365bdee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d54c7040cce09085addf1eee69d502c2432f92d1939b53b2e768312365bdee5", kill_on_drop: false }` [INFO] [stdout] 3d54c7040cce09085addf1eee69d502c2432f92d1939b53b2e768312365bdee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 854b06f9e1fafa93adf63e6a7ebebe6283b32a148d47a0dfa514233c5123265a [INFO] running `Command { std: "docker" "start" "-a" "854b06f9e1fafa93adf63e6a7ebebe6283b32a148d47a0dfa514233c5123265a", kill_on_drop: false }` [INFO] [stderr] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stderr] --> src/lib.rs:309:9 [INFO] [stderr] | [INFO] [stderr] 309 | illegal_floating_point_literal_pattern, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stderr] --> src/lib.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 313 | indirect_structural_match, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `nontrivial_structural_match` has been removed: no longer needed, see RFC #3535 for more information [INFO] [stderr] --> src/lib.rs:338:9 [INFO] [stderr] | [INFO] [stderr] 338 | nontrivial_structural_match, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stderr] --> src/lib.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | pointer_structural_match, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/lib.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | private_in_public, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `suspicious_auto_trait_impls` has been removed: no longer needed, see issue #93367 for more information [INFO] [stderr] --> src/lib.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | suspicious_auto_trait_impls, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:345:9 [INFO] [stderr] | [INFO] [stderr] 345 | renamed_and_removed_lints, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stderr] --> src/lib.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | temporary_cstring_as_ptr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stderr] [INFO] [stderr] warning: lint `unused_tuple_struct_fields` has been renamed to `dead_code` [INFO] [stderr] --> src/lib.rs:396:9 [INFO] [stderr] | [INFO] [stderr] 396 | unused_tuple_struct_fields, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dead_code` [INFO] [stderr] [INFO] [stderr] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stderr] --> src/lib.rs:400:9 [INFO] [stderr] | [INFO] [stderr] 400 | where_clauses_object_safety, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `msrv` [INFO] [stderr] --> src/lib.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:364:9 [INFO] [stderr] | [INFO] [stderr] 364 | unexpected_cfgs, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `unstable` [INFO] [stderr] --> src/lib.rs:268:15 [INFO] [stderr] | [INFO] [stderr] 268 | all(msrv, feature = "unstable", nightly), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:268:37 [INFO] [stderr] | [INFO] [stderr] 268 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | msrv, [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:404:17 [INFO] [stderr] | [INFO] [stderr] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stderr] --> src/lib.rs:404:23 [INFO] [stderr] | [INFO] [stderr] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:404:45 [INFO] [stderr] | [INFO] [stderr] 404 | #![cfg_attr(all(msrv, feature = "unstable", nightly), allow(unstable_features))] [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | all(msrv, feature = "unstable", nightly), [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stderr] --> src/lib.rs:407:15 [INFO] [stderr] | [INFO] [stderr] 407 | all(msrv, feature = "unstable", nightly), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:407:37 [INFO] [stderr] | [INFO] [stderr] 407 | all(msrv, feature = "unstable", nightly), [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:418:17 [INFO] [stderr] | [INFO] [stderr] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `unstable` [INFO] [stderr] --> src/lib.rs:418:27 [INFO] [stderr] | [INFO] [stderr] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:418:50 [INFO] [stderr] | [INFO] [stderr] 418 | #![cfg_attr(all(msrv, not(feature = "unstable"), nightly), deny(unstable_features))] [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:423:9 [INFO] [stderr] | [INFO] [stderr] 423 | all(msrv, any(beta, nightly)), [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` 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: `beta` [INFO] [stderr] --> src/lib.rs:423:19 [INFO] [stderr] | [INFO] [stderr] 423 | all(msrv, any(beta, nightly)), [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(beta)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta)");` 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: `nightly` [INFO] [stderr] --> src/lib.rs:423:25 [INFO] [stderr] | [INFO] [stderr] 423 | all(msrv, any(beta, nightly)), [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `msrv` [INFO] [stderr] --> src/lib.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 433 | #![cfg_attr(msrv, deny(clippy::all, clippy::pedantic))] [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(msrv)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(msrv)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/codes.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:378:9 [INFO] [stderr] | [INFO] [stderr] 378 | unused_attributes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/codes.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/sources.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | / dep_error!( [INFO] [stderr] 25 | | std::env::VarError, [INFO] [stderr] 26 | | ErrSource::Var, [INFO] [stderr] 27 | | ErrCode::Env, [INFO] [stderr] 28 | | "There was an error processing your enviroment" [INFO] [stderr] 29 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/sources.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | / dep_error!( [INFO] [stderr] 31 | | std::io::Error, [INFO] [stderr] 32 | | ErrSource::Io, [INFO] [stderr] 33 | | ErrCode::Io, [INFO] [stderr] 34 | | "There was an error processing your request" [INFO] [stderr] 35 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/sources.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | / dep_error!( [INFO] [stderr] 37 | | toml::de::Error, [INFO] [stderr] 38 | | ErrSource::TomlDe, [INFO] [stderr] 39 | | ErrCode::Parse, [INFO] [stderr] 40 | | "There was an error deserializing TOML" [INFO] [stderr] 41 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/error/sources.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | / dep_error!( [INFO] [stderr] 43 | | toml::ser::Error, [INFO] [stderr] 44 | | ErrSource::TomlSer, [INFO] [stderr] 45 | | ErrCode::Parse, [INFO] [stderr] 46 | | "There was an error serializing TOML" [INFO] [stderr] 47 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: this warning originates in the macro `dep_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tomlenv` (lib) generated 32 warnings (run `cargo fix --lib -p tomlenv` to apply 8 suggestions) [INFO] [stderr] warning: `tomlenv` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tomlenv-4d5d7c5f736b58a5) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test env::environments::test::current ... ok [INFO] [stdout] test env::environments::test::current_from ... ok [INFO] [stdout] test env::environments::test::encode ... ok [INFO] [stdout] test env::environment::test::display ... ok [INFO] [stdout] test env::environment::test::convert ... ok [INFO] [stdout] test env::environments::test::decode ... ok [INFO] [stdout] test env::environments::test::try_from ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- env::environments::test::try_from stdout ---- [INFO] [stdout] Unable to read '/root/.local/share/env.toml' [INFO] [stdout] [INFO] [stdout] thread 'env::environments::test::try_from' (32) panicked at src/env/environments.rs:398:27: [INFO] [stdout] Unable to deserialize environments [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56579fa9acb2 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56579fa9acb2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56579fa9acb2 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56579fa9acb2 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56579faab44f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56579faab44f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56579fa67761 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56579fa67761 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56579fa73d32 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56579fa78bbf - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56579fa78a51 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56579f9289ce - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56579f9289ce - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56579fa7927f - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56579fa7927f - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56579fa788cc - std::panicking::begin_panic::{{closure}}::ha28865091da30955 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:771:9 [INFO] [stdout] 16: 0x56579fa73e69 - std::sys::backtrace::__rust_end_short_backtrace::h0ae7f4a58b3e613f [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56579fa7889c - std::panicking::begin_panic::hfff4078bb7f4507d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:770:5 [INFO] [stdout] 18: 0x56579f8ece3a - tomlenv::env::environments::test::try_from::h678a9f2ab6cefef2 [INFO] [stdout] at /opt/rustwide/workdir/src/env/environments.rs:398:27 [INFO] [stdout] 19: 0x56579f8ed007 - tomlenv::env::environments::test::try_from::{{closure}}::h53715fe695abebd0 [INFO] [stdout] at /opt/rustwide/workdir/src/env/environments.rs:375:18 [INFO] [stdout] 20: 0x56579f8efde6 - core::ops::function::FnOnce::call_once::hdf580662e9807e5e [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 21: 0x56579f9287ab - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x56579f9287ab - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 23: 0x56579f93e3e5 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 24: 0x56579f93e3e5 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 25: 0x56579f93e3e5 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x56579f93e3e5 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x56579f93e3e5 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x56579f93e3e5 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 29: 0x56579f93e3e5 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 30: 0x56579f914be4 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 31: 0x56579f914be4 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 32: 0x56579f91858a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 33: 0x56579f91858a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 34: 0x56579f91858a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 35: 0x56579f91858a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 36: 0x56579f91858a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x56579f91858a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 38: 0x56579f91858a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 39: 0x56579fa6f05f - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 40: 0x56579fa6f05f - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 41: 0x7286eb60daa4 - [INFO] [stdout] 42: 0x7286eb69aa64 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] env::environments::test::try_from [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "854b06f9e1fafa93adf63e6a7ebebe6283b32a148d47a0dfa514233c5123265a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854b06f9e1fafa93adf63e6a7ebebe6283b32a148d47a0dfa514233c5123265a", kill_on_drop: false }` [INFO] [stdout] 854b06f9e1fafa93adf63e6a7ebebe6283b32a148d47a0dfa514233c5123265a