[INFO] fetching crate r2d2-diesel 1.0.0... [INFO] checking r2d2-diesel-1.0.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate r2d2-diesel 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate r2d2-diesel 1.0.0 [INFO] finished tweaking crates.io crate r2d2-diesel 1.0.0 [INFO] tweaked toml for crates.io crate r2d2-diesel 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate r2d2-diesel 1.0.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02b05ac688401adc97cb34615368f1a50f1033e0459fc08b67e0ab57b2853a53 [INFO] running `Command { std: "docker" "start" "-a" "02b05ac688401adc97cb34615368f1a50f1033e0459fc08b67e0ab57b2853a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02b05ac688401adc97cb34615368f1a50f1033e0459fc08b67e0ab57b2853a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b05ac688401adc97cb34615368f1a50f1033e0459fc08b67e0ab57b2853a53", kill_on_drop: false }` [INFO] [stdout] 02b05ac688401adc97cb34615368f1a50f1033e0459fc08b67e0ab57b2853a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ae40d1e3fc721d50968abaa860e13aae7b252444a4768e7c4401fb1a1b57d74 [INFO] running `Command { std: "docker" "start" "-a" "1ae40d1e3fc721d50968abaa860e13aae7b252444a4768e7c4401fb1a1b57d74", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking r2d2-diesel v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | Error::ConnectionError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | Error::QueryError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | Error::ConnectionError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | Error::QueryError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diesel::sqlite` [INFO] [stdout] --> examples/sqlite.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `diesel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `sqlite` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diesel::pg` [INFO] [stdout] --> examples/postgres.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^ could not find `pg` in `diesel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub mod pg; [INFO] [stdout] | ^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r2d2-diesel` (example "sqlite") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `r2d2-diesel` (example "postgres") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `diesel::PgConnection`, `diesel::SqliteConnection` [INFO] [stdout] --> tests/test.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::{PgConnection, SqliteConnection}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `SqliteConnection` in the root [INFO] [stdout] | | [INFO] [stdout] | no `PgConnection` in the root [INFO] [stdout] | help: a similar name exists in the module: `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r2d2-diesel` (test "test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1ae40d1e3fc721d50968abaa860e13aae7b252444a4768e7c4401fb1a1b57d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae40d1e3fc721d50968abaa860e13aae7b252444a4768e7c4401fb1a1b57d74", kill_on_drop: false }` [INFO] [stdout] 1ae40d1e3fc721d50968abaa860e13aae7b252444a4768e7c4401fb1a1b57d74