[INFO] cloning repository https://github.com/renjinyang-leo/pgsql-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renjinyang-leo/pgsql-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjinyang-leo%2Fpgsql-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjinyang-leo%2Fpgsql-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf3de19c249cd785bb5b6d5ae013cd1a83213baf [INFO] checking renjinyang-leo/pgsql-sdk against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjinyang-leo%2Fpgsql-sdk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renjinyang-leo/pgsql-sdk on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/renjinyang-leo/pgsql-sdk [INFO] finished tweaking git repo https://github.com/renjinyang-leo/pgsql-sdk [INFO] tweaked toml for git repo https://github.com/renjinyang-leo/pgsql-sdk written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/renjinyang-leo/pgsql-sdk 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] [stderr] Downloaded pg_parse v0.11.0 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 975cbdcdbf849fd8851e7693120798b88ae0903e40652137b97bf052aa509598 [INFO] running `Command { std: "docker" "start" "-a" "975cbdcdbf849fd8851e7693120798b88ae0903e40652137b97bf052aa509598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "975cbdcdbf849fd8851e7693120798b88ae0903e40652137b97bf052aa509598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975cbdcdbf849fd8851e7693120798b88ae0903e40652137b97bf052aa509598", kill_on_drop: false }` [INFO] [stdout] 975cbdcdbf849fd8851e7693120798b88ae0903e40652137b97bf052aa509598 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dd7e4fe1f39f06e1f18dfec9f2f62f7ca96959cc2c2f4bf49aa74e070d63858 [INFO] running `Command { std: "docker" "start" "-a" "1dd7e4fe1f39f06e1f18dfec9f2f62f7ca96959cc2c2f4bf49aa74e070d63858", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.8 [INFO] [stderr] Checking tokio-postgres v0.7.12 [INFO] [stderr] Checking postgres v0.19.9 [INFO] [stderr] Compiling pg_parse v0.11.0 [INFO] [stderr] Checking pgsql-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/rewrite/select_stmt.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | Node::SelectStmt(ref stmt) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_column_involve_encrypted_index` is never used [INFO] [stdout] --> src/rewrite/select_stmt.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn check_column_involve_encrypted_index(table_meta: Arc, col_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | match unsafe { TABLE_MATES.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let conn_info = unsafe { CONN_INFO.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | match unsafe { TABLE_MATES.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/rewrite/select_stmt.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | Node::SelectStmt(ref stmt) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_column_involve_encrypted_index` is never used [INFO] [stdout] --> src/rewrite/select_stmt.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn check_column_involve_encrypted_index(table_meta: Arc, col_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | match unsafe { TABLE_MATES.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let conn_info = unsafe { CONN_INFO.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/metadata.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | match unsafe { TABLE_MATES.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s [INFO] running `Command { std: "docker" "inspect" "1dd7e4fe1f39f06e1f18dfec9f2f62f7ca96959cc2c2f4bf49aa74e070d63858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dd7e4fe1f39f06e1f18dfec9f2f62f7ca96959cc2c2f4bf49aa74e070d63858", kill_on_drop: false }` [INFO] [stdout] 1dd7e4fe1f39f06e1f18dfec9f2f62f7ca96959cc2c2f4bf49aa74e070d63858