[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 try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelmothx%2Fcollector-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melmothx/collector-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9622db631a3a3297b63183904601861d1f6ba235897999d12150ab6865233067 [INFO] running `Command { std: "docker" "start" "-a" "9622db631a3a3297b63183904601861d1f6ba235897999d12150ab6865233067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9622db631a3a3297b63183904601861d1f6ba235897999d12150ab6865233067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9622db631a3a3297b63183904601861d1f6ba235897999d12150ab6865233067", kill_on_drop: false }` [INFO] [stdout] 9622db631a3a3297b63183904601861d1f6ba235897999d12150ab6865233067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feba2e57adca0059e9d7291a51a2e86687360774c381210d363e75e58f8dc454 [INFO] running `Command { std: "docker" "start" "-a" "feba2e57adca0059e9d7291a51a2e86687360774c381210d363e75e58f8dc454", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling bb8 v0.9.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling quick-xml v0.38.0 [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 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] 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: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] = 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: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] [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "feba2e57adca0059e9d7291a51a2e86687360774c381210d363e75e58f8dc454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feba2e57adca0059e9d7291a51a2e86687360774c381210d363e75e58f8dc454", kill_on_drop: false }` [INFO] [stdout] feba2e57adca0059e9d7291a51a2e86687360774c381210d363e75e58f8dc454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c6996b7f6ab0c89fb9826a03078565de5052ee1e9f56b2ef9fdab420e09e491 [INFO] running `Command { std: "docker" "start" "-a" "0c6996b7f6ab0c89fb9826a03078565de5052ee1e9f56b2ef9fdab420e09e491", 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: `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: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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: `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] [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: 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: 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.52s [INFO] running `Command { std: "docker" "inspect" "0c6996b7f6ab0c89fb9826a03078565de5052ee1e9f56b2ef9fdab420e09e491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6996b7f6ab0c89fb9826a03078565de5052ee1e9f56b2ef9fdab420e09e491", kill_on_drop: false }` [INFO] [stdout] 0c6996b7f6ab0c89fb9826a03078565de5052ee1e9f56b2ef9fdab420e09e491