[INFO] fetching crate pflag 0.6.2... [INFO] checking pflag-0.6.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate pflag 0.6.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pflag 0.6.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b5add824af187a259f9ff9ec9fc946e9daf2c3011f69e34c83f60c1a2378f1b [INFO] running `Command { std: "docker" "start" "-a" "5b5add824af187a259f9ff9ec9fc946e9daf2c3011f69e34c83f60c1a2378f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b5add824af187a259f9ff9ec9fc946e9daf2c3011f69e34c83f60c1a2378f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5add824af187a259f9ff9ec9fc946e9daf2c3011f69e34c83f60c1a2378f1b", kill_on_drop: false }` [INFO] [stdout] 5b5add824af187a259f9ff9ec9fc946e9daf2c3011f69e34c83f60c1a2378f1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca2b8ecb6bc813baba7d1dc7315ec3db9ce00ce4fdf762cbda388431eb188570 [INFO] running `Command { std: "docker" "start" "-a" "ca2b8ecb6bc813baba7d1dc7315ec3db9ce00ce4fdf762cbda388431eb188570", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [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" "ca2b8ecb6bc813baba7d1dc7315ec3db9ce00ce4fdf762cbda388431eb188570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2b8ecb6bc813baba7d1dc7315ec3db9ce00ce4fdf762cbda388431eb188570", kill_on_drop: false }` [INFO] [stdout] ca2b8ecb6bc813baba7d1dc7315ec3db9ce00ce4fdf762cbda388431eb188570 [INFO] checking pflag-0.6.2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate pflag 0.6.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate pflag 0.6.2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5a26bd8a3c714e8eb20f3cbcd32680d551fab8f007bafdeb148b8e1228eca43 [INFO] running `Command { std: "docker" "start" "-a" "c5a26bd8a3c714e8eb20f3cbcd32680d551fab8f007bafdeb148b8e1228eca43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a26bd8a3c714e8eb20f3cbcd32680d551fab8f007bafdeb148b8e1228eca43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a26bd8a3c714e8eb20f3cbcd32680d551fab8f007bafdeb148b8e1228eca43", kill_on_drop: false }` [INFO] [stdout] c5a26bd8a3c714e8eb20f3cbcd32680d551fab8f007bafdeb148b8e1228eca43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c0d1dcffbd3618fe8c30944f6b6b2f6fbc03d581796a893558bfd64b5659086 [INFO] running `Command { std: "docker" "start" "-a" "1c0d1dcffbd3618fe8c30944f6b6b2f6fbc03d581796a893558bfd64b5659086", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "1c0d1dcffbd3618fe8c30944f6b6b2f6fbc03d581796a893558bfd64b5659086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0d1dcffbd3618fe8c30944f6b6b2f6fbc03d581796a893558bfd64b5659086", kill_on_drop: false }` [INFO] [stdout] 1c0d1dcffbd3618fe8c30944f6b6b2f6fbc03d581796a893558bfd64b5659086