[INFO] cloning repository https://github.com/RavuAlHemio/pillreserves [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RavuAlHemio/pillreserves" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpillreserves", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpillreserves'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca40239e8b8cf81a5c68b4be6af07864b9ccaf47 [INFO] testing RavuAlHemio/pillreserves against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpillreserves" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RavuAlHemio/pillreserves on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RavuAlHemio/pillreserves [INFO] finished tweaking git repo https://github.com/RavuAlHemio/pillreserves [INFO] tweaked toml for git repo https://github.com/RavuAlHemio/pillreserves written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/RavuAlHemio/pillreserves already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tera v1.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dca256f1befaa063ca65dc4b81477a0b9bb2c244e971a5cea019bd489904f448 [INFO] running `Command { std: "docker" "start" "-a" "dca256f1befaa063ca65dc4b81477a0b9bb2c244e971a5cea019bd489904f448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca256f1befaa063ca65dc4b81477a0b9bb2c244e971a5cea019bd489904f448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca256f1befaa063ca65dc4b81477a0b9bb2c244e971a5cea019bd489904f448", kill_on_drop: false }` [INFO] [stdout] dca256f1befaa063ca65dc4b81477a0b9bb2c244e971a5cea019bd489904f448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5980f83de3a8c52368aa023fa1d88f1d9ed7f938baefc856b015e938dcb2377 [INFO] running `Command { std: "docker" "start" "-a" "a5980f83de3a8c52368aa023fa1d88f1d9ed7f938baefc856b015e938dcb2377", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tera v1.12.0 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling pillreserves v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `trade_name` [INFO] [stdout] --> src/model.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn trade_name(&self) -> &str { &self.trade_name } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/model.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn components(&self) -> &Vec { &self.components } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn description(&self) -> &str { &self.description } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_morning` [INFO] [stdout] --> src/model.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn dosage_morning(&self) -> Rational64 { self.dosage_morning } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_noon` [INFO] [stdout] --> src/model.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn dosage_noon(&self) -> Rational64 { self.dosage_noon } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_evening` [INFO] [stdout] --> src/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn dosage_evening(&self) -> Rational64 { self.dosage_evening } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_night` [INFO] [stdout] --> src/model.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn dosage_night(&self) -> Rational64 { self.dosage_night } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `units_per_package` [INFO] [stdout] --> src/model.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn units_per_package(&self) -> Rational64 { self.units_per_package } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `packages_per_prescription` [INFO] [stdout] --> src/model.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn packages_per_prescription(&self) -> Rational64 { self.packages_per_prescription } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `obverse_photo` [INFO] [stdout] --> src/model.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn obverse_photo(&self) -> Option<&str> { self.obverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_photo` [INFO] [stdout] --> src/model.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn reverse_photo(&self) -> Option<&str> { self.reverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generic_name` [INFO] [stdout] --> src/model.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generic_name(&self) -> &str { &self.generic_name } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount` [INFO] [stdout] --> src/model.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn amount(&self) -> Rational64 { self.amount } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/model.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn unit(&self) -> &str { &self.unit } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index` [INFO] [stdout] --> src/model.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn index(&self) -> usize { self.index } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remaining_weeks` [INFO] [stdout] --> src/model.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn remaining_weeks(&self) -> Option { self.remaining_weeks } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `weeks_per_prescription` [INFO] [stdout] --> src/model.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn weeks_per_prescription(&self) -> Option { self.weeks_per_prescription } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.68s [INFO] running `Command { std: "docker" "inspect" "a5980f83de3a8c52368aa023fa1d88f1d9ed7f938baefc856b015e938dcb2377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5980f83de3a8c52368aa023fa1d88f1d9ed7f938baefc856b015e938dcb2377", kill_on_drop: false }` [INFO] [stdout] a5980f83de3a8c52368aa023fa1d88f1d9ed7f938baefc856b015e938dcb2377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ed73ba0d2857d66941746e97a15661d70fbff5db03e1f232f35bc420089d69 [INFO] running `Command { std: "docker" "start" "-a" "22ed73ba0d2857d66941746e97a15661d70fbff5db03e1f232f35bc420089d69", kill_on_drop: false }` [INFO] [stderr] Compiling pillreserves v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `trade_name` [INFO] [stdout] --> src/model.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn trade_name(&self) -> &str { &self.trade_name } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/model.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn components(&self) -> &Vec { &self.components } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn description(&self) -> &str { &self.description } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_morning` [INFO] [stdout] --> src/model.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn dosage_morning(&self) -> Rational64 { self.dosage_morning } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_noon` [INFO] [stdout] --> src/model.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn dosage_noon(&self) -> Rational64 { self.dosage_noon } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_evening` [INFO] [stdout] --> src/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn dosage_evening(&self) -> Rational64 { self.dosage_evening } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dosage_night` [INFO] [stdout] --> src/model.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn dosage_night(&self) -> Rational64 { self.dosage_night } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `units_per_package` [INFO] [stdout] --> src/model.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn units_per_package(&self) -> Rational64 { self.units_per_package } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `packages_per_prescription` [INFO] [stdout] --> src/model.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn packages_per_prescription(&self) -> Rational64 { self.packages_per_prescription } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `obverse_photo` [INFO] [stdout] --> src/model.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn obverse_photo(&self) -> Option<&str> { self.obverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_photo` [INFO] [stdout] --> src/model.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn reverse_photo(&self) -> Option<&str> { self.reverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generic_name` [INFO] [stdout] --> src/model.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn generic_name(&self) -> &str { &self.generic_name } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount` [INFO] [stdout] --> src/model.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn amount(&self) -> Rational64 { self.amount } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/model.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn unit(&self) -> &str { &self.unit } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index` [INFO] [stdout] --> src/model.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn index(&self) -> usize { self.index } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remaining_weeks` [INFO] [stdout] --> src/model.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn remaining_weeks(&self) -> Option { self.remaining_weeks } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `weeks_per_prescription` [INFO] [stdout] --> src/model.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn weeks_per_prescription(&self) -> Option { self.weeks_per_prescription } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "22ed73ba0d2857d66941746e97a15661d70fbff5db03e1f232f35bc420089d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ed73ba0d2857d66941746e97a15661d70fbff5db03e1f232f35bc420089d69", kill_on_drop: false }` [INFO] [stdout] 22ed73ba0d2857d66941746e97a15661d70fbff5db03e1f232f35bc420089d69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 704d5060663762aaf3b4a6d6f8f7633ec72c14ef1a5edb57ff1b2c609df0c0ee [INFO] running `Command { std: "docker" "start" "-a" "704d5060663762aaf3b4a6d6f8f7633ec72c14ef1a5edb57ff1b2c609df0c0ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `trade_name` [INFO] [stderr] --> src/model.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn trade_name(&self) -> &str { &self.trade_name } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `components` [INFO] [stderr] --> src/model.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn components(&self) -> &Vec { &self.components } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `description` [INFO] [stderr] --> src/model.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn description(&self) -> &str { &self.description } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dosage_morning` [INFO] [stderr] --> src/model.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn dosage_morning(&self) -> Rational64 { self.dosage_morning } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dosage_noon` [INFO] [stderr] --> src/model.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn dosage_noon(&self) -> Rational64 { self.dosage_noon } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dosage_evening` [INFO] [stderr] --> src/model.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn dosage_evening(&self) -> Rational64 { self.dosage_evening } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dosage_night` [INFO] [stderr] --> src/model.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn dosage_night(&self) -> Rational64 { self.dosage_night } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `units_per_package` [INFO] [stderr] --> src/model.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn units_per_package(&self) -> Rational64 { self.units_per_package } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `packages_per_prescription` [INFO] [stderr] --> src/model.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn packages_per_prescription(&self) -> Rational64 { self.packages_per_prescription } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `obverse_photo` [INFO] [stderr] --> src/model.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn obverse_photo(&self) -> Option<&str> { self.obverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reverse_photo` [INFO] [stderr] --> src/model.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn reverse_photo(&self) -> Option<&str> { self.reverse_photo.as_ref().map(|s| s.as_str()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generic_name` [INFO] [stderr] --> src/model.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn generic_name(&self) -> &str { &self.generic_name } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `amount` [INFO] [stderr] --> src/model.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn amount(&self) -> Rational64 { self.amount } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unit` [INFO] [stderr] --> src/model.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn unit(&self) -> &str { &self.unit } [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `index` [INFO] [stderr] --> src/model.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn index(&self) -> usize { self.index } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remaining_weeks` [INFO] [stderr] --> src/model.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn remaining_weeks(&self) -> Option { self.remaining_weeks } [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `weeks_per_prescription` [INFO] [stderr] --> src/model.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn weeks_per_prescription(&self) -> Option { self.weeks_per_prescription } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pillreserves` (bin "pillreserves" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pillreserves-486980948f7f67f4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test util::tests::test_parse_leading_dot ... ok [INFO] [stdout] test util::tests::test_parse_mid_dot ... ok [INFO] [stdout] test util::tests::test_parse_leading_zero_dot ... ok [INFO] [stdout] test util::tests::test_parse_no_dot ... ok [INFO] [stdout] test util::tests::test_parse_trailing_dot ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "704d5060663762aaf3b4a6d6f8f7633ec72c14ef1a5edb57ff1b2c609df0c0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704d5060663762aaf3b4a6d6f8f7633ec72c14ef1a5edb57ff1b2c609df0c0ee", kill_on_drop: false }` [INFO] [stdout] 704d5060663762aaf3b4a6d6f8f7633ec72c14ef1a5edb57ff1b2c609df0c0ee