[INFO] fetching crate pflag 0.6.2... [INFO] checking pflag-0.6.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pflag 0.6.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pflag 0.6.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pflag 0.6.2 [INFO] finished tweaking crates.io crate pflag 0.6.2 [INFO] tweaked toml for crates.io crate pflag 0.6.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concat-idents v1.1.5 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 272e64aab0716ae02aa94dcce3596e9a5be4269884f6d4909aab8c0033403c46 [INFO] running `Command { std: "docker" "start" "-a" "272e64aab0716ae02aa94dcce3596e9a5be4269884f6d4909aab8c0033403c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "272e64aab0716ae02aa94dcce3596e9a5be4269884f6d4909aab8c0033403c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272e64aab0716ae02aa94dcce3596e9a5be4269884f6d4909aab8c0033403c46", kill_on_drop: false }` [INFO] [stdout] 272e64aab0716ae02aa94dcce3596e9a5be4269884f6d4909aab8c0033403c46 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9794f7106ad0e6e110eaf1b252724731131225a38f9221f4fbea5a38ae718b52 [INFO] running `Command { std: "docker" "start" "-a" "9794f7106ad0e6e110eaf1b252724731131225a38f9221f4fbea5a38ae718b52", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Checking pflag v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | BOOL_ID => def_value == "false", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | DURATION_ID => def_value == "0" || def_value == "0s", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:65 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:83 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | | F64_ID => def_value == "0", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | STRING_ID => def_value == "", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut flag = self.flags.get_mut(*opt.unwrap()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | BOOL_ID => def_value == "false", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | DURATION_ID => def_value == "0" || def_value == "0s", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:65 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:129:83 [INFO] [stdout] | [INFO] [stdout] 129 | U8_ID | U16_ID | U32_ID | U64_ID | I8_ID | I16_ID | I32_ID | I64_ID | F32_ID [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | | F64_ID => def_value == "0", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | STRING_ID => def_value == "", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]` [INFO] [stdout] --> src/lib.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | IP_ADDR_ID | IP_V4_ADDR_ID | IP_V6_ADDR_ID => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the traits must be derived, manual `impl`s are not sufficient [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let mut flag = self.flags.get_mut(*opt.unwrap()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pflag` (lib) due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pflag` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9794f7106ad0e6e110eaf1b252724731131225a38f9221f4fbea5a38ae718b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9794f7106ad0e6e110eaf1b252724731131225a38f9221f4fbea5a38ae718b52", kill_on_drop: false }` [INFO] [stdout] 9794f7106ad0e6e110eaf1b252724731131225a38f9221f4fbea5a38ae718b52