[INFO] cloning repository https://github.com/sw9e23/rapl-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sw9e23/rapl-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw9e23%2Frapl-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw9e23%2Frapl-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8d4bb0847e37ba3facb78af70e642a0204872a5 [INFO] checking sw9e23/rapl-rust-test against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw9e23%2Frapl-rust-test" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sw9e23/rapl-rust-test on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sw9e23/rapl-rust-test [INFO] finished tweaking git repo https://github.com/sw9e23/rapl-rust-test [INFO] tweaked toml for git repo https://github.com/sw9e23/rapl-rust-test written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sw9e23/rapl-rust-test 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f51bc43b4a94ecb8b07d6a47f642c65082a5af78ae4d376e40b7565063d04e93 [INFO] running `Command { std: "docker" "start" "-a" "f51bc43b4a94ecb8b07d6a47f642c65082a5af78ae4d376e40b7565063d04e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f51bc43b4a94ecb8b07d6a47f642c65082a5af78ae4d376e40b7565063d04e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51bc43b4a94ecb8b07d6a47f642c65082a5af78ae4d376e40b7565063d04e93", kill_on_drop: false }` [INFO] [stdout] f51bc43b4a94ecb8b07d6a47f642c65082a5af78ae4d376e40b7565063d04e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de354ff42fa4b36edb1f34d13b3b5bd5a4c834ba248950b99c775ffe41b99fe5 [INFO] running `Command { std: "docker" "start" "-a" "de354ff42fa4b36edb1f34d13b3b5bd5a4c834ba248950b99c775ffe41b99fe5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling sysinfo v0.29.10 [INFO] [stderr] Compiling rapl-lib v0.1.0 (/opt/rustwide/workdir/rapl-lib) [INFO] [stderr] Checking csv v1.2.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:246:7 [INFO] [stdout] | [INFO] [stdout] 246 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:246:7 [INFO] [stdout] | [INFO] [stdout] 246 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `intel` [INFO] [stdout] --> rapl-lib/src/rapl.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg(intel)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `amd` [INFO] [stdout] --> rapl-lib/src/rapl.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(amd)] [INFO] [stdout] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> rapl-lib/src/rapl.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | let wtr = match unsafe { CSV_WRITER.as_mut() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> rapl-lib/src/rapl.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe { CSV_WRITER.as_mut().expect("failed to get CSV writer") } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rapl-bin v0.1.0 (/opt/rustwide/workdir/rapl-bin) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> rapl-lib/src/rapl.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | let wtr = match unsafe { CSV_WRITER.as_mut() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> rapl-lib/src/rapl.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe { CSV_WRITER.as_mut().expect("failed to get CSV writer") } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.99s [INFO] running `Command { std: "docker" "inspect" "de354ff42fa4b36edb1f34d13b3b5bd5a4c834ba248950b99c775ffe41b99fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de354ff42fa4b36edb1f34d13b3b5bd5a4c834ba248950b99c775ffe41b99fe5", kill_on_drop: false }` [INFO] [stdout] de354ff42fa4b36edb1f34d13b3b5bd5a4c834ba248950b99c775ffe41b99fe5