[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-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-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 smallvec v1.13.1
[INFO] [stderr]   Downloaded redox_users v0.4.4
[INFO] [stderr]   Downloaded pyo3-macros v0.19.2
[INFO] [stderr]   Downloaded num-conv v0.1.0
[INFO] [stderr]   Downloaded libredox v0.0.1
[INFO] [stderr]   Downloaded indenter v0.3.3
[INFO] [stderr]   Downloaded sync_wrapper v0.1.2
[INFO] [stderr]   Downloaded system-configuration v0.5.1
[INFO] [stderr]   Downloaded time-core v0.1.2
[INFO] [stderr]   Downloaded system-configuration-sys v0.5.0
[INFO] [stderr]   Downloaded dirs-next v2.0.0
[INFO] [stderr]   Downloaded http-body v0.4.6
[INFO] [stderr]   Downloaded pyo3-build-config v0.19.2
[INFO] [stderr]   Downloaded powerfmt v0.2.0
[INFO] [stderr]   Downloaded eyre v0.6.12
[INFO] [stderr]   Downloaded reqwest v0.11.24
[INFO] [stderr]   Downloaded pyo3 v0.19.2
[INFO] [stderr]   Downloaded h2 v0.3.24
[INFO] [stderr]   Downloaded hyper v0.14.28
[INFO] [stderr]   Downloaded color-spantrace v0.2.1
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.18
[INFO] [stderr]   Downloaded openssl-src v300.2.2+3.2.1
[INFO] [stderr]   Downloaded gcs-reader v0.1.5
[INFO] [stderr]   Downloaded color-eyre v0.6.2
[INFO] [stderr]   Downloaded tokio-util v0.7.10
[INFO] [stderr]   Downloaded pyo3-ffi v0.19.2
[INFO] [stderr]   Downloaded mio v0.8.10
[INFO] [stderr]   Downloaded futures v0.3.30
[INFO] [stderr]   Downloaded sharded-slab v0.1.7
[INFO] [stderr]   Downloaded socket2 v0.5.5
[INFO] [stderr]   Downloaded hyper-rustls v0.24.2
[INFO] [stderr]   Downloaded bincode v1.3.3
[INFO] [stderr]   Downloaded owo-colors v3.5.0
[INFO] [stderr]   Downloaded target-lexicon v0.12.13
[INFO] [stderr]   Downloaded gcp_auth v0.9.0
[INFO] [stderr]   Downloaded deranged v0.3.11
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.4
[INFO] [stderr]   Downloaded winreg v0.50.0
[INFO] [stderr]   Downloaded thread_local v1.1.7
[INFO] [stderr]   Downloaded tokio-rustls v0.24.1
[INFO] [stderr]   Downloaded time-macros v0.2.17
[INFO] [stderr]   Downloaded tokio-native-tls v0.3.1
[INFO] [stderr]   Downloaded tracing-error v0.2.0
[INFO] [stderr]   Downloaded dirs-sys-next v0.1.2
[INFO] [stderr]   Downloaded httpdate v1.0.3
[INFO] [stderr]   Downloaded rustls-native-certs v0.6.3
[INFO] [stderr]   Downloaded time v0.3.32
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.19.2
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7be1185ad18eb6c7c7b14c2b0c086993d369ee28bd6b81a957971a1ca4bfb4c3
[INFO] running `Command { std: "docker" "start" "-a" "7be1185ad18eb6c7c7b14c2b0c086993d369ee28bd6b81a957971a1ca4bfb4c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7be1185ad18eb6c7c7b14c2b0c086993d369ee28bd6b81a957971a1ca4bfb4c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7be1185ad18eb6c7c7b14c2b0c086993d369ee28bd6b81a957971a1ca4bfb4c3", kill_on_drop: false }`
[INFO] [stdout] 7be1185ad18eb6c7c7b14c2b0c086993d369ee28bd6b81a957971a1ca4bfb4c3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbf13635f58051f050fc43a4fe6103bc4be0f36d76dd966c88053be95c838f3a
[INFO] running `Command { std: "docker" "start" "-a" "bbf13635f58051f050fc43a4fe6103bc4be0f36d76dd966c88053be95c838f3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[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]    Compiling slab v0.4.9
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling pyo3-build-config v0.19.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling pyo3-ffi v0.19.2
[INFO] [stderr]    Compiling pyo3 v0.19.2
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling pyo3-macros-backend v0.19.2
[INFO] [stderr]     Checking color-eyre v0.6.2
[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 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: `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: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: 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: `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: `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: 10 warnings emitted
[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: 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: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 54.28s
[INFO] running `Command { std: "docker" "inspect" "bbf13635f58051f050fc43a4fe6103bc4be0f36d76dd966c88053be95c838f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbf13635f58051f050fc43a4fe6103bc4be0f36d76dd966c88053be95c838f3a", kill_on_drop: false }`
[INFO] [stdout] bbf13635f58051f050fc43a4fe6103bc4be0f36d76dd966c88053be95c838f3a
[INFO] checking leifu1128/rand-archive against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/leifu1128/rand-archive on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b7d90de6e571050754372ef1cc0a3b4837280ac0d8eaee324036933d8496652
[INFO] running `Command { std: "docker" "start" "-a" "1b7d90de6e571050754372ef1cc0a3b4837280ac0d8eaee324036933d8496652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b7d90de6e571050754372ef1cc0a3b4837280ac0d8eaee324036933d8496652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b7d90de6e571050754372ef1cc0a3b4837280ac0d8eaee324036933d8496652", kill_on_drop: false }`
[INFO] [stdout] 1b7d90de6e571050754372ef1cc0a3b4837280ac0d8eaee324036933d8496652
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63ccf756db9a74fa070208063232088953ecff2870701e5603a50c311816e1f3
[INFO] running `Command { std: "docker" "start" "-a" "63ccf756db9a74fa070208063232088953ecff2870701e5603a50c311816e1f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[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]    Compiling slab v0.4.9
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling pyo3-build-config v0.19.2
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling pyo3-ffi v0.19.2
[INFO] [stderr]    Compiling pyo3 v0.19.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.19.2
[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: `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: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: 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/python.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[pymethods]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/python.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | #[pymethods]
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rand_archive` (lib) due to 3 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 
[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: 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/python.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[pymethods]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/python.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | #[pymethods]
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rand_archive` (lib test) due to 3 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "63ccf756db9a74fa070208063232088953ecff2870701e5603a50c311816e1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63ccf756db9a74fa070208063232088953ecff2870701e5603a50c311816e1f3", kill_on_drop: false }`
[INFO] [stdout] 63ccf756db9a74fa070208063232088953ecff2870701e5603a50c311816e1f3
