[INFO] fetching crate const-units 0.1.3... [INFO] testing const-units-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f135b69b9d6656bfd35cda5169b7fafb5d96a058a5405b0c4daba60406514125 [INFO] running `Command { std: "docker" "start" "-a" "f135b69b9d6656bfd35cda5169b7fafb5d96a058a5405b0c4daba60406514125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f135b69b9d6656bfd35cda5169b7fafb5d96a058a5405b0c4daba60406514125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f135b69b9d6656bfd35cda5169b7fafb5d96a058a5405b0c4daba60406514125", kill_on_drop: false }` [INFO] [stdout] f135b69b9d6656bfd35cda5169b7fafb5d96a058a5405b0c4daba60406514125 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6a651690df094dcbae02d957b15d1c91c9df2cb06d343ba84786143b8f979b9 [INFO] running `Command { std: "docker" "start" "-a" "f6a651690df094dcbae02d957b15d1c91c9df2cb06d343ba84786143b8f979b9", kill_on_drop: false }` [INFO] [stderr] Compiling const-str v0.5.7 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling 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] 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)]` (part of `#[warn(unused)]`) 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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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 + #[derive(ConstParamTy)] [INFO] [stdout] 228 | pub struct SI { [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] running `Command { std: "docker" "inspect" "f6a651690df094dcbae02d957b15d1c91c9df2cb06d343ba84786143b8f979b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a651690df094dcbae02d957b15d1c91c9df2cb06d343ba84786143b8f979b9", kill_on_drop: false }` [INFO] [stdout] f6a651690df094dcbae02d957b15d1c91c9df2cb06d343ba84786143b8f979b9