[INFO] fetching crate persistence 0.0.5... [INFO] checking persistence-0.0.5 against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] extracting crate persistence 0.0.5 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate persistence 0.0.5 on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate persistence 0.0.5 [INFO] finished tweaking crates.io crate persistence 0.0.5 [INFO] tweaked toml for crates.io crate persistence 0.0.5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ceed852a4d4fd2e1027c0a560a1f92aa869b11162db97ccb87284f37cb3c266 [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" "3ceed852a4d4fd2e1027c0a560a1f92aa869b11162db97ccb87284f37cb3c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ceed852a4d4fd2e1027c0a560a1f92aa869b11162db97ccb87284f37cb3c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ceed852a4d4fd2e1027c0a560a1f92aa869b11162db97ccb87284f37cb3c266", kill_on_drop: false }` [INFO] [stdout] 3ceed852a4d4fd2e1027c0a560a1f92aa869b11162db97ccb87284f37cb3c266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df9e0d1b0dd9417e1faa7055581618c648ad62ded5ad0c2db372639cd1da65b3 [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" "df9e0d1b0dd9417e1faa7055581618c648ad62ded5ad0c2db372639cd1da65b3", kill_on_drop: false }` [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking persistence v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let mut mm = unsafe { MmapMut::map_mut(&file)? }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/lib.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | file: File, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mm` [INFO] [stdout] --> src/lib.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | mm: MmapMut, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | assert!(mv_err.description().ends_with("Magic bytes mismatch.")); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | assert!(mv_err.description().contains("shorter than the expected header size")); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:436:20 [INFO] [stdout] | [INFO] [stdout] 436 | assert!(mv_err.description().contains("not an integer multiple of the size of the data type")); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:456:20 [INFO] [stdout] | [INFO] [stdout] 456 | assert!(mv_err.description().ends_with("Endianness-marker invalid.")); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | assert!(mv_err.description().ends_with("Wrong endianness.")); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let mut mm = unsafe { MmapMut::map_mut(&file)? }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/lib.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | file: File, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mm` [INFO] [stdout] --> src/lib.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | mm: MmapMut, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.95s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df9e0d1b0dd9417e1faa7055581618c648ad62ded5ad0c2db372639cd1da65b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9e0d1b0dd9417e1faa7055581618c648ad62ded5ad0c2db372639cd1da65b3", kill_on_drop: false }` [INFO] [stdout] df9e0d1b0dd9417e1faa7055581618c648ad62ded5ad0c2db372639cd1da65b3