[INFO] cloning repository https://github.com/leifu1128/rand-archive
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leifu1128/rand-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6143f8f085076d92ca063aa8f41a50bcb47845b1
[INFO] checking leifu1128/rand-archive against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/leifu1128/rand-archive on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/leifu1128/rand-archive
[INFO] finished tweaking git repo https://github.com/leifu1128/rand-archive
[INFO] tweaked toml for git repo https://github.com/leifu1128/rand-archive written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gcp_auth v0.9.0
[INFO] [stderr]   Downloaded gcs-reader v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a10d5a81e7d774366587d4891d6a74128d39fb628d65a43376ca3bc1ffb9cd7
[INFO] running `Command { std: "docker" "start" "-a" "8a10d5a81e7d774366587d4891d6a74128d39fb628d65a43376ca3bc1ffb9cd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a10d5a81e7d774366587d4891d6a74128d39fb628d65a43376ca3bc1ffb9cd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a10d5a81e7d774366587d4891d6a74128d39fb628d65a43376ca3bc1ffb9cd7", kill_on_drop: false }`
[INFO] [stdout] 8a10d5a81e7d774366587d4891d6a74128d39fb628d65a43376ca3bc1ffb9cd7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc45a2a9d5d9b4712ed8dd70e23c4e8bc15062edccbafecfdfa30e80422024bf
[INFO] running `Command { std: "docker" "start" "-a" "cc45a2a9d5d9b4712ed8dd70e23c4e8bc15062edccbafecfdfa30e80422024bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling target-lexicon v0.12.13
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling pyo3-build-config v0.19.2
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling pyo3-ffi v0.19.2
[INFO] [stderr]    Compiling pyo3 v0.19.2
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking unindent v0.1.11
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling pyo3-macros-backend v0.19.2
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking color-eyre v0.6.2
[INFO] [stderr]     Checking tempfile v3.9.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling pyo3-macros v0.19.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking indexmap v2.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking rand_archive v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `dummy_header`
[INFO] [stdout]    --> src/archive.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let dummy_header = dummy_writer.header().clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_header`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn calc_header_size(cls: &PyType, key_size: usize, n_entries: usize) -> usize {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn load(cls: &PyType, path: &str) -> PyResult<Self> {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn calc_header_size(cls: &PyType, key_size: usize, n_entries: usize) -> usize {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn load(cls: &PyType, path: &str) -> PyResult<Self> {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn load(cls: &PyType, path: &str, cache_size: usize) -> Result<Self> {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_type`
[INFO] [stdout]    --> src/python.rs:107:46
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_value`
[INFO] [stdout]    --> src/python.rs:107:64
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_traceback`
[INFO] [stdout]    --> src/python.rs:107:83
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                                                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_traceback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]   --> src/python.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn load(cls: &PyType, path: &str, cache_size: usize) -> Result<Self> {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_type`
[INFO] [stdout]    --> src/python.rs:107:46
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_value`
[INFO] [stdout]    --> src/python.rs:107:64
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exc_traceback`
[INFO] [stdout]    --> src/python.rs:107:83
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> {
[INFO] [stdout]     |                                                                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_traceback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/python.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn __next__(mut slf: PyRefMut<'_, Self>) -> Option<PyObject> {
[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/python.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn __next__(mut slf: PyRefMut<'_, Self>) -> Option<PyObject> {
[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 variable: `inner`
[INFO] [stdout]   --> src/reader/datasource.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Self::Async(inner) => None,
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Async` is never constructed
[INFO] [stdout]   --> src/reader/datasource.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum DataSource {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 48 |     Sync(Rc<RefCell<dyn SyncDataSource>>),
[INFO] [stdout] 49 |     Async(Rc<dyn AsyncDataSource>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataSource` has a derived impl for the trait `Clone`, 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: associated function `new_async` is never used
[INFO] [stdout]   --> src/reader/datasource.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl DataSource {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn new_async<D: AsyncDataSource + 'static>(data_source: D) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]   --> src/reader/datasource.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Self::Async(inner) => None,
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Async` is never constructed
[INFO] [stdout]   --> src/reader/datasource.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum DataSource {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 48 |     Sync(Rc<RefCell<dyn SyncDataSource>>),
[INFO] [stdout] 49 |     Async(Rc<dyn AsyncDataSource>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataSource` has a derived impl for the trait `Clone`, 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: associated function `new_async` is never used
[INFO] [stdout]   --> src/reader/datasource.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl DataSource {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn new_async<D: AsyncDataSource + 'static>(data_source: D) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.60s
[INFO] running `Command { std: "docker" "inspect" "cc45a2a9d5d9b4712ed8dd70e23c4e8bc15062edccbafecfdfa30e80422024bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc45a2a9d5d9b4712ed8dd70e23c4e8bc15062edccbafecfdfa30e80422024bf", kill_on_drop: false }`
[INFO] [stdout] cc45a2a9d5d9b4712ed8dd70e23c4e8bc15062edccbafecfdfa30e80422024bf
