[INFO] cloning repository https://github.com/michalfita/todo-unchained [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michalfita/todo-unchained" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalfita%2Ftodo-unchained", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalfita%2Ftodo-unchained'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ca108bbb5a315a10313c2be596e2f52d0cf96b1 [INFO] checking michalfita/todo-unchained against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichalfita%2Ftodo-unchained" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michalfita/todo-unchained 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/michalfita/todo-unchained [INFO] finished tweaking git repo https://github.com/michalfita/todo-unchained [INFO] tweaked toml for git repo https://github.com/michalfita/todo-unchained written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/michalfita/todo-unchained 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] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] ca811d86e622d158da8ca2c02d024aec5568847db61b826886c97b9f6c63780f [INFO] running `Command { std: "docker" "start" "-a" "ca811d86e622d158da8ca2c02d024aec5568847db61b826886c97b9f6c63780f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca811d86e622d158da8ca2c02d024aec5568847db61b826886c97b9f6c63780f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca811d86e622d158da8ca2c02d024aec5568847db61b826886c97b9f6c63780f", kill_on_drop: false }` [INFO] [stdout] ca811d86e622d158da8ca2c02d024aec5568847db61b826886c97b9f6c63780f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 018fc9100f86951fb115007240dce1f1d529c3e9848a5b4e16ab6eaf8c0b6171 [INFO] running `Command { std: "docker" "start" "-a" "018fc9100f86951fb115007240dce1f1d529c3e9848a5b4e16ab6eaf8c0b6171", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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, chrono, default, libsqlite3-sys, sqlite, uuidv07, 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.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking 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 todo-unchained v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: function is never used: `establish_connection` [INFO] [stdout] --> src/db.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn establish_connection() -> SqliteConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.58s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] note: This error may be due to an interaction between diesel and Cargo's new [INFO] [stderr] feature resolver. Some workarounds you may want to consider: [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 = ["chrono", "sqlite", "uuidv07"] } [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" "018fc9100f86951fb115007240dce1f1d529c3e9848a5b4e16ab6eaf8c0b6171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018fc9100f86951fb115007240dce1f1d529c3e9848a5b4e16ab6eaf8c0b6171", kill_on_drop: false }` [INFO] [stdout] 018fc9100f86951fb115007240dce1f1d529c3e9848a5b4e16ab6eaf8c0b6171