[INFO] cloning repository https://github.com/Muktarsadiq/Rust_sqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Muktarsadiq/Rust_sqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuktarsadiq%2FRust_sqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuktarsadiq%2FRust_sqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43c98d1e14bce64796b1df46d897abc394e10366 [INFO] linting Muktarsadiq/Rust_sqlite against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuktarsadiq%2FRust_sqlite" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 66% (1223/1827) Updating files: 67% (1225/1827) Updating files: 68% (1243/1827) Updating files: 69% (1261/1827) Updating files: 70% (1279/1827) Updating files: 71% (1298/1827) Updating files: 72% (1316/1827) Updating files: 73% (1334/1827) Updating files: 73% (1346/1827) Updating files: 74% (1352/1827) Updating files: 75% (1371/1827) Updating files: 76% (1389/1827) Updating files: 77% (1407/1827) Updating files: 78% (1426/1827) Updating files: 79% (1444/1827) Updating files: 80% (1462/1827) Updating files: 81% (1480/1827) Updating files: 82% (1499/1827) Updating files: 83% (1517/1827) Updating files: 84% (1535/1827) Updating files: 85% (1553/1827) Updating files: 86% (1572/1827) Updating files: 87% (1590/1827) Updating files: 88% (1608/1827) Updating files: 89% (1627/1827) Updating files: 90% (1645/1827) Updating files: 91% (1663/1827) Updating files: 92% (1681/1827) Updating files: 93% (1700/1827) Updating files: 94% (1718/1827) Updating files: 95% (1736/1827) Updating files: 96% (1754/1827) Updating files: 97% (1773/1827) Updating files: 98% (1791/1827) Updating files: 99% (1809/1827) Updating files: 100% (1827/1827) Updating files: 100% (1827/1827), done. [INFO] started tweaking git repo https://github.com/Muktarsadiq/Rust_sqlite [INFO] finished tweaking git repo https://github.com/Muktarsadiq/Rust_sqlite [INFO] tweaked toml for git repo https://github.com/Muktarsadiq/Rust_sqlite written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Muktarsadiq/Rust_sqlite on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Muktarsadiq/Rust_sqlite 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" "+nightly" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00166b5be6d44b0789a567f014c70c8358076ce982b467f33d786b231a6e210f [INFO] running `Command { std: "docker" "start" "-a" "00166b5be6d44b0789a567f014c70c8358076ce982b467f33d786b231a6e210f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00166b5be6d44b0789a567f014c70c8358076ce982b467f33d786b231a6e210f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00166b5be6d44b0789a567f014c70c8358076ce982b467f33d786b231a6e210f", kill_on_drop: false }` [INFO] [stdout] 00166b5be6d44b0789a567f014c70c8358076ce982b467f33d786b231a6e210f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd130054e45acfefe97c8af29528ab941951b63ceb608e9eacf0028b25b72692 [INFO] running `Command { std: "docker" "start" "-a" "fd130054e45acfefe97c8af29528ab941951b63ceb608e9eacf0028b25b72692", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking rust_sqlite v0.36.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | return result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 30 - return result; [INFO] [stdout] 30 + result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = SqlitePool::connect(&db_url).await?; [INFO] [stdout] | ^^^^^^^ help: change this to: `db_url` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query(&qry).execute(&pool).await; [INFO] [stdout] | ^^^^ help: change this to: `qry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let result = sqlx::query(&qry).bind("testing").execute(&instances).await; [INFO] [stdout] | ^^^^ help: change this to: `qry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | return result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 30 - return result; [INFO] [stdout] 30 + result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | let pool = SqlitePool::connect(&db_url).await?; [INFO] [stdout] | ^^^^^^^ help: change this to: `db_url` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query(&qry).execute(&pool).await; [INFO] [stdout] | ^^^^ help: change this to: `qry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let result = sqlx::query(&qry).bind("testing").execute(&instances).await; [INFO] [stdout] | ^^^^ help: change this to: `qry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "fd130054e45acfefe97c8af29528ab941951b63ceb608e9eacf0028b25b72692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd130054e45acfefe97c8af29528ab941951b63ceb608e9eacf0028b25b72692", kill_on_drop: false }` [INFO] [stdout] fd130054e45acfefe97c8af29528ab941951b63ceb608e9eacf0028b25b72692