[INFO] fetching crate declare_schema 0.0.13... [INFO] checking declare_schema-0.0.13 against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] extracting crate declare_schema 0.0.13 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate declare_schema 0.0.13 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate declare_schema 0.0.13 [INFO] tweaked toml for crates.io crate declare_schema 0.0.13 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate declare_schema 0.0.13 on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate declare_schema 0.0.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5b73cbbefd41ff5972f8b895d39c1059cae83892249064bb24c4adb977d40a [INFO] running `Command { std: "docker" "start" "-a" "7e5b73cbbefd41ff5972f8b895d39c1059cae83892249064bb24c4adb977d40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5b73cbbefd41ff5972f8b895d39c1059cae83892249064bb24c4adb977d40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5b73cbbefd41ff5972f8b895d39c1059cae83892249064bb24c4adb977d40a", kill_on_drop: false }` [INFO] [stdout] 7e5b73cbbefd41ff5972f8b895d39c1059cae83892249064bb24c4adb977d40a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee558d7feb8d966a6044cd71e547ccb5f822af703a643a379178e665fe6e891c [INFO] running `Command { std: "docker" "start" "-a" "ee558d7feb8d966a6044cd71e547ccb5f822af703a643a379178e665fe6e891c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking winnow v1.0.1 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Checking toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking sqlparser v0.61.0 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking declare_schema v0.0.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sqlparser::ast::helpers::stmt_create_table::CreateTableBuilder` [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlparser::ast::helpers::stmt_create_table::CreateTableBuilder; [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 imports: `ColumnDef`, `Ident`, and `ObjectName` [INFO] [stdout] --> src/schema.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlparser::ast::{ColumnDef, Ident, ObjectName, Statement}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `sqlparser::tokenizer::TokenWithLocation`: please use `TokenWithSpan` instead [INFO] [stdout] --> src/altertable.rs:868:19 [INFO] [stdout] | [INFO] [stdout] 868 | AttachedToken(TokenWithLocation::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `sqlparser::tokenizer::TokenWithLocation`: please use `TokenWithSpan` instead [INFO] [stdout] --> src/altertable.rs:867:55 [INFO] [stdout] | [INFO] [stdout] 867 | use sqlparser::tokenizer::{Location, Span, Token, TokenWithLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlparser::ast::helpers::stmt_create_table::CreateTableBuilder` [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlparser::ast::helpers::stmt_create_table::CreateTableBuilder; [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 imports: `ColumnDef`, `Ident`, and `ObjectName` [INFO] [stdout] --> src/schema.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlparser::ast::{ColumnDef, Ident, ObjectName, Statement}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `sqlparser::tokenizer::TokenWithLocation`: please use `TokenWithSpan` instead [INFO] [stdout] --> src/altertable.rs:868:19 [INFO] [stdout] | [INFO] [stdout] 868 | AttachedToken(TokenWithLocation::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `sqlparser::tokenizer::TokenWithLocation`: please use `TokenWithSpan` instead [INFO] [stdout] --> src/altertable.rs:867:55 [INFO] [stdout] | [INFO] [stdout] 867 | use sqlparser::tokenizer::{Location, Span, Token, TokenWithLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/source_postgres.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | schema: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schemaname`, `tablename`, and `indexname` are never read [INFO] [stdout] --> src/source_postgres.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct PGIndex { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | schemaname: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | tablename: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | indexname: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PGIndex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_schema` is never read [INFO] [stdout] --> src/source_postgres.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct PGTable { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 118 | table_schema: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_schema`, `table_name`, and `ordinal_position` are never read [INFO] [stdout] --> src/source_postgres.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct PGTableColumn { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 123 | table_schema: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | table_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 125 | column_name: Option, [INFO] [stdout] 126 | ordinal_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PGTableColumn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> src/source_postgres.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | schema: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_wrapped` is never used [INFO] [stdout] --> src/altertable.rs:1366:8 [INFO] [stdout] | [INFO] [stdout] 1366 | fn str_to_wrapped(s: &str) -> Wrapped { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_statement` is never used [INFO] [stdout] --> src/altertable.rs:1378:8 [INFO] [stdout] | [INFO] [stdout] 1378 | fn str_to_statement(s: &str) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schemaname`, `tablename`, and `indexname` are never read [INFO] [stdout] --> src/source_postgres.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct PGIndex { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | schemaname: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | tablename: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | indexname: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PGIndex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_schema` is never read [INFO] [stdout] --> src/source_postgres.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct PGTable { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 118 | table_schema: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_schema`, `table_name`, and `ordinal_position` are never read [INFO] [stdout] --> src/source_postgres.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct PGTableColumn { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 123 | table_schema: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | table_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 125 | column_name: Option, [INFO] [stdout] 126 | ordinal_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PGTableColumn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.26s [INFO] running `Command { std: "docker" "inspect" "ee558d7feb8d966a6044cd71e547ccb5f822af703a643a379178e665fe6e891c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee558d7feb8d966a6044cd71e547ccb5f822af703a643a379178e665fe6e891c", kill_on_drop: false }` [INFO] [stdout] ee558d7feb8d966a6044cd71e547ccb5f822af703a643a379178e665fe6e891c