[INFO] cloning repository https://github.com/gabebw/diesel-refactoring-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabebw/diesel-refactoring-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabebw%2Fdiesel-refactoring-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabebw%2Fdiesel-refactoring-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a808ef79a009877439bb9b8404b1e2c3c23df0c [INFO] checking gabebw/diesel-refactoring-example against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabebw%2Fdiesel-refactoring-example" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabebw/diesel-refactoring-example 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/gabebw/diesel-refactoring-example [INFO] finished tweaking git repo https://github.com/gabebw/diesel-refactoring-example [INFO] tweaked toml for git repo https://github.com/gabebw/diesel-refactoring-example written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/gabebw/diesel-refactoring-example 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] Downloading crates ... [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded diesel v1.4.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded libsqlite3-sys v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] de1edfa536340b04de888bd9c24020566b44d675cffd1efc467920a5748ca0a1 [INFO] running `Command { std: "docker" "start" "-a" "de1edfa536340b04de888bd9c24020566b44d675cffd1efc467920a5748ca0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1edfa536340b04de888bd9c24020566b44d675cffd1efc467920a5748ca0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1edfa536340b04de888bd9c24020566b44d675cffd1efc467920a5748ca0a1", kill_on_drop: false }` [INFO] [stdout] de1edfa536340b04de888bd9c24020566b44d675cffd1efc467920a5748ca0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] f68aeff0a798997844d34cfa005c50742254598c62cb6f5c505e1044ca658b39 [INFO] running `Command { std: "docker" "start" "-a" "f68aeff0a798997844d34cfa005c50742254598c62cb6f5c505e1044ca658b39", 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.5 (as host dependency): 32-column-tables, 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 proc-macro2 v1.0.19 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking diesel-refactoring-example v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.69s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:136:48 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:155:48 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:177:48 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:248:48 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:278:48 [INFO] [stdout] | [INFO] [stdout] 278 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlite` in `diesel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/sql_types/mod.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] note: This error may be due to an interaction between diesel and Cargo's new [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] feature resolver. Some workarounds you may want to consider: [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] - Add a build-dependency in Cargo.toml on diesel to force Cargo to add the appropriate [INFO] [stderr] features. This may look something like this: [INFO] [stderr] [INFO] [stderr] [build-dependencies] [INFO] [stderr] diesel = { version = "1.4.5", features = ["sqlite"] } [INFO] [stderr] [INFO] [stderr] - Try using the previous resolver by setting `resolver = "1"` in `Cargo.toml` [INFO] [stderr] (see [INFO] [stderr] for more information). [INFO] [stderr] [INFO] [stderr] error: could not compile `diesel` due to 13 previous errors [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f68aeff0a798997844d34cfa005c50742254598c62cb6f5c505e1044ca658b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f68aeff0a798997844d34cfa005c50742254598c62cb6f5c505e1044ca658b39", kill_on_drop: false }` [INFO] [stdout] f68aeff0a798997844d34cfa005c50742254598c62cb6f5c505e1044ca658b39