[INFO] cloning repository https://github.com/WaveSonic/I2C [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WaveSonic/I2C" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaveSonic%2FI2C", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaveSonic%2FI2C'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 588290eed6ee7def0ff93a84c912cd41c8dff71c [INFO] checking WaveSonic/I2C against master#c0bb140a37c81cf59a0b40c21c9413059644e294 for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaveSonic%2FI2C" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WaveSonic/I2C [INFO] finished tweaking git repo https://github.com/WaveSonic/I2C [INFO] tweaked toml for git repo https://github.com/WaveSonic/I2C written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WaveSonic/I2C on toolchain c0bb140a37c81cf59a0b40c21c9413059644e294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WaveSonic/I2C 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" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embed-manifest v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a [INFO] running `Command { std: "docker" "start" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling embed-manifest v1.5.0 [INFO] [stderr] Compiling cpu_temp_reader v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `embed_manifest` and `new_manifest` [INFO] [stdout] --> build.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use embed_manifest::{embed_manifest, new_manifest}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embed_manifest::manifest::ExecutionLevel` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embed_manifest::manifest::ExecutionLevel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> src/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AppConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn from_args() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/logger.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_f32_to_text` is never used [INFO] [stdout] --> src/logger.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn opt_f32_to_text(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_u32_to_text` is never used [INFO] [stdout] --> src/logger.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn opt_u32_to_text(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_log` is never used [INFO] [stdout] --> src/logger.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn append_log(status: &SystemStatus) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min`, `max`, and `average` are never read [INFO] [stdout] --> src/models.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TemperatureStats { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | pub current: Option, [INFO] [stdout] 10 | pub min: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub max: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub average: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemperatureStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sum` is never read [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SessionTemperatureStats { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub sum: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionTemperatureStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/models.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl SessionTemperatureStats { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn update(&mut self, value: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_args` is never used [INFO] [stdout] --> src/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AppConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn from_args() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/logger.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_f32_to_text` is never used [INFO] [stdout] --> src/logger.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn opt_f32_to_text(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_u32_to_text` is never used [INFO] [stdout] --> src/logger.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn opt_u32_to_text(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_log` is never used [INFO] [stdout] --> src/logger.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn append_log(status: &SystemStatus) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min`, `max`, and `average` are never read [INFO] [stdout] --> src/models.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TemperatureStats { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | pub current: Option, [INFO] [stdout] 10 | pub min: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub max: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub average: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemperatureStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sum` is never read [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SessionTemperatureStats { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub sum: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionTemperatureStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/models.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl SessionTemperatureStats { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn update(&mut self, value: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a", kill_on_drop: false }` [INFO] [stdout] b9ca97a04543588dc0d3ee9908a75f5a5edea222b12616abfc227d80a1b1522a