[INFO] fetching crate metrics-sqlite 0.2.3... [INFO] checking metrics-sqlite-0.2.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate metrics-sqlite 0.2.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate metrics-sqlite 0.2.3 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 crates.io crate metrics-sqlite 0.2.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate metrics-sqlite 0.2.3 [INFO] tweaked toml for crates.io crate metrics-sqlite 0.2.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate metrics-sqlite 0.2.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] ebe72cf5af2bd22ef6e7a8c02eb091b47fa9e4ca46f9485ebec25c167b1e0c67 [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" "ebe72cf5af2bd22ef6e7a8c02eb091b47fa9e4ca46f9485ebec25c167b1e0c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe72cf5af2bd22ef6e7a8c02eb091b47fa9e4ca46f9485ebec25c167b1e0c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe72cf5af2bd22ef6e7a8c02eb091b47fa9e4ca46f9485ebec25c167b1e0c67", kill_on_drop: false }` [INFO] [stdout] ebe72cf5af2bd22ef6e7a8c02eb091b47fa9e4ca46f9485ebec25c167b1e0c67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 9fc8234013d4bc2512ad0d65bdd7f002cded5075879899ede67588a203093a66 [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" "9fc8234013d4bc2512ad0d65bdd7f002cded5075879899ede67588a203093a66", 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.6 (as host dependency): 32-column-tables, default, libsqlite3-sys, sqlite, with-deprecated [INFO] [stderr] log v0.4.14: std [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 unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling metrics v0.14.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling metrics-macros v0.2.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling diesel v1.4.6 [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 metrics-sqlite v0.2.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/info.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/simple.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling diesel v1.4.6 [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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6", 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" "9fc8234013d4bc2512ad0d65bdd7f002cded5075879899ede67588a203093a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc8234013d4bc2512ad0d65bdd7f002cded5075879899ede67588a203093a66", kill_on_drop: false }` [INFO] [stdout] 9fc8234013d4bc2512ad0d65bdd7f002cded5075879899ede67588a203093a66