[INFO] cloning repository https://github.com/nirvik00/epc_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nirvik00/epc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Fepc_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Fepc_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 163ba6f73098052ab7604182872002e94607a975 [INFO] testing nirvik00/epc_rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Fepc_rust" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nirvik00/epc_rust 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/nirvik00/epc_rust [INFO] finished tweaking git repo https://github.com/nirvik00/epc_rust [INFO] tweaked toml for git repo https://github.com/nirvik00/epc_rust written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/nirvik00/epc_rust 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 36769f7b21550e453b315cd864e748a079e204a29625135fdabc4c29fdbd5a86 [INFO] running `Command { std: "docker" "start" "-a" "36769f7b21550e453b315cd864e748a079e204a29625135fdabc4c29fdbd5a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36769f7b21550e453b315cd864e748a079e204a29625135fdabc4c29fdbd5a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36769f7b21550e453b315cd864e748a079e204a29625135fdabc4c29fdbd5a86", kill_on_drop: false }` [INFO] [stdout] 36769f7b21550e453b315cd864e748a079e204a29625135fdabc4c29fdbd5a86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 565ec944a753c433c968d1178510d6ffdb9f757ee36e540477f12a8100898495 [INFO] running `Command { std: "docker" "start" "-a" "565ec944a753c433c968d1178510d6ffdb9f757ee36e540477f12a8100898495", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling epcfuncs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/read_json.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let mut a = 0; // a = date in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/read_json.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let mut b = 0; // b = day in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/read_json.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let mut c: i32 = 0; // c = hour in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/read_json.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let mut d = 0; // d = day type [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/read_json.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | let mut e: f32 = 0.0; // occupancy fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/read_json.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut f: f32 = 0.0; // appliance fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `g` is never read [INFO] [stdout] --> src/read_json.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let mut g: f32 = 0.0; // lighting fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/read_json.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | id: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/read_json.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | hour: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dn` [INFO] [stdout] --> src/read_json.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | dn: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_wd` [INFO] [stdout] --> src/read_json.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | q_wd: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_we` [INFO] [stdout] --> src/read_json.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | q_we: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_occ_wd` [INFO] [stdout] --> src/read_json.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | q_occ_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_occ_we` [INFO] [stdout] --> src/read_json.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | q_occ_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_app_wd` [INFO] [stdout] --> src/read_json.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | q_app_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_app_we` [INFO] [stdout] --> src/read_json.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | q_app_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_light_wd` [INFO] [stdout] --> src/read_json.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | q_light_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_light_we` [INFO] [stdout] --> src/read_json.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | q_light_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cumu_hour` [INFO] [stdout] --> src/read_json.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | cumu_hour: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `month` [INFO] [stdout] --> src/read_json.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | month: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date` [INFO] [stdout] --> src/read_json.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | date: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day` [INFO] [stdout] --> src/read_json.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | day: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/read_json.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | hour: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day_type` [INFO] [stdout] --> src/read_json.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | day_type: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occ_fraction` [INFO] [stdout] --> src/read_json.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | occ_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `app_fraction` [INFO] [stdout] --> src/read_json.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | app_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lighting_fraction` [INFO] [stdout] --> src/read_json.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | lighting_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `struct_set_pt_sch` [INFO] [stdout] --> src/read_json.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct_set_pt_sch: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructComputeSchedules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.99s [INFO] running `Command { std: "docker" "inspect" "565ec944a753c433c968d1178510d6ffdb9f757ee36e540477f12a8100898495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565ec944a753c433c968d1178510d6ffdb9f757ee36e540477f12a8100898495", kill_on_drop: false }` [INFO] [stdout] 565ec944a753c433c968d1178510d6ffdb9f757ee36e540477f12a8100898495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 68ea2fd24d36e13c2d26f6148f34e423c653be07381b97043a1b516f5c3a941b [INFO] running `Command { std: "docker" "start" "-a" "68ea2fd24d36e13c2d26f6148f34e423c653be07381b97043a1b516f5c3a941b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling epcfuncs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/read_json.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let mut a = 0; // a = date in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/read_json.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let mut b = 0; // b = day in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/read_json.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let mut c: i32 = 0; // c = hour in excel [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/read_json.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let mut d = 0; // d = day type [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/read_json.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | let mut e: f32 = 0.0; // occupancy fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/read_json.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut f: f32 = 0.0; // appliance fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `g` is never read [INFO] [stdout] --> src/read_json.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let mut g: f32 = 0.0; // lighting fraction [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/read_json.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | id: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/read_json.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | hour: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dn` [INFO] [stdout] --> src/read_json.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | dn: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_wd` [INFO] [stdout] --> src/read_json.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | q_wd: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_we` [INFO] [stdout] --> src/read_json.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | q_we: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_occ_wd` [INFO] [stdout] --> src/read_json.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | q_occ_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_occ_we` [INFO] [stdout] --> src/read_json.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | q_occ_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_app_wd` [INFO] [stdout] --> src/read_json.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | q_app_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_app_we` [INFO] [stdout] --> src/read_json.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | q_app_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_light_wd` [INFO] [stdout] --> src/read_json.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | q_light_wd: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_light_we` [INFO] [stdout] --> src/read_json.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | q_light_we: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cumu_hour` [INFO] [stdout] --> src/read_json.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | cumu_hour: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `month` [INFO] [stdout] --> src/read_json.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | month: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date` [INFO] [stdout] --> src/read_json.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | date: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day` [INFO] [stdout] --> src/read_json.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | day: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/read_json.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | hour: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day_type` [INFO] [stdout] --> src/read_json.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | day_type: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `occ_fraction` [INFO] [stdout] --> src/read_json.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | occ_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `app_fraction` [INFO] [stdout] --> src/read_json.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | app_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lighting_fraction` [INFO] [stdout] --> src/read_json.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | lighting_fraction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `struct_set_pt_sch` [INFO] [stdout] --> src/read_json.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct_set_pt_sch: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StructComputeSchedules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/read_json.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "68ea2fd24d36e13c2d26f6148f34e423c653be07381b97043a1b516f5c3a941b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ea2fd24d36e13c2d26f6148f34e423c653be07381b97043a1b516f5c3a941b", kill_on_drop: false }` [INFO] [stdout] 68ea2fd24d36e13c2d26f6148f34e423c653be07381b97043a1b516f5c3a941b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 30d3a7cb3ddf9239f9a46bb3d261227bb0c0f7cf0014b79e1bc9e0b02ccc6891 [INFO] running `Command { std: "docker" "start" "-a" "30d3a7cb3ddf9239f9a46bb3d261227bb0c0f7cf0014b79e1bc9e0b02ccc6891", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `a` is never read [INFO] [stderr] --> src/read_json.rs:287:17 [INFO] [stderr] | [INFO] [stderr] 287 | let mut a = 0; // a = date in excel [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `b` is never read [INFO] [stderr] --> src/read_json.rs:293:17 [INFO] [stderr] | [INFO] [stderr] 293 | let mut b = 0; // b = day in excel [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `c` is never read [INFO] [stderr] --> src/read_json.rs:299:17 [INFO] [stderr] | [INFO] [stderr] 299 | let mut c: i32 = 0; // c = hour in excel [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `d` is never read [INFO] [stderr] --> src/read_json.rs:306:17 [INFO] [stderr] | [INFO] [stderr] 306 | let mut d = 0; // d = day type [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `e` is never read [INFO] [stderr] --> src/read_json.rs:323:17 [INFO] [stderr] | [INFO] [stderr] 323 | let mut e: f32 = 0.0; // occupancy fraction [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/read_json.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | let mut f: f32 = 0.0; // appliance fraction [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `g` is never read [INFO] [stderr] --> src/read_json.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 325 | let mut g: f32 = 0.0; // lighting fraction [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/read_json.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | id: i8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hour` [INFO] [stderr] --> src/read_json.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | hour: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dn` [INFO] [stderr] --> src/read_json.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | dn: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleA` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_wd` [INFO] [stderr] --> src/read_json.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | q_wd: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_we` [INFO] [stderr] --> src/read_json.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | q_we: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_occ_wd` [INFO] [stderr] --> src/read_json.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | q_occ_wd: f32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_occ_we` [INFO] [stderr] --> src/read_json.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | q_occ_we: f32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_app_wd` [INFO] [stderr] --> src/read_json.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | q_app_wd: f32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_app_we` [INFO] [stderr] --> src/read_json.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | q_app_we: f32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_light_wd` [INFO] [stderr] --> src/read_json.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | q_light_wd: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `q_light_we` [INFO] [stderr] --> src/read_json.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | q_light_we: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructScheduleB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cumu_hour` [INFO] [stderr] --> src/read_json.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | cumu_hour: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `month` [INFO] [stderr] --> src/read_json.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | month: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `date` [INFO] [stderr] --> src/read_json.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | date: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `day` [INFO] [stderr] --> src/read_json.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | day: i32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hour` [INFO] [stderr] --> src/read_json.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | hour: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `day_type` [INFO] [stderr] --> src/read_json.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | day_type: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `occ_fraction` [INFO] [stderr] --> src/read_json.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | occ_fraction: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `app_fraction` [INFO] [stderr] --> src/read_json.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | app_fraction: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lighting_fraction` [INFO] [stderr] --> src/read_json.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | lighting_fraction: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructAnnualSchedule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `struct_set_pt_sch` [INFO] [stderr] --> src/read_json.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | struct_set_pt_sch: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructComputeSchedules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/read_json.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `epcfuncs` (bin "epcfuncs" test) generated 29 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/epcfuncs-0404ce7a962d88ec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30d3a7cb3ddf9239f9a46bb3d261227bb0c0f7cf0014b79e1bc9e0b02ccc6891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d3a7cb3ddf9239f9a46bb3d261227bb0c0f7cf0014b79e1bc9e0b02ccc6891", kill_on_drop: false }` [INFO] [stdout] 30d3a7cb3ddf9239f9a46bb3d261227bb0c0f7cf0014b79e1bc9e0b02ccc6891