[INFO] fetching crate os_type 2.2.0... [INFO] checking os_type-2.2.0 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] extracting crate os_type 2.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate os_type 2.2.0 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate os_type 2.2.0 [INFO] finished tweaking crates.io crate os_type 2.2.0 [INFO] tweaked toml for crates.io crate os_type 2.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c142e9169c30767352171cf9fb8acd3c08f979a57eb475649de087f120f17f63 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c142e9169c30767352171cf9fb8acd3c08f979a57eb475649de087f120f17f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c142e9169c30767352171cf9fb8acd3c08f979a57eb475649de087f120f17f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c142e9169c30767352171cf9fb8acd3c08f979a57eb475649de087f120f17f63", kill_on_drop: false }` [INFO] [stdout] c142e9169c30767352171cf9fb8acd3c08f979a57eb475649de087f120f17f63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c30076bb2f364423b29af12d0e6e03d90bab2255774dab57621e73afea27930b [INFO] running `Command { std: "docker" "start" "-a" "c30076bb2f364423b29af12d0e6e03d90bab2255774dab57621e73afea27930b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking os_type v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/os_release.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WindowsVer` [INFO] [stdout] --> src/windows_ver.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WindowsVer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve` [INFO] [stdout] --> src/windows_ver.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn retrieve() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/windows_ver.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(output: String) -> WindowsVer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_os_x` [INFO] [stdout] --> src/sw_vers.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_os_x() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WindowsVer` [INFO] [stdout] --> src/windows_ver.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WindowsVer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve` [INFO] [stdout] --> src/windows_ver.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn retrieve() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/windows_ver.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(output: String) -> WindowsVer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_os_x` [INFO] [stdout] --> src/sw_vers.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_os_x() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve` [INFO] [stdout] --> tests/../src/lsb_release.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn retrieve() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_available` [INFO] [stdout] --> tests/../src/lsb_release.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_available() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_exists` [INFO] [stdout] --> tests/../src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn file_exists>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> tests/../src/rhel_release.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn read_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve` [INFO] [stdout] --> tests/../src/rhel_release.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn retrieve() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_exists` [INFO] [stdout] --> tests/../src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn file_exists>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_os_x` [INFO] [stdout] --> tests/../src/sw_vers.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_os_x() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve` [INFO] [stdout] --> tests/../src/sw_vers.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn retrieve() -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_exists` [INFO] [stdout] --> tests/../src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn file_exists>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.32s [INFO] running `Command { std: "docker" "inspect" "c30076bb2f364423b29af12d0e6e03d90bab2255774dab57621e73afea27930b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30076bb2f364423b29af12d0e6e03d90bab2255774dab57621e73afea27930b", kill_on_drop: false }` [INFO] [stdout] c30076bb2f364423b29af12d0e6e03d90bab2255774dab57621e73afea27930b