[INFO] cloning repository https://github.com/quickdudley/logtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quickdudley/logtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39f724083851cd0da6e7d6f98d17ab7a2ad3efd5 [INFO] checking quickdudley/logtime against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquickdudley%2Flogtime" "/workspace/builds/worker-89/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-89/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quickdudley/logtime 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/quickdudley/logtime [INFO] finished tweaking git repo https://github.com/quickdudley/logtime [INFO] tweaked toml for git repo https://github.com/quickdudley/logtime written to /workspace/builds/worker-89/source/Cargo.toml [INFO] crate git repo https://github.com/quickdudley/logtime 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-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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] 857fba26978f3d36a28f44fcb6700fee45460d32a4b0762688cb3d7e1845323d [INFO] running `Command { std: "docker" "start" "-a" "857fba26978f3d36a28f44fcb6700fee45460d32a4b0762688cb3d7e1845323d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "857fba26978f3d36a28f44fcb6700fee45460d32a4b0762688cb3d7e1845323d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857fba26978f3d36a28f44fcb6700fee45460d32a4b0762688cb3d7e1845323d", kill_on_drop: false }` [INFO] [stdout] 857fba26978f3d36a28f44fcb6700fee45460d32a4b0762688cb3d7e1845323d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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] 5949380de4f578d4ce9206bd98dc2ecef7b06d86b5c2daa39fe1b9f79d06bce5 [INFO] running `Command { std: "docker" "start" "-a" "5949380de4f578d4ce9206bd98dc2ecef7b06d86b5c2daa39fe1b9f79d06bce5", 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, 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 unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.2 [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 logtime v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/commands/mod.rs (6 fixes) [INFO] [stdout] warning: associated function is never used: `tasks` [INFO] [stdout] --> src/models.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn tasks(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtasks` [INFO] [stdout] --> src/models.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn subtasks(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `active_subtask` [INFO] [stdout] --> src/models.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn active_subtask(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/models.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn current(conn: &SqliteConnection) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dates_to_timestamp_ranges` [INFO] [stdout] --> src/models.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn dates_to_timestamp_ranges>(source: I) -> impl Iterator>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tasks` [INFO] [stdout] --> src/models.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn tasks(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtasks` [INFO] [stdout] --> src/models.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn subtasks(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `active_subtask` [INFO] [stdout] --> src/models.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn active_subtask(&self, conn: &SqliteConnection) -> Result, diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/models.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn current(conn: &SqliteConnection) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dates_to_timestamp_ranges` [INFO] [stdout] --> src/models.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn dates_to_timestamp_ranges>(source: I) -> impl Iterator>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.92s [INFO] [stderr] Running `cargo check` to verify 2021 [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 = ["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" "5949380de4f578d4ce9206bd98dc2ecef7b06d86b5c2daa39fe1b9f79d06bce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5949380de4f578d4ce9206bd98dc2ecef7b06d86b5c2daa39fe1b9f79d06bce5", kill_on_drop: false }` [INFO] [stdout] 5949380de4f578d4ce9206bd98dc2ecef7b06d86b5c2daa39fe1b9f79d06bce5