[INFO] fetching crate grizol 0.2.1... [INFO] testing grizol-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate grizol 0.2.1 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grizol 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 355f150cb7d0ed94a167004fe2559c432ccd7e28358b81904347739c5e27e6c1 [INFO] running `Command { std: "docker" "start" "-a" "355f150cb7d0ed94a167004fe2559c432ccd7e28358b81904347739c5e27e6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "355f150cb7d0ed94a167004fe2559c432ccd7e28358b81904347739c5e27e6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355f150cb7d0ed94a167004fe2559c432ccd7e28358b81904347739c5e27e6c1", kill_on_drop: false }` [INFO] [stdout] 355f150cb7d0ed94a167004fe2559c432ccd7e28358b81904347739c5e27e6c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eacfe8ac5e4563478fd131ababc8ae1c4944a7aa183c0e3b5306b02a6c2eb6e [INFO] running `Command { std: "docker" "start" "-a" "8eacfe8ac5e4563478fd131ababc8ae1c4944a7aa183c0e3b5306b02a6c2eb6e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.3 [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 tokio-stream v0.1.14 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling prost-reflect-derive v0.15.1 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.24 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fuser v0.15.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling env_logger v0.11.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling prost-reflect v0.15.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-reflect-build v0.15.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling chrono-timesource v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling grizol v0.2.1 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "8eacfe8ac5e4563478fd131ababc8ae1c4944a7aa183c0e3b5306b02a6c2eb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eacfe8ac5e4563478fd131ababc8ae1c4944a7aa183c0e3b5306b02a6c2eb6e", kill_on_drop: false }` [INFO] [stdout] 8eacfe8ac5e4563478fd131ababc8ae1c4944a7aa183c0e3b5306b02a6c2eb6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d91d8761f852636a33647ce487b6661fd7641eeec8a7faf9515a40eecd071d9b [INFO] running `Command { std: "docker" "start" "-a" "d91d8761f852636a33647ce487b6661fd7641eeec8a7faf9515a40eecd071d9b", kill_on_drop: false }` [INFO] [stderr] Compiling grizol v0.2.1 (/opt/rustwide/workdir) [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "d91d8761f852636a33647ce487b6661fd7641eeec8a7faf9515a40eecd071d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d91d8761f852636a33647ce487b6661fd7641eeec8a7faf9515a40eecd071d9b", kill_on_drop: false }` [INFO] [stdout] d91d8761f852636a33647ce487b6661fd7641eeec8a7faf9515a40eecd071d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b9aa446e8cc4f3c807af60c626e6b167c0d1f8923fc1de50fb0c98eb2678cfa [INFO] running `Command { std: "docker" "start" "-a" "2b9aa446e8cc4f3c807af60c626e6b167c0d1f8923fc1de50fb0c98eb2678cfa", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test core::bep_data_parser::test::parse_incoming_data_hello_multiple_blocks_succeeds ... ok [INFO] [stdout] test core::bep_data_parser::test::parse_incoming_data_hello_single_block_succeeds ... ok [INFO] [stdout] test core::bep_data_parser::test::parseincomingdata_clustersingleblock_succeeds ... ok [INFO] [stdout] test core::bep_state::test::new_file_path_w_ext_adds_suffix ... ok [INFO] [stdout] test core::bep_state::test::new_file_path_w_ext_wo_parent_adds_suffix ... ok [INFO] [stdout] test core::bep_state::test::new_file_path_w_parent_adds_suffix ... ok [INFO] [stdout] test core::bep_state::test::new_file_path_wo_parent_adds_suffix ... ok [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/file_writer.rs:246:28 [INFO] [stderr] | [INFO] [stderr] 246 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/file_writer.rs:247:9 [INFO] [stderr] | [INFO] [stderr] 247 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/file_writer.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grizol` [INFO] [stderr] --> src/storage.rs:591:9 [INFO] [stderr] | [INFO] [stderr] 591 | use crate::grizol; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::storage::StorageManager` [INFO] [stderr] --> src/storage.rs:592:9 [INFO] [stderr] | [INFO] [stderr] 592 | use crate::storage::StorageManager; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::syncthing::Request` [INFO] [stderr] --> src/storage.rs:593:9 [INFO] [stderr] | [INFO] [stderr] 593 | use crate::syncthing::Request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::GrizolConfig` [INFO] [stderr] --> src/storage.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 594 | use crate::GrizolConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_writer.rs:258:13 [INFO] [stderr] | [INFO] [stderr] 258 | let mut file_writer: FileWriter = [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_writer.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | let mut file_writer: FileWriter = [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_writer.rs:300:17 [INFO] [stderr] | [INFO] [stderr] 300 | let mut tmp = fw.clone(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `trusted_peers` is never read [INFO] [stderr] --> src/core.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct GrizolConfig { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | pub trusted_peers: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GrizolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_chunk__valid_input__succeeds` should have a snake case name [INFO] [stderr] --> src/file_writer.rs:254:14 [INFO] [stderr] | [INFO] [stderr] 254 | async fn write_chunk__valid_input__succeeds() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_chunk_valid_input_succeeds` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_chunk__valid_input_parallel__succeeds` should have a snake case name [INFO] [stderr] --> src/file_writer.rs:285:14 [INFO] [stderr] | [INFO] [stderr] 285 | async fn write_chunk__valid_input_parallel__succeeds() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_chunk_valid_input_parallel_succeeds` [INFO] [stderr] [INFO] [stderr] warning: `grizol` (bin "grizol" test) generated 13 warnings (run `cargo fix --bin "grizol" --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/grizol-6a8576ce783e008d) [INFO] [stdout] test file_writer::test::write_chunk__valid_input_parallel__succeeds ... ok [INFO] [stdout] test file_writer::test::write_chunk__valid_input__succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b9aa446e8cc4f3c807af60c626e6b167c0d1f8923fc1de50fb0c98eb2678cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b9aa446e8cc4f3c807af60c626e6b167c0d1f8923fc1de50fb0c98eb2678cfa", kill_on_drop: false }` [INFO] [stdout] 2b9aa446e8cc4f3c807af60c626e6b167c0d1f8923fc1de50fb0c98eb2678cfa