[INFO] fetching crate nanosql 0.10.0... [INFO] checking nanosql-0.10.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate nanosql 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nanosql 0.10.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nanosql 0.10.0 [INFO] tweaked toml for crates.io crate nanosql 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nanosql 0.10.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nanosql 0.10.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b32fa5bc0f25fc09c0b9ce3838439b4aa583dd240cb7d5d980a3c57d9838cce0 [INFO] running `Command { std: "docker" "start" "-a" "b32fa5bc0f25fc09c0b9ce3838439b4aa583dd240cb7d5d980a3c57d9838cce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b32fa5bc0f25fc09c0b9ce3838439b4aa583dd240cb7d5d980a3c57d9838cce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32fa5bc0f25fc09c0b9ce3838439b4aa583dd240cb7d5d980a3c57d9838cce0", kill_on_drop: false }` [INFO] [stdout] b32fa5bc0f25fc09c0b9ce3838439b4aa583dd240cb7d5d980a3c57d9838cce0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecfb091323fcd88bddfaad3ded0d7c26e6979dbbca581510db3e27efce7441af [INFO] running `Command { std: "docker" "start" "-a" "ecfb091323fcd88bddfaad3ded0d7c26e6979dbbca581510db3e27efce7441af", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling compiletest_rs v0.11.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking tester v0.9.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking rusqlite v0.33.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Compiling sqlparser v0.54.0 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Checking rustfix v0.8.7 [INFO] [stderr] Compiling nanosql_macros v0.10.0 [INFO] [stderr] Checking nanosql v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `QueryPlan` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/explain.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | println!("{eqp}"); [INFO] [stdout] | -^^^- [INFO] [stdout] | || [INFO] [stdout] | |`QueryPlan` cannot be formatted with the default formatter [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `QueryPlan` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nanosql` (lib test) due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `nanosql::DateTime`, `nanosql::Utc`, `nanosql::FixedOffset`, `nanosql::Uuid`, `nanosql::JsonValue` [INFO] [stdout] --> tests/external_types.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use nanosql::{DateTime, Utc, FixedOffset, Uuid, JsonValue}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ no `JsonValue` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Uuid` in the root [INFO] [stdout] | | | no `FixedOffset` in the root [INFO] [stdout] | | no `Utc` in the root [INFO] [stdout] | no `DateTime` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "chrono")] [INFO] [stdout] | ------------------ the item is gated behind the `chrono` feature [INFO] [stdout] 35 | pub use chrono::{DateTime, FixedOffset, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "chrono")] [INFO] [stdout] | ------------------ the item is gated behind the `chrono` feature [INFO] [stdout] 35 | pub use chrono::{DateTime, FixedOffset, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "chrono")] [INFO] [stdout] | ------------------ the item is gated behind the `chrono` feature [INFO] [stdout] 35 | pub use chrono::{DateTime, FixedOffset, Utc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "uuid")] [INFO] [stdout] | ---------------- the item is gated behind the `uuid` feature [INFO] [stdout] 38 | pub use uuid::Uuid; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "json")] [INFO] [stdout] | ---------------- the item is gated behind the `json` feature [INFO] [stdout] 41 | pub use serde_json::Value as JsonValue; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `name_id`, `tax_id`, `name`, and `kind` are never read [INFO] [stdout] --> examples/realistic.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Name { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 47 | #[nanosql(pk)] [INFO] [stdout] 48 | name_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | #[nanosql(fk = Taxon::tax_id)] [INFO] [stdout] 50 | tax_id: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | #[nanosql(index)] [INFO] [stdout] 52 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | kind: NameKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Name` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rank`, `parent_id`, and `name_kind` are never read [INFO] [stdout] --> examples/realistic.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct NamedTaxon { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 83 | tax_id: u64, [INFO] [stdout] 84 | rank: Rank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | name_kind: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedTaxon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> tests/external_types.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let json_value: JsonValue = serde_json::from_str(json_str).map_err(Error::other)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> tests/external_types.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | json: serde_json::from_str(r#"[2, 4, 7, -5, 0, 1]"#).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: field `does_not_matter` is never read [INFO] [stdout] --> tests/ignore.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct IgnoredParamFirstNamed<'a> { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 23 | #[nanosql(ignore)] [INFO] [stdout] 24 | does_not_matter: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IgnoredParamFirstNamed` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_junk` is never read [INFO] [stdout] --> tests/ignore.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct IgnoredParamLastNamed { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | trailing_junk: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IgnoredParamLastNamed` 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: fields `ignored_1` and `another_ignored` are never read [INFO] [stdout] --> tests/ignore.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct IgnoredParamManyNamed { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | ignored_1: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | another_ignored: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IgnoredParamManyNamed` 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 `2` is never read [INFO] [stdout] --> tests/ignore.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 53 | struct IgnoredParamManyUnnamed<'p>( [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | #[nanosql(ignore)] Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IgnoredParamManyUnnamed` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - #[nanosql(ignore)] Cow<'static, str>, [INFO] [stdout] 57 + #[nanosql(ignore)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanosql` (test "external_types") due to 3 previous errors [INFO] [stdout] warning: fields `first_ignored`, `payload`, and `second_ignored` are never read [INFO] [stdout] --> tests/ignore.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 391 | struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 392 | #[nanosql(ignore)] [INFO] [stdout] 393 | first_ignored: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 394 | payload: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 395 | #[nanosql(ignore)] [INFO] [stdout] 396 | second_ignored: DoesNotImplementDefaultOrToSqlOrParam, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> tests/ignore.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 405 | struct Test( [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 406 | #[nanosql(ignore)] DoesNotImplementDefaultOrToSqlOrParam, [INFO] [stdout] 407 | Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 408 | #[nanosql(ignore)] Cow<'static, [u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> tests/ignore.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 417 | struct Test<'lt> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 418 | #[nanosql(ignore)] [INFO] [stdout] 419 | foo: DoesNotImplementDefaultOrToSqlOrParam, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | bar: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_id`, `tax_id`, `name`, and `kind` are never read [INFO] [stdout] --> examples/realistic.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Name { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 47 | #[nanosql(pk)] [INFO] [stdout] 48 | name_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | #[nanosql(fk = Taxon::tax_id)] [INFO] [stdout] 50 | tax_id: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | #[nanosql(index)] [INFO] [stdout] 52 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | kind: NameKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Name` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rank`, `parent_id`, and `name_kind` are never read [INFO] [stdout] --> examples/realistic.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct NamedTaxon { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 83 | tax_id: u64, [INFO] [stdout] 84 | rank: Rank, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | name_kind: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedTaxon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ecfb091323fcd88bddfaad3ded0d7c26e6979dbbca581510db3e27efce7441af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfb091323fcd88bddfaad3ded0d7c26e6979dbbca581510db3e27efce7441af", kill_on_drop: false }` [INFO] [stdout] ecfb091323fcd88bddfaad3ded0d7c26e6979dbbca581510db3e27efce7441af