[INFO] fetching crate ocpi-tariffs 0.16.0... [INFO] checking ocpi-tariffs-0.16.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ocpi-tariffs 0.16.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ocpi-tariffs 0.16.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ocpi-tariffs 0.16.0 [INFO] tweaked toml for crates.io crate ocpi-tariffs 0.16.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ocpi-tariffs 0.16.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ocpi-tariffs 0.16.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4328a44040ea6d71e8ced27fe13854c90d35f09beec8865e53d769d2cdaeba3f [INFO] running `Command { std: "docker" "start" "-a" "4328a44040ea6d71e8ced27fe13854c90d35f09beec8865e53d769d2cdaeba3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4328a44040ea6d71e8ced27fe13854c90d35f09beec8865e53d769d2cdaeba3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4328a44040ea6d71e8ced27fe13854c90d35f09beec8865e53d769d2cdaeba3f", kill_on_drop: false }` [INFO] [stdout] 4328a44040ea6d71e8ced27fe13854c90d35f09beec8865e53d769d2cdaeba3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 258ddf30abda23d183ed52d32237fafe4ae2a7baa8136e01b8ec29a795002c2a [INFO] running `Command { std: "docker" "start" "-a" "258ddf30abda23d183ed52d32237fafe4ae2a7baa8136e01b8ec29a795002c2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ocpi-tariffs v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking json-tools v1.1.3 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking json-strip-comments v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Compiling chrono-tz v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling test-each-codegen v0.3.1 [INFO] [stderr] Checking test-each v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stdout] warning: method `into_element` is never used [INFO] [stdout] --> src/json.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl<'buf> Field<'buf> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub(crate) fn into_element(self) -> Element<'buf> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_guess_version_v221` is never used [INFO] [stdout] --> src/guess.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn should_guess_version_v221(cdr_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_guess_version_v211` is never used [INFO] [stdout] --> src/guess.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 388 | fn should_guess_version_v211(cdr_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_element` is never used [INFO] [stdout] --> src/json.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl<'buf> Field<'buf> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub(crate) fn into_element(self) -> Element<'buf> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_real_world` is never used [INFO] [stdout] --> src/lint/tariff/v211.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn test_real_world(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_units` is never used [INFO] [stdout] --> src/lint/tariff/v211.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_units(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_real_world` is never used [INFO] [stdout] --> src/lint/tariff/v221.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn test_real_world(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_units` is never used [INFO] [stdout] --> src/lint/tariff/v221.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn test_units(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_price_cdr` is never used [INFO] [stdout] --> src/price/v211/cdr.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_price_cdr(cdr_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_tariff` is never used [INFO] [stdout] --> src/price/v211/tariff.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn test_parse_tariff(tariff: &str, _: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_price_cdr` is never used [INFO] [stdout] --> src/price/v221/cdr.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn test_price_cdr(cdr_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_tariff` is never used [INFO] [stdout] --> src/price/v221/tariff.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | fn test_parse_tariff(tariff: &str, _: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRECISION` is never used [INFO] [stdout] --> src/price.rs:1028:11 [INFO] [stdout] | [INFO] [stdout] 1028 | const PRECISION: u32 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_price_report` is never used [INFO] [stdout] --> src/price.rs:1061:19 [INFO] [stdout] | [INFO] [stdout] 1061 | pub(crate) fn assert_price_report(report: Report, cdr_price_expect: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/price.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1217 | pub struct PriceExpect<'buf> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1218 | #[serde(borrow, default)] [INFO] [stdout] 1219 | unexpected_fields: Expectation>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1223 | tariff_index: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1227 | tariff_id: Expectation<&'buf str>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | tariff_reports: Expectation>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1237 | total_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1241 | total_fixed_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1245 | total_time: Expectation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1249 | total_time_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1253 | total_energy: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1257 | total_energy_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1261 | total_parking_time: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1265 | total_parking_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1269 | total_reservation_cost: Expectation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `unknown_fields` are never read [INFO] [stdout] --> src/price.rs:1274:9 [INFO] [stdout] | [INFO] [stdout] 1273 | pub struct TariffReport<'buf> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1274 | id: &'buf str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1277 | unknown_fields: Vec<&'buf str>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TariffReport` 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 `expect_opt_price` and `expect_price` are never used [INFO] [stdout] --> src/price.rs:1282:12 [INFO] [stdout] | [INFO] [stdout] 1280 | impl Expectation { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 1281 | #[track_caller] [INFO] [stdout] 1282 | fn expect_opt_price(self, total: &Total>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1313 | fn expect_price(self, total: &Total>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expect_duration` and `expect_opt_duration` are never used [INFO] [stdout] --> src/price.rs:1338:12 [INFO] [stdout] | [INFO] [stdout] 1336 | impl Expectation { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 1337 | #[track_caller] [INFO] [stdout] 1338 | fn expect_duration(self, total: &Total) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1355 | fn expect_opt_duration(self, total: &Total, HoursDecimal>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_kwh` is never used [INFO] [stdout] --> src/price.rs:1378:12 [INFO] [stdout] | [INFO] [stdout] 1376 | impl Expectation { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 1377 | #[track_caller] [INFO] [stdout] 1378 | fn expect_kwh(self, total: &Total) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_v211` is never used [INFO] [stdout] --> src/tariff.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_parse_v211(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_v221` is never used [INFO] [stdout] --> src/tariff.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn test_parse_v221(tariff_json: &str, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_version` is never used [INFO] [stdout] --> src/tariff.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn expect_version(tariff_json: &str, path: &Path, expected_version: Version) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_find_or_infer_outcome` is never used [INFO] [stdout] --> src/timezone.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | pub(crate) fn assert_find_or_infer_outcome( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_option` is never used [INFO] [stdout] --> src/lib.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 357 | / impl ExpectValue [INFO] [stdout] 358 | | where [INFO] [stdout] 359 | | T: fmt::Debug, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn into_option(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.66s [INFO] running `Command { std: "docker" "inspect" "258ddf30abda23d183ed52d32237fafe4ae2a7baa8136e01b8ec29a795002c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258ddf30abda23d183ed52d32237fafe4ae2a7baa8136e01b8ec29a795002c2a", kill_on_drop: false }` [INFO] [stdout] 258ddf30abda23d183ed52d32237fafe4ae2a7baa8136e01b8ec29a795002c2a