[INFO] fetching crate const_unit_poc 1.1.3... [INFO] checking const_unit_poc-1.1.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate const_unit_poc 1.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate const_unit_poc 1.1.3 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] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate const_unit_poc 1.1.3 [INFO] finished tweaking crates.io crate const_unit_poc 1.1.3 [INFO] tweaked toml for crates.io crate const_unit_poc 1.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate const_unit_poc 1.1.3 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c4a5684a11aebe8ddbc1f172e3cd5e883534ce4df78befbfd2c9ad88fd4506b3 [INFO] running `Command { std: "docker" "start" "-a" "c4a5684a11aebe8ddbc1f172e3cd5e883534ce4df78befbfd2c9ad88fd4506b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4a5684a11aebe8ddbc1f172e3cd5e883534ce4df78befbfd2c9ad88fd4506b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a5684a11aebe8ddbc1f172e3cd5e883534ce4df78befbfd2c9ad88fd4506b3", kill_on_drop: false }` [INFO] [stdout] c4a5684a11aebe8ddbc1f172e3cd5e883534ce4df78befbfd2c9ad88fd4506b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7ca41c985792b29da1bfc2e76505f502f65dad03bc1e3a2dd92e747626f3e942 [INFO] running `Command { std: "docker" "start" "-a" "7ca41c985792b29da1bfc2e76505f502f65dad03bc1e3a2dd92e747626f3e942", kill_on_drop: false }` [INFO] [stderr] Checking const_unit_poc v1.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | impl ops::Add for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | impl ops::Add for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | impl ops::AddAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | impl ops::AddAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | impl ops::Sub for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | impl ops::SubAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | impl ops::Sub for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | impl ops::SubAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | impl ops::Mul for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | impl ops::Mul for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | impl ops::Mul> for f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | impl ops::Mul> for f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | impl ops::Mul> for Quantity
    [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | impl ops::Mul> for Quantity
      [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | impl ops::Mul> for Quantity
        [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | impl ops::MulAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | impl ops::Mul> for Quantity
          [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | impl ops::MulAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | impl ops::Div for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | impl ops::Div for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | impl ops::Div> for f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | impl ops::Div> for f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | impl ops::Div> for Quantity
            [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | impl ops::Div> for Quantity
              [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | impl ops::Div> for Quantity
                [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | impl ops::Div> for Quantity
                  [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | impl ops::DivAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SiUnit` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | impl ops::DivAssign for Quantity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] 55 | pub struct SiUnit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0741`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0741`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const_unit_poc` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `const_unit_poc` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "7ca41c985792b29da1bfc2e76505f502f65dad03bc1e3a2dd92e747626f3e942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca41c985792b29da1bfc2e76505f502f65dad03bc1e3a2dd92e747626f3e942", kill_on_drop: false }` [INFO] [stdout] 7ca41c985792b29da1bfc2e76505f502f65dad03bc1e3a2dd92e747626f3e942