[INFO] cloning repository https://github.com/AldaronLau/ranch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AldaronLau/ranch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAldaronLau%2Franch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAldaronLau%2Franch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 533471eed4ea5a6f72c1161df599c68c460cdff0 [INFO] checking AldaronLau/ranch against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAldaronLau%2Franch" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AldaronLau/ranch [INFO] finished tweaking git repo https://github.com/AldaronLau/ranch [INFO] tweaked toml for git repo https://github.com/AldaronLau/ranch written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AldaronLau/ranch on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AldaronLau/ranch 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c92ac1a0bf0e640ed20c80118d6bb84f83607e013ef0bf0509fddee5c7fa62 [INFO] running `Command { std: "docker" "start" "-a" "d0c92ac1a0bf0e640ed20c80118d6bb84f83607e013ef0bf0509fddee5c7fa62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c92ac1a0bf0e640ed20c80118d6bb84f83607e013ef0bf0509fddee5c7fa62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c92ac1a0bf0e640ed20c80118d6bb84f83607e013ef0bf0509fddee5c7fa62", kill_on_drop: false }` [INFO] [stdout] d0c92ac1a0bf0e640ed20c80118d6bb84f83607e013ef0bf0509fddee5c7fa62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e02d6c0a0b3d33c8af416d756ab514473ffefffda365ae54ae386940c4b23b7 [INFO] running `Command { std: "docker" "start" "-a" "3e02d6c0a0b3d33c8af416d756ab514473ffefffda365ae54ae386940c4b23b7", kill_on_drop: false }` [INFO] [stderr] Checking as_repr v1.3.0 [INFO] [stderr] Checking ranch v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the constant `VAL` is not of type `u8` [INFO] [stdout] --> src/unit.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub type UnitU8 = RangedU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u8::RangedU8` [INFO] [stdout] --> src/ranged/u8.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU8(pub(crate) u8); [INFO] [stdout] | ^^^^^^^^^^^^^ required by this const generic parameter in `RangedU8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u16` [INFO] [stdout] --> src/unit.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub type UnitU16 = RangedU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i16` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u16::RangedU16` [INFO] [stdout] --> src/ranged/u16.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU16(pub(crate) u16); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u32` [INFO] [stdout] --> src/unit.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type UnitU32 = RangedU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u32::RangedU32` [INFO] [stdout] --> src/ranged/u32.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU32(pub(crate) u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u64` [INFO] [stdout] --> src/unit.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub type UnitU64 = RangedU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u64::RangedU64` [INFO] [stdout] --> src/ranged/u64.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU64(pub(crate) u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u128` [INFO] [stdout] --> src/unit.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type UnitU128 = RangedU128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i128` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u128::RangedU128` [INFO] [stdout] --> src/ranged/u128.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU128(pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u8` [INFO] [stdout] --> src/unit.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub type UnitNonZeroU8 = RangedNonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u8::RangedNonZeroU8` [INFO] [stdout] --> src/nonzero/u8.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU8( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u16` [INFO] [stdout] --> src/unit.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub type UnitNonZeroU16 = RangedNonZeroU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i16` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u16::RangedNonZeroU16` [INFO] [stdout] --> src/nonzero/u16.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU16( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u32` [INFO] [stdout] --> src/unit.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub type UnitNonZeroU32 = RangedNonZeroU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u32::RangedNonZeroU32` [INFO] [stdout] --> src/nonzero/u32.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RangedNonZeroU32( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u64` [INFO] [stdout] --> src/unit.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub type UnitNonZeroU64 = RangedNonZeroU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u64::RangedNonZeroU64` [INFO] [stdout] --> src/nonzero/u64.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU64( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u128` [INFO] [stdout] --> src/unit.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub type UnitNonZeroU128 = RangedNonZeroU128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i128` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u128::RangedNonZeroU128` [INFO] [stdout] --> src/nonzero/u128.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU128( [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u8` [INFO] [stdout] --> src/unit.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub type UnitU8 = RangedU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u8::RangedU8` [INFO] [stdout] --> src/ranged/u8.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU8(pub(crate) u8); [INFO] [stdout] | ^^^^^^^^^^^^^ required by this const generic parameter in `RangedU8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u16` [INFO] [stdout] --> src/unit.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub type UnitU16 = RangedU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i16` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u16::RangedU16` [INFO] [stdout] --> src/ranged/u16.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU16(pub(crate) u16); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u32` [INFO] [stdout] --> src/unit.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type UnitU32 = RangedU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u32::RangedU32` [INFO] [stdout] --> src/ranged/u32.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU32(pub(crate) u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u64` [INFO] [stdout] --> src/unit.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub type UnitU64 = RangedU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u64::RangedU64` [INFO] [stdout] --> src/ranged/u64.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU64(pub(crate) u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u128` [INFO] [stdout] --> src/unit.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type UnitU128 = RangedU128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i128` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `ranged::u128::RangedU128` [INFO] [stdout] --> src/ranged/u128.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangedU128(pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this const generic parameter in `RangedU128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u8` [INFO] [stdout] --> src/unit.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub type UnitNonZeroU8 = RangedNonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u8::RangedNonZeroU8` [INFO] [stdout] --> src/nonzero/u8.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU8( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u16` [INFO] [stdout] --> src/unit.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub type UnitNonZeroU16 = RangedNonZeroU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i16` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u16::RangedNonZeroU16` [INFO] [stdout] --> src/nonzero/u16.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU16( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u32` [INFO] [stdout] --> src/unit.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub type UnitNonZeroU32 = RangedNonZeroU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u32::RangedNonZeroU32` [INFO] [stdout] --> src/nonzero/u32.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RangedNonZeroU32( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u64` [INFO] [stdout] --> src/unit.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub type UnitNonZeroU64 = RangedNonZeroU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u64::RangedNonZeroU64` [INFO] [stdout] --> src/nonzero/u64.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU64( [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the constant `VAL` is not of type `u128` [INFO] [stdout] --> src/unit.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub type UnitNonZeroU128 = RangedNonZeroU128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i128` [INFO] [stdout] | [INFO] [stdout] note: required by a const generic parameter in `nonzero::u128::RangedNonZeroU128` [INFO] [stdout] --> src/nonzero/u128.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RangedNonZeroU128( [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this const generic parameter in `RangedNonZeroU128` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ranch` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ranch` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "3e02d6c0a0b3d33c8af416d756ab514473ffefffda365ae54ae386940c4b23b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e02d6c0a0b3d33c8af416d756ab514473ffefffda365ae54ae386940c4b23b7", kill_on_drop: false }` [INFO] [stdout] 3e02d6c0a0b3d33c8af416d756ab514473ffefffda365ae54ae386940c4b23b7