[INFO] fetching crate const_unit_poc 1.1.3... [INFO] checking const_unit_poc-1.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate const_unit_poc 1.1.3 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate const_unit_poc 1.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78ebdc4826afef9c2646598755ac9be59c19030562316db43ee928afd8429df1 [INFO] running `Command { std: "docker" "start" "-a" "78ebdc4826afef9c2646598755ac9be59c19030562316db43ee928afd8429df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78ebdc4826afef9c2646598755ac9be59c19030562316db43ee928afd8429df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ebdc4826afef9c2646598755ac9be59c19030562316db43ee928afd8429df1", kill_on_drop: false }` [INFO] [stdout] 78ebdc4826afef9c2646598755ac9be59c19030562316db43ee928afd8429df1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93af3ced83a47e856bc1ebac6768e76bc3637a1f4dc6761aa3410f51b3b384a1 [INFO] running `Command { std: "docker" "start" "-a" "93af3ced83a47e856bc1ebac6768e76bc3637a1f4dc6761aa3410f51b3b384a1", 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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_unit_poc` (lib test) due to 15 previous errors [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `const_unit_poc` (lib) due to 15 previous errors [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [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 - pub struct SiUnit { [INFO] [stdout] 54 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0741`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0741`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "93af3ced83a47e856bc1ebac6768e76bc3637a1f4dc6761aa3410f51b3b384a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93af3ced83a47e856bc1ebac6768e76bc3637a1f4dc6761aa3410f51b3b384a1", kill_on_drop: false }` [INFO] [stdout] 93af3ced83a47e856bc1ebac6768e76bc3637a1f4dc6761aa3410f51b3b384a1