[INFO] fetching crate const_unit_poc 1.1.3... [INFO] testing const_unit_poc-1.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate const_unit_poc 1.1.3 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate const_unit_poc 1.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada1b698c6b579e89c505c7c30a4994a39ba1d87c5629a2a2da1e7135093c0a7 [INFO] running `Command { std: "docker" "start" "-a" "ada1b698c6b579e89c505c7c30a4994a39ba1d87c5629a2a2da1e7135093c0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada1b698c6b579e89c505c7c30a4994a39ba1d87c5629a2a2da1e7135093c0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada1b698c6b579e89c505c7c30a4994a39ba1d87c5629a2a2da1e7135093c0a7", kill_on_drop: false }` [INFO] [stdout] ada1b698c6b579e89c505c7c30a4994a39ba1d87c5629a2a2da1e7135093c0a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79408f061d7b8222f31a60326b88a7f93d1596666905ad2cc2841e6ebb26db2c [INFO] running `Command { std: "docker" "start" "-a" "79408f061d7b8222f31a60326b88a7f93d1596666905ad2cc2841e6ebb26db2c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [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: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: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: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] [stderr] error: could not compile `const_unit_poc` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "79408f061d7b8222f31a60326b88a7f93d1596666905ad2cc2841e6ebb26db2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79408f061d7b8222f31a60326b88a7f93d1596666905ad2cc2841e6ebb26db2c", kill_on_drop: false }` [INFO] [stdout] 79408f061d7b8222f31a60326b88a7f93d1596666905ad2cc2841e6ebb26db2c