[INFO] cloning repository https://github.com/lewisbelcher/rs-blocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lewisbelcher/rs-blocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewisbelcher%2Frs-blocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewisbelcher%2Frs-blocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86406624a9e9a2e66c8e3ff2a2950cc3fe67fbad [INFO] testing lewisbelcher/rs-blocks against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewisbelcher%2Frs-blocks" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lewisbelcher/rs-blocks on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lewisbelcher/rs-blocks [INFO] removed path dependency rs-blocks-derive from git repo https://github.com/lewisbelcher/rs-blocks [INFO] finished tweaking git repo https://github.com/lewisbelcher/rs-blocks [INFO] tweaked toml for git repo https://github.com/lewisbelcher/rs-blocks written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/lewisbelcher/rs-blocks already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b7721d94e2269b1996abcd5718aa7024f1eb8f05600c0a42f3a98d10140c675 [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" "6b7721d94e2269b1996abcd5718aa7024f1eb8f05600c0a42f3a98d10140c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b7721d94e2269b1996abcd5718aa7024f1eb8f05600c0a42f3a98d10140c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7721d94e2269b1996abcd5718aa7024f1eb8f05600c0a42f3a98d10140c675", kill_on_drop: false }` [INFO] [stdout] 6b7721d94e2269b1996abcd5718aa7024f1eb8f05600c0a42f3a98d10140c675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b672a44c066d3651f9d02a212ba6b50aac346b72c1a5a927cdffa63cf4d9862b [INFO] running `Command { std: "docker" "start" "-a" "b672a44c066d3651f9d02a212ba6b50aac346b72c1a5a927cdffa63cf4d9862b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling rs-blocks-derive v0.1.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling rs-blocks v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value captured by `symbol` is never read [INFO] [stdout] --> src/blocks/battery.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | symbol = get_symbol(current_status, percent); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "b672a44c066d3651f9d02a212ba6b50aac346b72c1a5a927cdffa63cf4d9862b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b672a44c066d3651f9d02a212ba6b50aac346b72c1a5a927cdffa63cf4d9862b", kill_on_drop: false }` [INFO] [stdout] b672a44c066d3651f9d02a212ba6b50aac346b72c1a5a927cdffa63cf4d9862b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 82e58f1cc65c81f693fcd589cd8363a1cd0c4d4454a474c1f462a4e2f00c68c1 [INFO] running `Command { std: "docker" "start" "-a" "82e58f1cc65c81f693fcd589cd8363a1cd0c4d4454a474c1f462a4e2f00c68c1", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stdout] warning: value captured by `symbol` is never read [INFO] [stdout] --> src/blocks/battery.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | symbol = get_symbol(current_status, percent); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling rs-blocks v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value captured by `symbol` is never read [INFO] [stdout] --> src/blocks/battery.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | symbol = get_symbol(current_status, percent); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 46.59s [INFO] running `Command { std: "docker" "inspect" "82e58f1cc65c81f693fcd589cd8363a1cd0c4d4454a474c1f462a4e2f00c68c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e58f1cc65c81f693fcd589cd8363a1cd0c4d4454a474c1f462a4e2f00c68c1", kill_on_drop: false }` [INFO] [stdout] 82e58f1cc65c81f693fcd589cd8363a1cd0c4d4454a474c1f462a4e2f00c68c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6c488ca55fb6ddac512b1582fe3466472ccd7ed9320f6abe643e28839231bf2 [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" "e6c488ca55fb6ddac512b1582fe3466472ccd7ed9320f6abe643e28839231bf2", kill_on_drop: false }` [INFO] [stderr] warning: value captured by `symbol` is never read [INFO] [stderr] --> src/blocks/battery.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | symbol = get_symbol(current_status, percent); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: value captured by `symbol` is never read [INFO] [stderr] --> src/blocks/battery.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | symbol = get_symbol(current_status, percent); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_blocks-1484e62558456b5f [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test blocks::battery::test::test_wrap_in_colour ... ok [INFO] [stdout] test blocks::battery::test::minutes_to_string_works ... ok [INFO] [stdout] test blocks::block::test::create_json ... ok [INFO] [stdout] test blocks::memory::tests::regex_matches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_blocks-85a40573f864cf52 [INFO] [stderr] Doc-tests rs-blocks [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 [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6c488ca55fb6ddac512b1582fe3466472ccd7ed9320f6abe643e28839231bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c488ca55fb6ddac512b1582fe3466472ccd7ed9320f6abe643e28839231bf2", kill_on_drop: false }` [INFO] [stdout] e6c488ca55fb6ddac512b1582fe3466472ccd7ed9320f6abe643e28839231bf2