[INFO] fetching crate os_type 2.2.0... [INFO] checking os_type-2.2.0 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] extracting crate os_type 2.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate os_type 2.2.0 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", 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] 18217ecd72a4b6c209d107efd1c467801d9c77880f5bddbf5dad23052d2e2b4a [INFO] running `Command { std: "docker" "start" "-a" "18217ecd72a4b6c209d107efd1c467801d9c77880f5bddbf5dad23052d2e2b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18217ecd72a4b6c209d107efd1c467801d9c77880f5bddbf5dad23052d2e2b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18217ecd72a4b6c209d107efd1c467801d9c77880f5bddbf5dad23052d2e2b4a", kill_on_drop: false }` [INFO] [stdout] 18217ecd72a4b6c209d107efd1c467801d9c77880f5bddbf5dad23052d2e2b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "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] e31931962fe92b1e0b4b40b03461abb0bf04311e4c18b4a23ddaf22a6f6f8483 [INFO] running `Command { std: "docker" "start" "-a" "e31931962fe92b1e0b4b40b03461abb0bf04311e4c18b4a23ddaf22a6f6f8483", 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.22 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.3 [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: 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: 5 warnings emitted [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: `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: `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 7.75s [INFO] running `Command { std: "docker" "inspect" "e31931962fe92b1e0b4b40b03461abb0bf04311e4c18b4a23ddaf22a6f6f8483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31931962fe92b1e0b4b40b03461abb0bf04311e4c18b4a23ddaf22a6f6f8483", kill_on_drop: false }` [INFO] [stdout] e31931962fe92b1e0b4b40b03461abb0bf04311e4c18b4a23ddaf22a6f6f8483