[INFO] crate const-if 0.1.3 is already in cache [INFO] checking const-if-0.1.3 against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] extracting crate const-if 0.1.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate const-if 0.1.3 on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate const-if 0.1.3 [INFO] finished tweaking crates.io crate const-if 0.1.3 [INFO] tweaked toml for crates.io crate const-if 0.1.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c4f4f0a6e9880f4641aa1db0cf0873f81b6bd07dc3cd4f96ad632a8117fbf87e [INFO] running `"docker" "start" "-a" "c4f4f0a6e9880f4641aa1db0cf0873f81b6bd07dc3cd4f96ad632a8117fbf87e"` [INFO] [stderr] Checking const-if v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `min` [INFO] [stderr] --> src/lib.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | const fn min(x: i32, y: i32) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_zero` [INFO] [stderr] --> src/lib.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | const fn is_zero(i: i32) -> &'static str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `compare_to_42` [INFO] [stderr] --> src/lib.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | const fn compare_to_42(i: i32) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int_to_str` [INFO] [stderr] --> src/lib.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | const fn int_to_str(i: i32) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `"docker" "inspect" "c4f4f0a6e9880f4641aa1db0cf0873f81b6bd07dc3cd4f96ad632a8117fbf87e"` [INFO] running `"docker" "rm" "-f" "c4f4f0a6e9880f4641aa1db0cf0873f81b6bd07dc3cd4f96ad632a8117fbf87e"` [INFO] [stdout] c4f4f0a6e9880f4641aa1db0cf0873f81b6bd07dc3cd4f96ad632a8117fbf87e