[INFO] fetching crate grizol 0.2.1... [INFO] checking grizol-0.2.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate grizol 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate grizol 0.2.1 [INFO] finished tweaking crates.io crate grizol 0.2.1 [INFO] tweaked toml for crates.io crate grizol 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grizol 0.2.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate grizol 0.2.1 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse-size v1.0.0 [INFO] [stderr] Downloaded prost-reflect-build v0.15.1 [INFO] [stderr] Downloaded chrono-timesource v0.1.0 [INFO] [stderr] Downloaded spki v0.7.2 [INFO] [stderr] Downloaded prost-reflect-derive v0.15.1 [INFO] [stderr] Downloaded logos-derive v0.15.0 [INFO] [stderr] Downloaded const-oid v0.9.5 [INFO] [stderr] Downloaded rsa v0.9.2 [INFO] [stderr] Downloaded fuser v0.15.1 [INFO] [stderr] Downloaded prettyplease v0.2.15 [INFO] [stderr] Downloaded logos-codegen v0.15.0 [INFO] [stderr] Downloaded prost-reflect v0.15.2 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded logos v0.15.0 [INFO] [stderr] Downloaded ring v0.17.3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a967222c1a933879d3e4cf1816302253c8927b16cd2fe9067078c878508bb46 [INFO] running `Command { std: "docker" "start" "-a" "3a967222c1a933879d3e4cf1816302253c8927b16cd2fe9067078c878508bb46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a967222c1a933879d3e4cf1816302253c8927b16cd2fe9067078c878508bb46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a967222c1a933879d3e4cf1816302253c8927b16cd2fe9067078c878508bb46", kill_on_drop: false }` [INFO] [stdout] 3a967222c1a933879d3e4cf1816302253c8927b16cd2fe9067078c878508bb46 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a7959169b9cb59fa4296845b33eb1488d1287804c1630f8b266e77f923546c [INFO] running `Command { std: "docker" "start" "-a" "37a7959169b9cb59fa4296845b33eb1488d1287804c1630f8b266e77f923546c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [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 idna v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling prost-reflect-derive v0.15.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.24 [INFO] [stderr] Compiling fuser v0.15.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling prost-reflect v0.15.2 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking chrono-timesource v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking parse-size v1.0.0 [INFO] [stderr] Compiling prost-reflect-build v0.15.1 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Compiling grizol v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/file_writer.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/file_writer.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/file_writer.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grizol` [INFO] [stdout] --> src/storage.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | use crate::grizol; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::StorageManager` [INFO] [stdout] --> src/storage.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | use crate::storage::StorageManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::syncthing::Request` [INFO] [stdout] --> src/storage.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | use crate::syncthing::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GrizolConfig` [INFO] [stdout] --> src/storage.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | use crate::GrizolConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trusted_peers` is never read [INFO] [stdout] --> src/core.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct GrizolConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub trusted_peers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrizolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_writer.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut file_writer: FileWriter = [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/file_writer.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut file_writer: FileWriter = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_writer.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let mut tmp = fw.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trusted_peers` is never read [INFO] [stdout] --> src/core.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct GrizolConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub trusted_peers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrizolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_chunk__valid_input__succeeds` should have a snake case name [INFO] [stdout] --> src/file_writer.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | async fn write_chunk__valid_input__succeeds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_chunk_valid_input_succeeds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_chunk__valid_input_parallel__succeeds` should have a snake case name [INFO] [stdout] --> src/file_writer.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | async fn write_chunk__valid_input_parallel__succeeds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_chunk_valid_input_parallel_succeeds` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "37a7959169b9cb59fa4296845b33eb1488d1287804c1630f8b266e77f923546c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a7959169b9cb59fa4296845b33eb1488d1287804c1630f8b266e77f923546c", kill_on_drop: false }` [INFO] [stdout] 37a7959169b9cb59fa4296845b33eb1488d1287804c1630f8b266e77f923546c