[INFO] fetching crate carbonara 0.1.4... [INFO] testing carbonara-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate carbonara 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate carbonara 0.1.4 [INFO] finished tweaking crates.io crate carbonara 0.1.4 [INFO] tweaked toml for crates.io crate carbonara 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate carbonara 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate carbonara 0.1.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc32_digest v0.8.1 [INFO] [stderr] Downloaded ok_macros v0.1.10 [INFO] [stderr] Downloaded fastvlq v1.1.1 [INFO] [stderr] Downloaded okstd v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e8bf5f2b2fe04a150166a0bfc7abf929cb44e8a2b5cac3a3688cea734e14b78 [INFO] running `Command { std: "docker" "start" "-a" "9e8bf5f2b2fe04a150166a0bfc7abf929cb44e8a2b5cac3a3688cea734e14b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e8bf5f2b2fe04a150166a0bfc7abf929cb44e8a2b5cac3a3688cea734e14b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8bf5f2b2fe04a150166a0bfc7abf929cb44e8a2b5cac3a3688cea734e14b78", kill_on_drop: false }` [INFO] [stdout] 9e8bf5f2b2fe04a150166a0bfc7abf929cb44e8a2b5cac3a3688cea734e14b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a169df5352a51b7c27126a262a814a4ce3d4bcae7471d7046a99b077c213c80 [INFO] running `Command { std: "docker" "start" "-a" "8a169df5352a51b7c27126a262a814a4ce3d4bcae7471d7046a99b077c213c80", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling core2 v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling fastvlq v1.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crc32_digest v0.8.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling ok_macros v0.1.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling argh_shared v0.1.12 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Compiling argh v0.1.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling okstd v0.1.10 [INFO] [stderr] Compiling carbonara v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `energy_now` is never read [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct AcpiPowerInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | energy_now: Option, // μWh [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.69s [INFO] running `Command { std: "docker" "inspect" "8a169df5352a51b7c27126a262a814a4ce3d4bcae7471d7046a99b077c213c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a169df5352a51b7c27126a262a814a4ce3d4bcae7471d7046a99b077c213c80", kill_on_drop: false }` [INFO] [stdout] 8a169df5352a51b7c27126a262a814a4ce3d4bcae7471d7046a99b077c213c80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ada887f7cb9a9c0a6e98a2f808aacff24732026b72d9bd2ba8d761f93285981 [INFO] running `Command { std: "docker" "start" "-a" "3ada887f7cb9a9c0a6e98a2f808aacff24732026b72d9bd2ba8d761f93285981", kill_on_drop: false }` [INFO] [stdout] warning: field `energy_now` is never read [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct AcpiPowerInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | energy_now: Option, // μWh [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling carbonara v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `energy_now` is never read [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct AcpiPowerInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | energy_now: Option, // μWh [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "3ada887f7cb9a9c0a6e98a2f808aacff24732026b72d9bd2ba8d761f93285981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ada887f7cb9a9c0a6e98a2f808aacff24732026b72d9bd2ba8d761f93285981", kill_on_drop: false }` [INFO] [stdout] 3ada887f7cb9a9c0a6e98a2f808aacff24732026b72d9bd2ba8d761f93285981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19c01b14a9364a634e2cd123e6a41fa27f001ce96f31144886431518863c5fb0 [INFO] running `Command { std: "docker" "start" "-a" "19c01b14a9364a634e2cd123e6a41fa27f001ce96f31144886431518863c5fb0", kill_on_drop: false }` [INFO] [stderr] warning: field `energy_now` is never read [INFO] [stderr] --> src/lib.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 206 | struct AcpiPowerInfo { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 210 | energy_now: Option, // μWh [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `carbonara` (lib) generated 1 warning [INFO] [stderr] warning: `carbonara` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/carbonara-061ec824c2eb129c) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_benchmarks_to_kwh ... ok [INFO] [stdout] test tests::test_kwh_to_joules ... ok [INFO] [stdout] test tests::test_gigabytes_to_kwh ... ok [INFO] [stdout] test tests::test_megabytes_to_kwh ... ok [INFO] [stdout] test tests::test_tdp_to_joules ... ok [INFO] [stdout] test tests::test_rapl_availability ... ok [INFO] [stdout] test tests::test_joules_to_kwh ... ok [INFO] [stdout] test tests::test_acpi_availability ... ok [INFO] [stdout] test tests::test_kwh_to_co2e ... ok [INFO] [stdout] test tests::test_acpi_measurement ... ok [INFO] [stdout] test tests::test_tdp_measurement ... ok [INFO] [stderr] Running unittests src/energy.rs (/opt/rustwide/target/debug/deps/energy-3e6c55384ada4dfc) [INFO] [stdout] [INFO] [stderr] Doc-tests carbonara [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19c01b14a9364a634e2cd123e6a41fa27f001ce96f31144886431518863c5fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c01b14a9364a634e2cd123e6a41fa27f001ce96f31144886431518863c5fb0", kill_on_drop: false }` [INFO] [stdout] 19c01b14a9364a634e2cd123e6a41fa27f001ce96f31144886431518863c5fb0