[INFO] crate tempfile 3.1.0 is already in cache [INFO] checking tempfile-3.1.0 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] extracting crate tempfile 3.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tempfile 3.1.0 on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tempfile 3.1.0 [INFO] finished tweaking crates.io crate tempfile 3.1.0 [INFO] tweaked toml for crates.io crate tempfile 3.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "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] 5e4870ee05de609e3ba46717509ae18a5375aca06b630a668944e39b0450d10f [INFO] running `"docker" "start" "-a" "5e4870ee05de609e3ba46717509ae18a5375aca06b630a668944e39b0450d10f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:125:24 [INFO] [stderr] | [INFO] [stderr] 125 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]` [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] error: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] error: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:294:17 [INFO] [stderr] | [INFO] [stderr] 294 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `tempfile`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/file/mod.rs:294:17 [INFO] [stderr] | [INFO] [stderr] 294 | mem::replace(&mut self.path, PathBuf::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "5e4870ee05de609e3ba46717509ae18a5375aca06b630a668944e39b0450d10f"` [INFO] running `"docker" "rm" "-f" "5e4870ee05de609e3ba46717509ae18a5375aca06b630a668944e39b0450d10f"` [INFO] [stdout] 5e4870ee05de609e3ba46717509ae18a5375aca06b630a668944e39b0450d10f