[INFO] fetching crate pg-migrator 0.2.1... [INFO] checking pg-migrator-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pg-migrator 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pg-migrator 0.2.1 [INFO] finished tweaking crates.io crate pg-migrator 0.2.1 [INFO] tweaked toml for crates.io crate pg-migrator 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pg-migrator 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5d9d39493b4cb40c51f4bed71f93e97ef71a14cd9777de241300984e7c5da0a [INFO] running `Command { std: "docker" "start" "-a" "f5d9d39493b4cb40c51f4bed71f93e97ef71a14cd9777de241300984e7c5da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5d9d39493b4cb40c51f4bed71f93e97ef71a14cd9777de241300984e7c5da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d9d39493b4cb40c51f4bed71f93e97ef71a14cd9777de241300984e7c5da0a", kill_on_drop: false }` [INFO] [stdout] f5d9d39493b4cb40c51f4bed71f93e97ef71a14cd9777de241300984e7c5da0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd82c52ea242c70e67c0a8476dcede0f3a4c8b4f9b4b10765ccf9ce70e583c48 [INFO] running `Command { std: "docker" "start" "-a" "cd82c52ea242c70e67c0a8476dcede0f3a4c8b4f9b4b10765ccf9ce70e583c48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking pg-migrator v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::error::MigrationError` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::MigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/migration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/migration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/migration.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::MigrationError` [INFO] [stdout] --> src/migration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::error::MigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fs::MigrationFile` [INFO] [stdout] --> src/migration.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::fs::MigrationFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `migrations_path` is never read [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PostgresMigrator> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | migrations_path: P, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MigrationError` is never used [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MigrationError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MigrationFile` is never constructed [INFO] [stdout] --> src/fs.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct MigrationFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_migrations` is never used [INFO] [stdout] --> src/fs.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn load_migrations>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_MIGRATIONS_TABLE` is never used [INFO] [stdout] --> src/migration.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const CREATE_MIGRATIONS_TABLE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECT_MIGRATIONS` is never used [INFO] [stdout] --> src/migration.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const SELECT_MIGRATIONS: &str = "SELECT * FROM {{migrations_table}}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_MIGRATION` is never used [INFO] [stdout] --> src/migration.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const INSERT_MIGRATION: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::MigrationError` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::MigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/migration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> src/migration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/migration.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::MigrationError` [INFO] [stdout] --> src/migration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::error::MigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fs::MigrationFile` [INFO] [stdout] --> src/migration.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::fs::MigrationFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `migrations_path` is never read [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PostgresMigrator> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | migrations_path: P, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MigrationError` is never used [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MigrationError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MigrationFile` is never constructed [INFO] [stdout] --> src/fs.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct MigrationFile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_migrations` is never used [INFO] [stdout] --> src/fs.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn load_migrations>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_MIGRATIONS_TABLE` is never used [INFO] [stdout] --> src/migration.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const CREATE_MIGRATIONS_TABLE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECT_MIGRATIONS` is never used [INFO] [stdout] --> src/migration.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const SELECT_MIGRATIONS: &str = "SELECT * FROM {{migrations_table}}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_MIGRATION` is never used [INFO] [stdout] --> src/migration.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const INSERT_MIGRATION: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.48s [INFO] running `Command { std: "docker" "inspect" "cd82c52ea242c70e67c0a8476dcede0f3a4c8b4f9b4b10765ccf9ce70e583c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd82c52ea242c70e67c0a8476dcede0f3a4c8b4f9b4b10765ccf9ce70e583c48", kill_on_drop: false }` [INFO] [stdout] cd82c52ea242c70e67c0a8476dcede0f3a4c8b4f9b4b10765ccf9ce70e583c48