[INFO] fetching crate sqlint 0.2.2... [INFO] checking sqlint-0.2.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate sqlint 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate sqlint 0.2.2 [INFO] finished tweaking crates.io crate sqlint 0.2.2 [INFO] tweaked toml for crates.io crate sqlint 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlint 0.2.2 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] crate crates.io crate sqlint 0.2.2 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] b258fee5f41e938e11dd15063f7c23ef85959758328892b332f91a905dde6519 [INFO] running `Command { std: "docker" "start" "-a" "b258fee5f41e938e11dd15063f7c23ef85959758328892b332f91a905dde6519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b258fee5f41e938e11dd15063f7c23ef85959758328892b332f91a905dde6519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b258fee5f41e938e11dd15063f7c23ef85959758328892b332f91a905dde6519", kill_on_drop: false }` [INFO] [stdout] b258fee5f41e938e11dd15063f7c23ef85959758328892b332f91a905dde6519 [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] 2dc341bfd7502e30bef116571e1266aec02856a4a835f6524772213c69b01a2b [INFO] running `Command { std: "docker" "start" "-a" "2dc341bfd7502e30bef116571e1266aec02856a4a835f6524772213c69b01a2b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking rusqlite v0.25.4 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlint v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_setup` [INFO] [stdout] --> src/tests/test_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use test_setup::Tags; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_setup` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_setup`, use `cargo add test_setup` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_setup` [INFO] [stdout] --> src/tests/test_api/sqlite.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_setup::Tags; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_setup` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_setup`, use `cargo add test_setup` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> src/tests/query/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_macros::test_each_connector; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> src/tests/query.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use test_macros::test_each_connector; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_setup` [INFO] [stdout] --> src/tests/query.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use test_setup::Tags; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_setup` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_setup`, use `cargo add test_setup` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> src/tests/upsert.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_macros::test_each_connector; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` 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 `test_macros` [INFO] [stdout] --> src/tests/types/sqlite.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | #[test_macros::test_each_connector(tags("sqlite"))] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TestApi` in this scope [INFO] [stdout] --> src/tests/types/sqlite.rs:120:62 [INFO] [stdout] | [INFO] [stdout] 120 | async fn test_get_int64_from_int32_field_fails(api: &mut dyn TestApi) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::test_api::TestApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Select` [INFO] [stdout] --> src/tests/types/sqlite.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let select = Select::from_table(&table).column("value").order_by("id".descend()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Select` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::prelude::Select; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::future::Select; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::stream::Select; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_setup` [INFO] [stdout] --> src/tests/test_api/sqlite.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn connector_tag(&self) -> test_setup::Tags { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_setup` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_setup`, use `cargo add test_setup` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Postgres` [INFO] [stdout] --> src/visitor/sqlite.rs:958:29 [INFO] [stdout] | [INFO] [stdout] 958 | let (sql, params) = Postgres::build(query.returning(vec!["foo"])).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlint` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/connector/connection_info.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn username(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn username(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/connector/result_set.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn first(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/connector/result_set.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/connector/result_set/result_row.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn as_ref(&self) -> ResultRowRef { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn as_ref(&self) -> ResultRowRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/connector/sqlite/conversion.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | fn to_sql(&self) -> Result, RusqlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2dc341bfd7502e30bef116571e1266aec02856a4a835f6524772213c69b01a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc341bfd7502e30bef116571e1266aec02856a4a835f6524772213c69b01a2b", kill_on_drop: false }` [INFO] [stdout] 2dc341bfd7502e30bef116571e1266aec02856a4a835f6524772213c69b01a2b