[INFO] cloning repository https://github.com/melmothx/collector-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melmothx/collector-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelmothx%2Fcollector-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelmothx%2Fcollector-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd6c75ec786c15f3e680cb15503cdf0631b1422b [INFO] building melmothx/collector-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelmothx%2Fcollector-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/melmothx/collector-rs [INFO] finished tweaking git repo https://github.com/melmothx/collector-rs [INFO] tweaked toml for git repo https://github.com/melmothx/collector-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melmothx/collector-rs 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/melmothx/collector-rs 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 bb8 v0.9.0 [INFO] [stderr] Downloaded bb8-postgres v0.9.0 [INFO] [stderr] Downloaded quick-xml v0.38.0 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded rustls v0.23.29 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6ff247e0a853d37c8a35a7fefd0f3002bc3c2327315ebc619db1c54273854033 [INFO] running `Command { std: "docker" "start" "-a" "6ff247e0a853d37c8a35a7fefd0f3002bc3c2327315ebc619db1c54273854033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff247e0a853d37c8a35a7fefd0f3002bc3c2327315ebc619db1c54273854033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff247e0a853d37c8a35a7fefd0f3002bc3c2327315ebc619db1c54273854033", kill_on_drop: false }` [INFO] [stdout] 6ff247e0a853d37c8a35a7fefd0f3002bc3c2327315ebc619db1c54273854033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f5fa564d52d2be6a6cd9cc63f251b016416e8c29417681e8949e091796d3c272 [INFO] running `Command { std: "docker" "start" "-a" "f5fa564d52d2be6a6cd9cc63f251b016416e8c29417681e8949e091796d3c272", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling quick-xml v0.38.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling bb8 v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling bb8-postgres v0.9.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling collector v0.1.0 (/opt/rustwide/workdir/harvesting) [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> harvesting/src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::{NoTls, Client}; [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: `SiteType` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::oai::pmh::{HarvestParams,HarvestedRecord,SiteType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HarvestedRecord` [INFO] [stdout] --> harvesting/src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use oai::pmh::{HarvestParams,HarvestedRecord,SiteType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | params: &HarvestParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | params: &HarvestParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datasource_id` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | Some(datasource_id) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datasource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_id` [INFO] [stdout] --> harvesting/src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(return_id) => (), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ResponseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | #[serde(rename = "@code")] [INFO] [stdout] 14 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[serde(rename = "$text")] [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct OaiPmhRecordHeader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OaiPmhRecordHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ind1` and `ind2` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct MarcDataField { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | ind1: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | #[serde(rename = "@ind2")] [INFO] [stdout] 41 | ind2: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarcDataField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MarcRecord { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 56 | #[serde(rename = "@xmlns")] [INFO] [stdout] 57 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarcRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> harvesting/src/oai/pmh.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 323 | impl HarvestedRecord { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn identifier(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `host` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 649 | pub struct RecordAggregation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 657 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordAggregation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `identifier` and `checksum` are never used [INFO] [stdout] --> harvesting/src/oai/pmh.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 660 | impl RecordAggregation { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 667 | pub fn identifier(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 693 | pub fn checksum(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `response_date`, `request`, and `error` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 707 | struct OaiPmhResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 708 | #[serde(rename = "responseDate")] [INFO] [stdout] 709 | response_date: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 710 | request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 711 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OaiPmhResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `library_id` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 747 | pub struct HarvestParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 750 | pub library_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HarvestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir/webapp) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> webapp/src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "f5fa564d52d2be6a6cd9cc63f251b016416e8c29417681e8949e091796d3c272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fa564d52d2be6a6cd9cc63f251b016416e8c29417681e8949e091796d3c272", kill_on_drop: false }` [INFO] [stdout] f5fa564d52d2be6a6cd9cc63f251b016416e8c29417681e8949e091796d3c272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e9a037799a11d482d2c0632b55bd0b044c5d1f0121e3f9c0216ed5ddce283fc9 [INFO] running `Command { std: "docker" "start" "-a" "e9a037799a11d482d2c0632b55bd0b044c5d1f0121e3f9c0216ed5ddce283fc9", kill_on_drop: false }` [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir/webapp) [INFO] [stderr] Compiling collector v0.1.0 (/opt/rustwide/workdir/harvesting) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> webapp/src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Deserialize, Serialize}; [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: `Client` [INFO] [stdout] --> harvesting/src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::{NoTls, Client}; [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: `SiteType` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::oai::pmh::{HarvestParams,HarvestedRecord,SiteType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HarvestedRecord` [INFO] [stdout] --> harvesting/src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use oai::pmh::{HarvestParams,HarvestedRecord,SiteType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | params: &HarvestParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | params: &HarvestParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datasource_id` [INFO] [stdout] --> harvesting/src/mycorrhiza.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | Some(datasource_id) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datasource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_id` [INFO] [stdout] --> harvesting/src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(return_id) => (), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ResponseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | #[serde(rename = "@code")] [INFO] [stdout] 14 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[serde(rename = "$text")] [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct OaiPmhRecordHeader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OaiPmhRecordHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ind1` and `ind2` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct MarcDataField { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | ind1: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | #[serde(rename = "@ind2")] [INFO] [stdout] 41 | ind2: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarcDataField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MarcRecord { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 56 | #[serde(rename = "@xmlns")] [INFO] [stdout] 57 | namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarcRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> harvesting/src/oai/pmh.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 323 | impl HarvestedRecord { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn identifier(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checksum` is never used [INFO] [stdout] --> harvesting/src/oai/pmh.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 660 | impl RecordAggregation { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 693 | pub fn checksum(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `response_date`, `request`, and `error` are never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 707 | struct OaiPmhResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 708 | #[serde(rename = "responseDate")] [INFO] [stdout] 709 | response_date: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 710 | request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 711 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OaiPmhResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `library_id` is never read [INFO] [stdout] --> harvesting/src/oai/pmh.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 747 | pub struct HarvestParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 750 | pub library_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HarvestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.23s [INFO] running `Command { std: "docker" "inspect" "e9a037799a11d482d2c0632b55bd0b044c5d1f0121e3f9c0216ed5ddce283fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a037799a11d482d2c0632b55bd0b044c5d1f0121e3f9c0216ed5ddce283fc9", kill_on_drop: false }` [INFO] [stdout] e9a037799a11d482d2c0632b55bd0b044c5d1f0121e3f9c0216ed5ddce283fc9