[INFO] cloning repository https://github.com/mickvangelderen/index-types [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mickvangelderen/index-types" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Findex-types", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Findex-types'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6779c9c5a0d4099d29a65cc8440e333d38de8baf [INFO] checking mickvangelderen/index-types against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickvangelderen%2Findex-types" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mickvangelderen/index-types [INFO] finished tweaking git repo https://github.com/mickvangelderen/index-types [INFO] tweaked toml for git repo https://github.com/mickvangelderen/index-types written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mickvangelderen/index-types 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] crate git repo https://github.com/mickvangelderen/index-types already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 506ec424a8e504a43a4412c8e6a992e389ae64abaee745e653cce4a31c29a814 [INFO] running `Command { std: "docker" "start" "-a" "506ec424a8e504a43a4412c8e6a992e389ae64abaee745e653cce4a31c29a814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "506ec424a8e504a43a4412c8e6a992e389ae64abaee745e653cce4a31c29a814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506ec424a8e504a43a4412c8e6a992e389ae64abaee745e653cce4a31c29a814", kill_on_drop: false }` [INFO] [stdout] 506ec424a8e504a43a4412c8e6a992e389ae64abaee745e653cce4a31c29a814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7691cc09e2fecfb1f5cf384b1e8ea40f431d5168f96c7e6a83dd5b55833a8bb8 [INFO] running `Command { std: "docker" "start" "-a" "7691cc09e2fecfb1f5cf384b1e8ea40f431d5168f96c7e6a83dd5b55833a8bb8", kill_on_drop: false }` [INFO] [stderr] Checking index-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | $Index::new(value.try_into().ok().unwrap_or_else(index_too_large)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let rhs = rhs.try_into().ok().unwrap_or_else(index_too_large); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `index-types` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | $Index::new(value.try_into().ok().unwrap_or_else(index_too_large)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | value.get().try_into().ok().unwrap_or_else(index_too_large) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (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] --> src/index.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let rhs = rhs.try_into().ok().unwrap_or_else(index_too_large); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / impl_index! { [INFO] [stdout] 93 | | IndexU8, NonMaxU8, NonZeroU8, u8; [INFO] [stdout] 94 | | IndexU16, NonMaxU16, NonZeroU16, u16; [INFO] [stdout] 95 | | IndexU32, NonMaxU32, NonZeroU32, u32; [INFO] [stdout] 96 | | IndexU64, NonMaxU64, NonZeroU64, u64; [INFO] [stdout] 97 | | IndexUsize, NonMaxUsize, NonZeroUsize, usize; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `index-types` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7691cc09e2fecfb1f5cf384b1e8ea40f431d5168f96c7e6a83dd5b55833a8bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7691cc09e2fecfb1f5cf384b1e8ea40f431d5168f96c7e6a83dd5b55833a8bb8", kill_on_drop: false }` [INFO] [stdout] 7691cc09e2fecfb1f5cf384b1e8ea40f431d5168f96c7e6a83dd5b55833a8bb8