[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code" "/workspace/builds/worker-43/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-43/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamazy/rust-cookbook-code on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-43/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-codegen v2.0.6 [INFO] [stderr] Downloaded protobuf v2.0.6 [INFO] [stderr] Downloaded data-encoding v2.2.0 [INFO] [stderr] Downloaded getset v0.0.7 [INFO] [stderr] Downloaded slog-stdlog v3.0.5 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded raft-proto v0.6.0-alpha [INFO] [stderr] Downloaded raft v0.6.0-alpha [INFO] [stderr] Downloaded protobuf-build v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d98d441aeac6e7c671b60989de9b5c8dc8be18817ad32ffbb8b92f1e22e6df [INFO] running `Command { std: "docker" "start" "-a" "86d98d441aeac6e7c671b60989de9b5c8dc8be18817ad32ffbb8b92f1e22e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d98d441aeac6e7c671b60989de9b5c8dc8be18817ad32ffbb8b92f1e22e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d98d441aeac6e7c671b60989de9b5c8dc8be18817ad32ffbb8b92f1e22e6df", kill_on_drop: false }` [INFO] [stdout] 86d98d441aeac6e7c671b60989de9b5c8dc8be18817ad32ffbb8b92f1e22e6df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18da9e3eb256e07517931cfa68f0410143dbb8ec79ff0f0dda456ab21a7cb167 [INFO] running `Command { std: "docker" "start" "-a" "18da9e3eb256e07517931cfa68f0410143dbb8ec79ff0f0dda456ab21a7cb167", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling iovec v0.1.4 [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 atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling slog-stdlog v3.0.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling image v0.23.0 [INFO] [stderr] Compiling protobuf-build v0.8.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 30.41s [INFO] running `Command { std: "docker" "inspect" "18da9e3eb256e07517931cfa68f0410143dbb8ec79ff0f0dda456ab21a7cb167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18da9e3eb256e07517931cfa68f0410143dbb8ec79ff0f0dda456ab21a7cb167", kill_on_drop: false }` [INFO] [stdout] 18da9e3eb256e07517931cfa68f0410143dbb8ec79ff0f0dda456ab21a7cb167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2e828b484590a0aed88cc419d3cb79f1e4e10ebb634f360b14a5213ca0a64ab [INFO] running `Command { std: "docker" "start" "-a" "e2e828b484590a0aed88cc419d3cb79f1e4e10ebb634f360b14a5213ca0a64ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 0.78s [INFO] running `Command { std: "docker" "inspect" "e2e828b484590a0aed88cc419d3cb79f1e4e10ebb634f360b14a5213ca0a64ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e828b484590a0aed88cc419d3cb79f1e4e10ebb634f360b14a5213ca0a64ab", kill_on_drop: false }` [INFO] [stdout] e2e828b484590a0aed88cc419d3cb79f1e4e10ebb634f360b14a5213ca0a64ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c9cea4bcae514c3d5de9fdd1bf7765f9af2f6b7108e9cc971d43506ad402464 [INFO] running `Command { std: "docker" "start" "-a" "3c9cea4bcae514c3d5de9fdd1bf7765f9af2f6b7108e9cc971d43506ad402464", 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: `rust-cookbook-code` (example "unpin") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_cookbook_code-1d3a2bfe52e76b9c) [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" "3c9cea4bcae514c3d5de9fdd1bf7765f9af2f6b7108e9cc971d43506ad402464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9cea4bcae514c3d5de9fdd1bf7765f9af2f6b7108e9cc971d43506ad402464", kill_on_drop: false }` [INFO] [stdout] 3c9cea4bcae514c3d5de9fdd1bf7765f9af2f6b7108e9cc971d43506ad402464