[INFO] cloning repository https://github.com/marcosdanielr/db-ffi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcosdanielr/db-ffi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosdanielr%2Fdb-ffi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosdanielr%2Fdb-ffi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b61d1ad62c5b9ebd278336a231b6749f826ddba [INFO] checking marcosdanielr/db-ffi-rs against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosdanielr%2Fdb-ffi-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcosdanielr/db-ffi-rs [INFO] finished tweaking git repo https://github.com/marcosdanielr/db-ffi-rs [INFO] tweaked toml for git repo https://github.com/marcosdanielr/db-ffi-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcosdanielr/db-ffi-rs on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcosdanielr/db-ffi-rs 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" "+4b596bbd847672da87763b76171687d3544863c2" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 851fdef3125a974b4d2ea1787c435989e10f88babaece4c36d137c01a0db9b12 [INFO] running `Command { std: "docker" "start" "-a" "851fdef3125a974b4d2ea1787c435989e10f88babaece4c36d137c01a0db9b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "851fdef3125a974b4d2ea1787c435989e10f88babaece4c36d137c01a0db9b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851fdef3125a974b4d2ea1787c435989e10f88babaece4c36d137c01a0db9b12", kill_on_drop: false }` [INFO] [stdout] 851fdef3125a974b4d2ea1787c435989e10f88babaece4c36d137c01a0db9b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0afec89152701c25f5d62113c0bfa9cd48f6f52e893062d75bdb3e564e523536 [INFO] running `Command { std: "docker" "start" "-a" "0afec89152701c25f5d62113c0bfa9cd48f6f52e893062d75bdb3e564e523536", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking postgres v0.19.10 [INFO] [stderr] Checking db-ffi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `DbError` is never used [INFO] [stdout] --> src/common/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DbError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DbConnection` is never used [INFO] [stdout] --> src/contracts/connection.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait DbConnection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresConnection` is never constructed [INFO] [stdout] --> src/modules/pgsql/connection.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PostgresConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `QueryFailed` and `UnexpectedError` are never constructed [INFO] [stdout] --> src/common/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | ConnectionFailed(String), [INFO] [stdout] 6 | QueryFailed(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | UnexpectedError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/contracts/connection.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait DbConnection { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn close(&self) -> Result<(), DbError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.47s [INFO] running `Command { std: "docker" "inspect" "0afec89152701c25f5d62113c0bfa9cd48f6f52e893062d75bdb3e564e523536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0afec89152701c25f5d62113c0bfa9cd48f6f52e893062d75bdb3e564e523536", kill_on_drop: false }` [INFO] [stdout] 0afec89152701c25f5d62113c0bfa9cd48f6f52e893062d75bdb3e564e523536