[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] 1ac85355fef52c43df7e2a09007f044928cea046 [INFO] testing RavuAlHemio/pillreserves against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpillreserves" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RavuAlHemio/pillreserves on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-56/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 171ed72ca5028a452502a205618b665e7410ab4a0fb963f1c9f9339065d8e128 [INFO] running `Command { std: "docker" "start" "-a" "171ed72ca5028a452502a205618b665e7410ab4a0fb963f1c9f9339065d8e128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "171ed72ca5028a452502a205618b665e7410ab4a0fb963f1c9f9339065d8e128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171ed72ca5028a452502a205618b665e7410ab4a0fb963f1c9f9339065d8e128", kill_on_drop: false }` [INFO] [stdout] 171ed72ca5028a452502a205618b665e7410ab4a0fb963f1c9f9339065d8e128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066f4ccf4691774715ea91939376bfdf9f3138bdee6e8edbdaf9949756e46459 [INFO] running `Command { std: "docker" "start" "-a" "066f4ccf4691774715ea91939376bfdf9f3138bdee6e8edbdaf9949756e46459", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.3 [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 indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [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 ignore v0.4.18 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling tera v1.12.0 [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 1m 15s [INFO] running `Command { std: "docker" "inspect" "066f4ccf4691774715ea91939376bfdf9f3138bdee6e8edbdaf9949756e46459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066f4ccf4691774715ea91939376bfdf9f3138bdee6e8edbdaf9949756e46459", kill_on_drop: false }` [INFO] [stdout] 066f4ccf4691774715ea91939376bfdf9f3138bdee6e8edbdaf9949756e46459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6aac3555d6a6873122e3f2f9ae9a3f0e29934500d4ed4cf0d12bdcb4a3f913a [INFO] running `Command { std: "docker" "start" "-a" "a6aac3555d6a6873122e3f2f9ae9a3f0e29934500d4ed4cf0d12bdcb4a3f913a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1m 08s [INFO] running `Command { std: "docker" "inspect" "a6aac3555d6a6873122e3f2f9ae9a3f0e29934500d4ed4cf0d12bdcb4a3f913a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6aac3555d6a6873122e3f2f9ae9a3f0e29934500d4ed4cf0d12bdcb4a3f913a", kill_on_drop: false }` [INFO] [stdout] a6aac3555d6a6873122e3f2f9ae9a3f0e29934500d4ed4cf0d12bdcb4a3f913a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5552ee87e1f33362c1a5c12671e0533ca80d0292d3eb770e40bc78355f18ffe4 [INFO] running `Command { std: "docker" "start" "-a" "5552ee87e1f33362c1a5c12671e0533ca80d0292d3eb770e40bc78355f18ffe4", kill_on_drop: false }` [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.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pillreserves-7947473cefede1bb) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test util::tests::test_parse_leading_dot ... ok [INFO] [stdout] test util::tests::test_parse_leading_zero_dot ... ok [INFO] [stdout] test util::tests::test_parse_mid_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" "5552ee87e1f33362c1a5c12671e0533ca80d0292d3eb770e40bc78355f18ffe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5552ee87e1f33362c1a5c12671e0533ca80d0292d3eb770e40bc78355f18ffe4", kill_on_drop: false }` [INFO] [stdout] 5552ee87e1f33362c1a5c12671e0533ca80d0292d3eb770e40bc78355f18ffe4