[INFO] fetching crate renum 0.1.1... [INFO] checking renum-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate renum 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate renum 0.1.1 [INFO] finished tweaking crates.io crate renum 0.1.1 [INFO] tweaked toml for crates.io crate renum 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate renum 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `renum` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9060a53696d21a4a1f5ae655147e1a0c8a67b7b4f162215bc668f814ce98b4e [INFO] running `Command { std: "docker" "start" "-a" "c9060a53696d21a4a1f5ae655147e1a0c8a67b7b4f162215bc668f814ce98b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9060a53696d21a4a1f5ae655147e1a0c8a67b7b4f162215bc668f814ce98b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9060a53696d21a4a1f5ae655147e1a0c8a67b7b4f162215bc668f814ce98b4e", kill_on_drop: false }` [INFO] [stdout] c9060a53696d21a4a1f5ae655147e1a0c8a67b7b4f162215bc668f814ce98b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb1a109d76d74fb45b0e16ca3f57c8197428689a9a7fc1cb3c1ecf5ea7e1114d [INFO] running `Command { std: "docker" "start" "-a" "cb1a109d76d74fb45b0e16ca3f57c8197428689a9a7fc1cb3c1ecf5ea7e1114d", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `renum` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking renum v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constants `ZERO` and `BITS` are never used [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | trait Repr: std::marker::Copy + std::cmp::Ord + std::fmt::Debug + std::fmt::Display [INFO] [stdout] | ---- associated constants in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | const ZERO: Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | const BITS: u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | DefaultVariant(syn::Ident) [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 158 - DefaultVariant(syn::Ident) [INFO] [stdout] 158 + DefaultVariant(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ZERO` and `BITS` are never used [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | trait Repr: std::marker::Copy + std::cmp::Ord + std::fmt::Debug + std::fmt::Display [INFO] [stdout] | ---- associated constants in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | const ZERO: Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | const BITS: u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | DefaultVariant(syn::Ident) [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 158 - DefaultVariant(syn::Ident) [INFO] [stdout] 158 + DefaultVariant(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.114 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(ConfigPanic::try_from(0x01 as u16), Ok(ConfigPanic::A)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(ConfigPanic::try_from(0x02 as u16), Ok(ConfigPanic::B)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(ConfigPanic::try_from(0x03 as u16), Ok(ConfigPanic::C)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/config.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let _panic = ConfigPanic::try_from(0x04 as u16); // panic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `renum` (test "config") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated constants `ZERO` and `BITS` are never used [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 44 | trait Repr: std::marker::Copy + std::cmp::Ord + std::fmt::Debug + std::fmt::Display [INFO] [stdout] | ---- associated constants in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | const ZERO: Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | const BITS: u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | DefaultVariant(syn::Ident) [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 158 - DefaultVariant(syn::Ident) [INFO] [stdout] 158 + DefaultVariant(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb1a109d76d74fb45b0e16ca3f57c8197428689a9a7fc1cb3c1ecf5ea7e1114d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1a109d76d74fb45b0e16ca3f57c8197428689a9a7fc1cb3c1ecf5ea7e1114d", kill_on_drop: false }` [INFO] [stdout] cb1a109d76d74fb45b0e16ca3f57c8197428689a9a7fc1cb3c1ecf5ea7e1114d