[INFO] cloning repository https://github.com/iamazy/rust-cookbook-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamazy/rust-cookbook-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9655bc474384f12ed96d3d75ee65931d65ba9c6 [INFO] testing iamazy/rust-cookbook-code against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamazy/rust-cookbook-code on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] finished tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] tweaked toml for git repo https://github.com/iamazy/rust-cookbook-code written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/iamazy/rust-cookbook-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89eed0fb994bc40f1b4e5ab7f5bc1d716f7863e322d0e5f43b4c1f251a021343 [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" "89eed0fb994bc40f1b4e5ab7f5bc1d716f7863e322d0e5f43b4c1f251a021343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89eed0fb994bc40f1b4e5ab7f5bc1d716f7863e322d0e5f43b4c1f251a021343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89eed0fb994bc40f1b4e5ab7f5bc1d716f7863e322d0e5f43b4c1f251a021343", kill_on_drop: false }` [INFO] [stdout] 89eed0fb994bc40f1b4e5ab7f5bc1d716f7863e322d0e5f43b4c1f251a021343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ce056134c57e42954c9d65363c11244786284b16976513e7e124fc0802e7bd9 [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" "1ce056134c57e42954c9d65363c11244786284b16976513e7e124fc0802e7bd9", kill_on_drop: false }` [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling slog-stdlog v3.0.5 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling protobuf-build v0.8.0 [INFO] [stderr] Compiling image v0.23.0 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha [INFO] [stderr] Compiling raft v0.6.0-alpha [INFO] [stderr] Compiling rust-cookbook-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.55s [INFO] running `Command { std: "docker" "inspect" "1ce056134c57e42954c9d65363c11244786284b16976513e7e124fc0802e7bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce056134c57e42954c9d65363c11244786284b16976513e7e124fc0802e7bd9", kill_on_drop: false }` [INFO] [stdout] 1ce056134c57e42954c9d65363c11244786284b16976513e7e124fc0802e7bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fbd0f62811e56ef9fc7d932e45c606377deae3b8c406db7786d662fdc65d5ed [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" "1fbd0f62811e56ef9fc7d932e45c606377deae3b8c406db7786d662fdc65d5ed", kill_on_drop: false }` [INFO] [stderr] Compiling rust-cookbook-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> examples/unpin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | std::mem::replace(&mut *pinned_string, "other".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "1fbd0f62811e56ef9fc7d932e45c606377deae3b8c406db7786d662fdc65d5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbd0f62811e56ef9fc7d932e45c606377deae3b8c406db7786d662fdc65d5ed", kill_on_drop: false }` [INFO] [stdout] 1fbd0f62811e56ef9fc7d932e45c606377deae3b8c406db7786d662fdc65d5ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb9f9f28e638e0d0d3352feda8e5809cc94cf57df87acba16caeab34d998178b [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" "fb9f9f28e638e0d0d3352feda8e5809cc94cf57df87acba16caeab34d998178b", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> examples/unpin.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | std::mem::replace(&mut *pinned_string, "other".to_string()); [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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_cookbook_code-270a077abdf052df) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fb9f9f28e638e0d0d3352feda8e5809cc94cf57df87acba16caeab34d998178b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9f9f28e638e0d0d3352feda8e5809cc94cf57df87acba16caeab34d998178b", kill_on_drop: false }` [INFO] [stdout] fb9f9f28e638e0d0d3352feda8e5809cc94cf57df87acba16caeab34d998178b