[INFO] cloning repository https://github.com/programmerjake/rust-hdl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/programmerjake/rust-hdl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprogrammerjake%2Frust-hdl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprogrammerjake%2Frust-hdl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 938c47ee3175dd5326cfc652fab2a6ccc6ad8d28 [INFO] checking programmerjake/rust-hdl against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprogrammerjake%2Frust-hdl" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/programmerjake/rust-hdl on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/programmerjake/rust-hdl [INFO] finished tweaking git repo https://github.com/programmerjake/rust-hdl [INFO] tweaked toml for git repo https://github.com/programmerjake/rust-hdl written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/programmerjake/rust-hdl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72a2d066a6c871ee702277df138ee45617245924cd290a7f0ee769a072fe61d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d72a2d066a6c871ee702277df138ee45617245924cd290a7f0ee769a072fe61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72a2d066a6c871ee702277df138ee45617245924cd290a7f0ee769a072fe61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72a2d066a6c871ee702277df138ee45617245924cd290a7f0ee769a072fe61d", kill_on_drop: false }` [INFO] [stdout] d72a2d066a6c871ee702277df138ee45617245924cd290a7f0ee769a072fe61d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40ee2ae7c2f01f1c60e4832daa05d1c3d1fea664c50770f85c1c9c1c88419a67 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40ee2ae7c2f01f1c60e4832daa05d1c3d1fea664c50770f85c1c9c1c88419a67", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rust-hdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'ctx, T: Internable<'ctx> + ToOwned + Sized> InternableImpl<'ctx> for T { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 83 | arena.alloc(value.into_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found associated type `::Owned` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | impl<'ctx, T: Internable<'ctx> + ToOwned + Sized + ToOwned> InternableImpl<'ctx> for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `into_iter` exists for associated type `<[T] as ToOwned>::Owned`, but its trait bounds were not satisfied [INFO] [stdout] --> src/context.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | Cow::Owned(value) => arena.alloc_extend(value.into_iter()), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `<[T] as ToOwned>::Owned` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `<[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] `&<[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `&<[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] `&mut <[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `&mut <[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 79 | impl<'ctx, T: Internable<'ctx> + ToOwned + Sized> InternableImpl<'ctx> for T { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 83 | arena.alloc(value.into_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found associated type `::Owned` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 79 | impl<'ctx, T: Internable<'ctx> + ToOwned + Sized + ToOwned> InternableImpl<'ctx> for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `into_iter` exists for associated type `<[T] as ToOwned>::Owned`, but its trait bounds were not satisfied [INFO] [stdout] --> src/context.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | Cow::Owned(value) => arena.alloc_extend(value.into_iter()), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `<[T] as ToOwned>::Owned` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `<[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] `&<[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `&<[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] `&mut <[T] as ToOwned>::Owned: Iterator` [INFO] [stdout] which is required by `&mut <[T] as ToOwned>::Owned: IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | <&T>::hash(&value, &mut hasher); [INFO] [stdout] | ^^^^^^ expected `&T`, found enum `Cow` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&T` [INFO] [stdout] found reference `&Cow<'_, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | <&T>::hash(&value, &mut hasher); [INFO] [stdout] | ^^^^^^ expected `&T`, found enum `Cow` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&T` [INFO] [stdout] found reference `&Cow<'_, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&T` with `Cow<'_, T>` [INFO] [stdout] --> src/context.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | .from_hash(hasher.finish(), |v| *v == value) [INFO] [stdout] | ^^ no implementation for `&T == Cow<'_, T>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&T` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 115 | impl<'ctx, T: InternableImpl<'ctx> + ?Sized> Interner<'ctx, T> where &T: PartialEq> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&T` with `Cow<'_, T>` [INFO] [stdout] --> src/context.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | .from_hash(hasher.finish(), |v| *v == value) [INFO] [stdout] | ^^ no implementation for `&T == Cow<'_, T>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&T` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 115 | impl<'ctx, T: InternableImpl<'ctx> + ?Sized> Interner<'ctx, T> where &T: PartialEq> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | ctx.value_type_interner.intern(value) [INFO] [stdout] | ^^^^^ expected enum `IrValue`, found enum `IrValueType` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, IrValue<'ctx>>` [INFO] [stdout] found enum `Cow<'_, IrValueType<'ctx>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | fn intern_cow(value: Cow<'_, Self>, ctx: ContextRef<'ctx>) -> Interned<'ctx, Self> { [INFO] [stdout] | -------------------- expected `Interned<'ctx, IrValueType<'ctx>>` because of return type [INFO] [stdout] 152 | ctx.value_type_interner.intern(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IrValueType`, found enum `IrValue` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Interned<'ctx, IrValueType<'ctx>>` [INFO] [stdout] found struct `Interned<'_, IrValue<'ctx>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | ctx.value_type_interner.intern(value) [INFO] [stdout] | ^^^^^ expected enum `IrValue`, found enum `IrValueType` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, IrValue<'ctx>>` [INFO] [stdout] found enum `Cow<'_, IrValueType<'ctx>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ValueType<'_, T>` [INFO] [stdout] --> src/logic.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(self.value_type(), rhs.value_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ValueType<'_, T> [INFO] [stdout] | ValueType<'_, T> [INFO] [stdout] | [INFO] [stdout] = note: the trait `std::cmp::PartialEq` is not implemented for `ValueType<'_, T>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ValueType<'_, T>` doesn't implement `Debug` [INFO] [stdout] --> src/logic.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(self.value_type(), rhs.value_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ValueType<'_, T>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ValueType<'_, T>` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Wire<'ctx, T>` [INFO] [stdout] --> src/logic.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | &self.0 [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `value` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 29 | &self.value.ir.0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/context.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | fn intern_cow(value: Cow<'_, Self>, ctx: ContextRef<'ctx>) -> Interned<'ctx, Self> { [INFO] [stdout] | -------------------- expected `Interned<'ctx, IrValueType<'ctx>>` because of return type [INFO] [stdout] 152 | ctx.value_type_interner.intern(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IrValueType`, found enum `IrValue` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Interned<'ctx, IrValueType<'ctx>>` [INFO] [stdout] found struct `Interned<'_, IrValue<'ctx>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ValueType<'_, T>` [INFO] [stdout] --> src/logic.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(self.value_type(), rhs.value_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ValueType<'_, T> [INFO] [stdout] | ValueType<'_, T> [INFO] [stdout] | [INFO] [stdout] = note: the trait `std::cmp::PartialEq` is not implemented for `ValueType<'_, T>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ValueType<'_, T>` doesn't implement `Debug` [INFO] [stdout] --> src/logic.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(self.value_type(), rhs.value_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ValueType<'_, T>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ValueType<'_, T>` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Wire<'ctx, T>` [INFO] [stdout] --> src/logic.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | &self.0 [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `value` [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 29 | &self.value.ir.0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-hdl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40ee2ae7c2f01f1c60e4832daa05d1c3d1fea664c50770f85c1c9c1c88419a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ee2ae7c2f01f1c60e4832daa05d1c3d1fea664c50770f85c1c9c1c88419a67", kill_on_drop: false }` [INFO] [stdout] 40ee2ae7c2f01f1c60e4832daa05d1c3d1fea664c50770f85c1c9c1c88419a67