[INFO] cloning repository https://github.com/baasman92/dicom_helper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baasman92/dicom_helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman92%2Fdicom_helper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman92%2Fdicom_helper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db949e8722665d243d94fd908c9fb8d4b62c4314 [INFO] building baasman92/dicom_helper against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman92%2Fdicom_helper" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/baasman92/dicom_helper [INFO] finished tweaking git repo https://github.com/baasman92/dicom_helper [INFO] tweaked toml for git repo https://github.com/baasman92/dicom_helper written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/baasman92/dicom_helper on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/baasman92/dicom_helper 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded pyo3-macros v0.23.3 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.3 [INFO] [stderr] Downloaded jxl-frame v0.10.0 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded jxl-vardct v0.8.0 [INFO] [stderr] Downloaded dicom v0.8.0 [INFO] [stderr] Downloaded dict_derive v0.6.0 [INFO] [stderr] Downloaded async-trait v0.1.84 [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded dicom-json v0.8.0 [INFO] [stderr] Downloaded jpeg-encoder v0.6.0 [INFO] [stderr] Downloaded jxl-modular v0.8.1 [INFO] [stderr] Downloaded dicom-core v0.8.0 [INFO] [stderr] Downloaded redis v0.27.6 [INFO] [stderr] Downloaded indexmap v2.7.0 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.8 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded yaml-rust2 v0.9.0 [INFO] [stderr] Downloaded dicom-dictionary-std v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded jxl-render v0.9.1 [INFO] [stderr] Downloaded winnow v0.6.22 [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded pyo3 v0.23.3 [INFO] [stderr] Downloaded jxl-color v0.8.1 [INFO] [stderr] Downloaded dicom-ul v0.8.0 [INFO] [stderr] Downloaded dicom-dump v0.8.0 [INFO] [stderr] Downloaded dicom-parser v0.8.0 [INFO] [stderr] Downloaded built v0.7.5 [INFO] [stderr] Downloaded dicom-encoding v0.8.0 [INFO] [stderr] Downloaded jxl-image v0.10.0 [INFO] [stderr] Downloaded jxl-coding v0.4.1 [INFO] [stderr] Downloaded jxl-oxide v0.9.1 [INFO] [stderr] Downloaded dicom-transfer-syntax-registry v0.8.0 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded config v0.15.4 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded terminal_size v0.4.1 [INFO] [stderr] Downloaded image-webp v0.2.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.99 [INFO] [stderr] Downloaded safe-transmute v0.11.3 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded dicom-object v0.8.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.99 [INFO] [stderr] Downloaded jxl-threadpool v0.1.1 [INFO] [stderr] Downloaded pyo3-ffi v0.23.3 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded dicom-pixeldata v0.8.0 [INFO] [stderr] Downloaded js-sys v0.3.76 [INFO] [stderr] Downloaded wasm-bindgen v0.2.99 [INFO] [stderr] Downloaded bytes v1.9.0 [INFO] [stderr] Downloaded inventory v0.3.16 [INFO] [stderr] Downloaded jxl-bitstream v0.4.1 [INFO] [stderr] Downloaded jxl-grid v0.5.3 [INFO] [stderr] Downloaded pyo3-build-config v0.23.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 013590d0d682cacfdc9863f9725e377576f95ea16168e3a4a6fef0ce80189c18 [INFO] running `Command { std: "docker" "start" "-a" "013590d0d682cacfdc9863f9725e377576f95ea16168e3a4a6fef0ce80189c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "013590d0d682cacfdc9863f9725e377576f95ea16168e3a4a6fef0ce80189c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013590d0d682cacfdc9863f9725e377576f95ea16168e3a4a6fef0ce80189c18", kill_on_drop: false }` [INFO] [stdout] 013590d0d682cacfdc9863f9725e377576f95ea16168e3a4a6fef0ce80189c18 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6a189ee8fe0252ed2477c835e0a897c191b9fc5e76a3a6a112f45388cff8a4f [INFO] running `Command { std: "docker" "start" "-a" "a6a189ee8fe0252ed2477c835e0a897c191b9fc5e76a3a6a112f45388cff8a4f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling safe-transmute v0.11.3 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling byteordered v0.6.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling inventory v0.3.16 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling jpeg-encoder v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling pyo3-build-config v0.23.3 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling pyo3-ffi v0.23.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.3 [INFO] [stderr] Compiling pyo3 v0.23.3 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling dict_derive v0.6.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling async-trait v0.1.84 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling dicom-core v0.8.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pyo3-macros v0.23.3 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling dicom-dictionary-std v0.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling dicom-encoding v0.8.0 [INFO] [stderr] Compiling dicom-transfer-syntax-registry v0.8.0 [INFO] [stderr] Compiling dicom-parser v0.8.0 [INFO] [stderr] Compiling dicom-ul v0.8.0 [INFO] [stderr] Compiling dicom-object v0.8.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling dicom-pixeldata v0.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling redis v0.27.6 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling dicom-json v0.8.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling dicom-dump v0.8.0 [INFO] [stderr] Compiling dicom v0.8.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling config v0.15.4 [INFO] [stderr] Compiling dicom-helper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dict_derive::FromPyObject` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dict_derive::FromPyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::PyDict` [INFO] [stdout] --> src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::{prelude::*, types::PyDict}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/commands.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/redis_util.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard<'_, Connection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "a6a189ee8fe0252ed2477c835e0a897c191b9fc5e76a3a6a112f45388cff8a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a189ee8fe0252ed2477c835e0a897c191b9fc5e76a3a6a112f45388cff8a4f", kill_on_drop: false }` [INFO] [stdout] a6a189ee8fe0252ed2477c835e0a897c191b9fc5e76a3a6a112f45388cff8a4f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af1d338443226cb11403faf413a070cbc71971e22c6ccfc291c6ff69365e0a8c [INFO] running `Command { std: "docker" "start" "-a" "af1d338443226cb11403faf413a070cbc71971e22c6ccfc291c6ff69365e0a8c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `dict_derive::FromPyObject` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dict_derive::FromPyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::PyDict` [INFO] [stdout] --> src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::{prelude::*, types::PyDict}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/commands.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/redis_util.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard<'_, Connection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dicom-helper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dict_derive::FromPyObject` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dict_derive::FromPyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::PyDict` [INFO] [stdout] --> src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::{prelude::*, types::PyDict}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/commands.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/commands.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = m.add_function(wrap_pyfunction!(py_generate_file_name_redis, m)?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/redis_util.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn connection(&self) -> MutexGuard<'_, Connection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "af1d338443226cb11403faf413a070cbc71971e22c6ccfc291c6ff69365e0a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1d338443226cb11403faf413a070cbc71971e22c6ccfc291c6ff69365e0a8c", kill_on_drop: false }` [INFO] [stdout] af1d338443226cb11403faf413a070cbc71971e22c6ccfc291c6ff69365e0a8c