[INFO] cloning repository https://github.com/TadayoshiOtsuka/rust-ddd-prac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TadayoshiOtsuka/rust-ddd-prac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTadayoshiOtsuka%2Frust-ddd-prac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTadayoshiOtsuka%2Frust-ddd-prac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee8e852d7c10d0de4a919e1756d8ffae69824045 [INFO] checking TadayoshiOtsuka/rust-ddd-prac against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTadayoshiOtsuka%2Frust-ddd-prac" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TadayoshiOtsuka/rust-ddd-prac on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TadayoshiOtsuka/rust-ddd-prac [INFO] finished tweaking git repo https://github.com/TadayoshiOtsuka/rust-ddd-prac [INFO] tweaked toml for git repo https://github.com/TadayoshiOtsuka/rust-ddd-prac written to /workspace/builds/worker-47/source/Cargo.toml [INFO] crate git repo https://github.com/TadayoshiOtsuka/rust-ddd-prac already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43de9ff01d0d31aff510443fb60c75f06492d583cf481967783b4dc6b0a031a5 [INFO] running `Command { std: "docker" "start" "-a" "43de9ff01d0d31aff510443fb60c75f06492d583cf481967783b4dc6b0a031a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43de9ff01d0d31aff510443fb60c75f06492d583cf481967783b4dc6b0a031a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43de9ff01d0d31aff510443fb60c75f06492d583cf481967783b4dc6b0a031a5", kill_on_drop: false }` [INFO] [stdout] 43de9ff01d0d31aff510443fb60c75f06492d583cf481967783b4dc6b0a031a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcc0dd586e3fee66101fde00dcccc49f688744a9afb47e511acf0952d246da33 [INFO] running `Command { std: "docker" "start" "-a" "fcc0dd586e3fee66101fde00dcccc49f688744a9afb47e511acf0952d246da33", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] diesel v1.4.7 (as host dependency): 32-column-tables, chrono, default, libsqlite3-sys, sqlite, with-deprecated [INFO] [stderr] [INFO] [stderr] note: This project appears to use both diesel and diesel_migrations. These packages have [INFO] [stderr] a known issue where the build may fail due to the version 2 resolver preventing [INFO] [stderr] feature unification between those two packages. See [INFO] [stderr] for some potential workarounds. [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking ddd_prac v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `User` [INFO] [stdout] --> src/domains/user.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(user1, user2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | User [INFO] [stdout] | User [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `User` [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[E0369]: binary operation `==` cannot be applied to type `User` [INFO] [stdout] --> src/domains/user.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_ne!(user1, user3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | User [INFO] [stdout] | User [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `User` [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/domains/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ddd_prac` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/domains/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fcc0dd586e3fee66101fde00dcccc49f688744a9afb47e511acf0952d246da33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc0dd586e3fee66101fde00dcccc49f688744a9afb47e511acf0952d246da33", kill_on_drop: false }` [INFO] [stdout] fcc0dd586e3fee66101fde00dcccc49f688744a9afb47e511acf0952d246da33