[INFO] fetching crate pg-migrator 0.2.1... [INFO] building pg-migrator-0.2.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate pg-migrator 0.2.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pg-migrator 0.2.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cedd2ee070d202256dd8d31a2a933d336140cab9684c1cc65237ba6eddfc9357 [INFO] running `Command { std: "docker" "start" "-a" "cedd2ee070d202256dd8d31a2a933d336140cab9684c1cc65237ba6eddfc9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cedd2ee070d202256dd8d31a2a933d336140cab9684c1cc65237ba6eddfc9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedd2ee070d202256dd8d31a2a933d336140cab9684c1cc65237ba6eddfc9357", kill_on_drop: false }` [INFO] [stdout] cedd2ee070d202256dd8d31a2a933d336140cab9684c1cc65237ba6eddfc9357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930d3232fd04550973085ee5d27dc61f99f78305b6986f4560bacf5e76d24464 [INFO] running `Command { std: "docker" "start" "-a" "930d3232fd04550973085ee5d27dc61f99f78305b6986f4560bacf5e76d24464", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 6.57s [INFO] running `Command { std: "docker" "inspect" "930d3232fd04550973085ee5d27dc61f99f78305b6986f4560bacf5e76d24464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930d3232fd04550973085ee5d27dc61f99f78305b6986f4560bacf5e76d24464", kill_on_drop: false }` [INFO] [stdout] 930d3232fd04550973085ee5d27dc61f99f78305b6986f4560bacf5e76d24464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc669dd640fb44504e9c904dfa16fcde0a3a27524e65d0706b5e95de8bb2dd71 [INFO] running `Command { std: "docker" "start" "-a" "cc669dd640fb44504e9c904dfa16fcde0a3a27524e65d0706b5e95de8bb2dd71", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "cc669dd640fb44504e9c904dfa16fcde0a3a27524e65d0706b5e95de8bb2dd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc669dd640fb44504e9c904dfa16fcde0a3a27524e65d0706b5e95de8bb2dd71", kill_on_drop: false }` [INFO] [stdout] cc669dd640fb44504e9c904dfa16fcde0a3a27524e65d0706b5e95de8bb2dd71