[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] testing sw9e23/rapl-rust-test against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw9e23%2Frapl-rust-test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sw9e23/rapl-rust-test on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e241a83ddab132eeed3cb9f4b418997e4a63d72a49c4923dc723ee2a127a8ec8 [INFO] running `Command { std: "docker" "start" "-a" "e241a83ddab132eeed3cb9f4b418997e4a63d72a49c4923dc723ee2a127a8ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e241a83ddab132eeed3cb9f4b418997e4a63d72a49c4923dc723ee2a127a8ec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e241a83ddab132eeed3cb9f4b418997e4a63d72a49c4923dc723ee2a127a8ec8", kill_on_drop: false }` [INFO] [stdout] e241a83ddab132eeed3cb9f4b418997e4a63d72a49c4923dc723ee2a127a8ec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0573038e6406dc0fe9ecba24b203e87b0cb3eae1bc40f3709cb1136bb166517 [INFO] running `Command { std: "docker" "start" "-a" "c0573038e6406dc0fe9ecba24b203e87b0cb3eae1bc40f3709cb1136bb166517", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [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 thiserror v1.0.49 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling windows-core v0.51.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling windows v0.51.1 [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] Compiling 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: 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] Compiling rapl-bin v0.1.0 (/opt/rustwide/workdir/rapl-bin) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "c0573038e6406dc0fe9ecba24b203e87b0cb3eae1bc40f3709cb1136bb166517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0573038e6406dc0fe9ecba24b203e87b0cb3eae1bc40f3709cb1136bb166517", kill_on_drop: false }` [INFO] [stdout] c0573038e6406dc0fe9ecba24b203e87b0cb3eae1bc40f3709cb1136bb166517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfc39e25f50e5fe63da65d0adb0451bd6a786d47203d12818679b9a855f262d [INFO] running `Command { std: "docker" "start" "-a" "fcfc39e25f50e5fe63da65d0adb0451bd6a786d47203d12818679b9a855f262d", kill_on_drop: false }` [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] [stderr] Compiling rapl-lib v0.1.0 (/opt/rustwide/workdir/rapl-lib) [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] Compiling rapl-bin v0.1.0 (/opt/rustwide/workdir/rapl-bin) [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "fcfc39e25f50e5fe63da65d0adb0451bd6a786d47203d12818679b9a855f262d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfc39e25f50e5fe63da65d0adb0451bd6a786d47203d12818679b9a855f262d", kill_on_drop: false }` [INFO] [stdout] fcfc39e25f50e5fe63da65d0adb0451bd6a786d47203d12818679b9a855f262d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a62709ed54a5f12efce7e82bfe113dcb9acc43e1272182818caa01d94d6b2e0 [INFO] running `Command { std: "docker" "start" "-a" "7a62709ed54a5f12efce7e82bfe113dcb9acc43e1272182818caa01d94d6b2e0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:32:7 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:66:7 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:107:7 [INFO] [stderr] | [INFO] [stderr] 107 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:200:7 [INFO] [stderr] | [INFO] [stderr] 200 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:210:7 [INFO] [stderr] | [INFO] [stderr] 210 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:224:7 [INFO] [stderr] | [INFO] [stderr] 224 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:246:7 [INFO] [stderr] | [INFO] [stderr] 246 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `intel` [INFO] [stderr] --> rapl-lib/src/rapl.rs:189:11 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg(intel)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(intel)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(intel)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `amd` [INFO] [stderr] --> rapl-lib/src/rapl.rs:194:11 [INFO] [stderr] | [INFO] [stderr] 194 | #[cfg(amd)] [INFO] [stderr] | ^^^ help: found config with similar value: `target_vendor = "amd"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(amd)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(amd)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> rapl-lib/src/rapl.rs:154:30 [INFO] [stderr] | [INFO] [stderr] 154 | let wtr = match unsafe { CSV_WRITER.as_mut() } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> rapl-lib/src/rapl.rs:176:22 [INFO] [stderr] | [INFO] [stderr] 176 | unsafe { CSV_WRITER.as_mut().expect("failed to get CSV writer") } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `rapl-lib` (lib) generated 14 warnings [INFO] [stderr] warning: `rapl-lib` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rapl_bin-d5bb612ced02378a) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rapl_lib-a7524d38536aad5c) [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] [stderr] Doc-tests rapl_lib [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" "7a62709ed54a5f12efce7e82bfe113dcb9acc43e1272182818caa01d94d6b2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a62709ed54a5f12efce7e82bfe113dcb9acc43e1272182818caa01d94d6b2e0", kill_on_drop: false }` [INFO] [stdout] 7a62709ed54a5f12efce7e82bfe113dcb9acc43e1272182818caa01d94d6b2e0