[INFO] cloning repository https://github.com/adryzz/place-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adryzz/place-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fplace-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fplace-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abe78ed9c8ff059942af1ca4fc48c0a687a452a7 [INFO] checking adryzz/place-db against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadryzz%2Fplace-db" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adryzz/place-db on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adryzz/place-db [INFO] finished tweaking git repo https://github.com/adryzz/place-db [INFO] tweaked toml for git repo https://github.com/adryzz/place-db written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adryzz/place-db 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23bd4f1bc51ba622345b4d41be5d9d27f3fa9f8c0412136a136fa1412db693c8 [INFO] running `Command { std: "docker" "start" "-a" "23bd4f1bc51ba622345b4d41be5d9d27f3fa9f8c0412136a136fa1412db693c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23bd4f1bc51ba622345b4d41be5d9d27f3fa9f8c0412136a136fa1412db693c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23bd4f1bc51ba622345b4d41be5d9d27f3fa9f8c0412136a136fa1412db693c8", kill_on_drop: false }` [INFO] [stdout] 23bd4f1bc51ba622345b4d41be5d9d27f3fa9f8c0412136a136fa1412db693c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4995a1bc4b8caca53db936921148127c6ab105f6abffe88f2b2eb09a4eeb4c [INFO] running `Command { std: "docker" "start" "-a" "3f4995a1bc4b8caca53db936921148127c6ab105f6abffe88f2b2eb09a4eeb4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.177 [INFO] [stderr] Compiling serde_derive v1.0.177 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rustls v0.21.5 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling winnow v0.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking rustls-webpki v0.101.2 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking webpki-roots v0.24.0 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling tempfile v3.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling sqlx-core v0.7.1 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.1 [INFO] [stderr] Compiling sqlx-macros v0.7.1 [INFO] [stderr] Checking sqlx v0.7.1 [INFO] [stderr] Checking place-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Instant`, `self` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, BufReader}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | time::{Instant, Duration}, collections::HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant`, `self` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, BufReader}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | time::{Instant, Duration}, collections::HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | components[current] /= (multiplier * 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - components[current] /= (multiplier * 10); [INFO] [stdout] 158 + components[current] /= multiplier * 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | components[current] /= (multiplier * 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - components[current] /= (multiplier * 10); [INFO] [stdout] 158 + components[current] /= multiplier * 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let q = sqlx::query("INSERT INTO pixels (timestamp, id, x, y, x0, x1, color) VALUES ($1, $2, $3, $4, $5, $6, $7)") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let q = sqlx::query("INSERT INTO pixels (timestamp, id, x, y, x0, x1, color) VALUES ($1, $2, $3, $4, $5, $6, $7)") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut chunks = csv_reader.records().chunks(100_000); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut chunks = csv_reader.records().chunks(100_000); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color_id` is never used [INFO] [stdout] --> src/main.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn get_color_id(c: Colors) -> u8 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color_id` is never used [INFO] [stdout] --> src/main.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn get_color_id(c: Colors) -> u8 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.66s [INFO] running `Command { std: "docker" "inspect" "3f4995a1bc4b8caca53db936921148127c6ab105f6abffe88f2b2eb09a4eeb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4995a1bc4b8caca53db936921148127c6ab105f6abffe88f2b2eb09a4eeb4c", kill_on_drop: false }` [INFO] [stdout] 3f4995a1bc4b8caca53db936921148127c6ab105f6abffe88f2b2eb09a4eeb4c