[INFO] fetching crate const-units 0.1.3... [INFO] checking const-units-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate const-units 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate const-units 0.1.3 [INFO] finished tweaking crates.io crate const-units 0.1.3 [INFO] tweaked toml for crates.io crate const-units 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate const-units 0.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding const-str v0.5.7 (available: v0.6.4) [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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb38d28352dc2f1f0fa6842ea33fbd9208b9fc69713b90a33c4d14b6816d7470 [INFO] running `Command { std: "docker" "start" "-a" "cb38d28352dc2f1f0fa6842ea33fbd9208b9fc69713b90a33c4d14b6816d7470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb38d28352dc2f1f0fa6842ea33fbd9208b9fc69713b90a33c4d14b6816d7470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb38d28352dc2f1f0fa6842ea33fbd9208b9fc69713b90a33c4d14b6816d7470", kill_on_drop: false }` [INFO] [stdout] cb38d28352dc2f1f0fa6842ea33fbd9208b9fc69713b90a33c4d14b6816d7470 [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" "-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] 0621940d587f79e6552d7f03a3841d71e4d935843813c3b418bf717155aff769 [INFO] running `Command { std: "docker" "start" "-a" "0621940d587f79e6552d7f03a3841d71e4d935843813c3b418bf717155aff769", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking const-str v0.5.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking const-units v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0404]: expected trait, found derive macro `ConstParamTy` [INFO] [stdout] --> src/quantity.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ConstParamTy for SI {} [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `ConstParamTy` [INFO] [stdout] --> src/quantity.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ConstParamTy for SI {} [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::ConstParamTy` [INFO] [stdout] --> src/quantity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | marker::ConstParamTy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::ConstParamTy` [INFO] [stdout] --> src/quantity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | marker::ConstParamTy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Quantity(pub V); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl Display for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | impl Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | impl Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | impl, const UNITS: SI> Add> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | impl, const UNITS: SI> Sub> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | impl, const UNITS: SI> AddAssign> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | impl, const UNITS: SI> SubAssign> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | impl, const UNITS: SI> MulAssign> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | impl, const UNITS: SI> DivAssign> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:212:52 [INFO] [stdout] | [INFO] [stdout] 212 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:212:73 [INFO] [stdout] | [INFO] [stdout] 212 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:225:73 [INFO] [stdout] | [INFO] [stdout] 225 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-units` (lib) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `const-units` (lib test) due to 15 previous errors; 1 warning emitted [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Quantity(pub V); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | impl Display for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | impl Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227- pub struct SI { [INFO] [stdout] 227+ #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | impl Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | impl, const UNITS: SI> Add> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | impl, const UNITS: SI> Sub> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | impl, const UNITS: SI> AddAssign> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | impl, const UNITS: SI> SubAssign> for Quantity { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | impl, const UNITS: SI> MulAssign> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | impl, const UNITS: SI> DivAssign> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:212:52 [INFO] [stdout] | [INFO] [stdout] 212 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:212:73 [INFO] [stdout] | [INFO] [stdout] 212 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:225:52 [INFO] [stdout] | [INFO] [stdout] 225 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `SI` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/quantity.rs:225:73 [INFO] [stdout] | [INFO] [stdout] 225 | impl, const LHS_UNITS: SI, const RHS_UNITS: SI> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/lib.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 - pub struct SI { [INFO] [stdout] 227 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0621940d587f79e6552d7f03a3841d71e4d935843813c3b418bf717155aff769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0621940d587f79e6552d7f03a3841d71e4d935843813c3b418bf717155aff769", kill_on_drop: false }` [INFO] [stdout] 0621940d587f79e6552d7f03a3841d71e4d935843813c3b418bf717155aff769