[INFO] fetching crate loc 0.5.0... [INFO] testing loc-0.5.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate loc 0.5.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate loc 0.5.0 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 crates.io crate loc 0.5.0 [INFO] finished tweaking crates.io crate loc 0.5.0 [INFO] tweaked toml for crates.io crate loc 0.5.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 97d1f29a50f36fffdf6ef809493d3c33d13b6aa3bfbd0742ef821a365290fcd4 [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" "97d1f29a50f36fffdf6ef809493d3c33d13b6aa3bfbd0742ef821a365290fcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d1f29a50f36fffdf6ef809493d3c33d13b6aa3bfbd0742ef821a365290fcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d1f29a50f36fffdf6ef809493d3c33d13b6aa3bfbd0742ef821a365290fcd4", kill_on_drop: false }` [INFO] [stdout] 97d1f29a50f36fffdf6ef809493d3c33d13b6aa3bfbd0742ef821a365290fcd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] b3685d9afa31a1b51e3c58077877cc28c002967a8413b17f9db5f3acfb989008 [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" "b3685d9afa31a1b51e3c58077877cc28c002967a8413b17f9db5f3acfb989008", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling deque v0.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling loc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | let line = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:661:29 [INFO] [stdout] | [INFO] [stdout] 661 | let (_, mut end) = multi_stack.last().expect("stack last"); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.98s [INFO] running `Command { std: "docker" "inspect" "b3685d9afa31a1b51e3c58077877cc28c002967a8413b17f9db5f3acfb989008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3685d9afa31a1b51e3c58077877cc28c002967a8413b17f9db5f3acfb989008", kill_on_drop: false }` [INFO] [stdout] b3685d9afa31a1b51e3c58077877cc28c002967a8413b17f9db5f3acfb989008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a6da60ab5db8f435b3648697c2faca2e84de8309e85efc59184a373b4a021a18 [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" "a6da60ab5db8f435b3648697c2faca2e84de8309e85efc59184a373b4a021a18", kill_on_drop: false }` [INFO] [stderr] Compiling loc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | let line = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:661:29 [INFO] [stdout] | [INFO] [stdout] 661 | let (_, mut end) = multi_stack.last().expect("stack last"); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | let line = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:661:29 [INFO] [stdout] | [INFO] [stdout] 661 | let (_, mut end) = multi_stack.last().expect("stack last"); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "a6da60ab5db8f435b3648697c2faca2e84de8309e85efc59184a373b4a021a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6da60ab5db8f435b3648697c2faca2e84de8309e85efc59184a373b4a021a18", kill_on_drop: false }` [INFO] [stdout] a6da60ab5db8f435b3648697c2faca2e84de8309e85efc59184a373b4a021a18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 26f655af1d34b20ea41537865574d82447ef88d950eb8ff843d89c457b9ebd8d [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" "26f655af1d34b20ea41537865574d82447ef88d950eb8ff843d89c457b9ebd8d", 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] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:592:25 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 592 | let line = line.trim_left(); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:661:29 [INFO] [stderr] | [INFO] [stderr] 661 | let (_, mut end) = multi_stack.last().expect("stack last"); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/lib.rs:592:25 [INFO] [stderr] | [INFO] [stderr] 592 | let line = line.trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:661:29 [INFO] [stderr] | [INFO] [stderr] 661 | let (_, mut end) = multi_stack.last().expect("stack last"); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/loc-90588b4f0ed9aa24) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/loc-a34836634dd041a6) [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] [stderr] Running tests/count.rs (/opt/rustwide/target/debug/deps/count-1fb8d2478f037e21) [INFO] [stdout] [INFO] [stdout] running 85 tests [INFO] [stdout] test dumb_blank ... ok [INFO] [stdout] test dumb_count ... ok [INFO] [stdout] test ada_lines ... ok [INFO] [stdout] test groovy_code ... ok [INFO] [stdout] test ipl_code ... ok [INFO] [stdout] test ada_code ... ok [INFO] [stdout] test dumb_comment ... ok [INFO] [stdout] test ada_comment ... ok [INFO] [stdout] test dumb_lines ... ok [INFO] [stdout] test gherkin_code ... ok [INFO] [stdout] test handlebars_blank ... ok [INFO] [stdout] test gherkin_comment ... ok [INFO] [stdout] test gherkin_blank ... ok [INFO] [stdout] test nested_haskell_code ... ok [INFO] [stdout] test lua_lines ... ok [INFO] [stdout] test lua_comment ... ok [INFO] [stdout] test groovy_lines ... ok [INFO] [stdout] test nested_haskell_count ... ok [INFO] [stdout] test handlebars_comment ... ok [INFO] [stdout] test handlebars_count ... ok [INFO] [stdout] test ipl_count ... ok [INFO] [stdout] test ada_count ... ok [INFO] [stdout] test gherkin_lines ... ok [INFO] [stdout] test groovy_blank ... ok [INFO] [stdout] test ipl_blank ... ok [INFO] [stdout] test ebc_count ... ok [INFO] [stdout] test dumb_code ... ok [INFO] [stdout] test nix_blank ... ok [INFO] [stdout] test ipl_lines ... ok [INFO] [stdout] test groovy_count ... ok [INFO] [stdout] test lua_count ... ok [INFO] [stdout] test nested_haskell_blank ... ok [INFO] [stdout] test lua_code ... ok [INFO] [stdout] test nested_haskell_comment ... ok [INFO] [stdout] test nested_haskell_lines ... ok [INFO] [stdout] test handlebars_lines ... ok [INFO] [stdout] test ipl_comment ... ok [INFO] [stdout] test ebc_comment ... ok [INFO] [stdout] test handlebars_code ... ok [INFO] [stdout] test evc_blank ... ok [INFO] [stdout] test ebc_code ... ok [INFO] [stdout] test lua_blank ... ok [INFO] [stdout] test nix_comment ... ok [INFO] [stdout] test nix_count ... ok [INFO] [stdout] test nix_lines ... ok [INFO] [stdout] test powershell_comment ... ok [INFO] [stdout] test nix_code ... ok [INFO] [stdout] test ocaml_comment ... ok [INFO] [stdout] test ada_blank ... ok [INFO] [stdout] test ocaml_count ... ok [INFO] [stdout] test ocaml_lines ... ok [INFO] [stdout] test groovy_comment ... ok [INFO] [stdout] test powershell_blank ... ok [INFO] [stdout] test ruby_code ... ok [INFO] [stdout] test powershell_count ... ok [INFO] [stdout] test ruby_comment ... ok [INFO] [stdout] test ruby_blank ... ok [INFO] [stdout] test ebc_lines ... ok [INFO] [stdout] test ocaml_blank ... ok [INFO] [stdout] test powershell_lines ... ok [INFO] [stdout] test terraform_lines ... ok [INFO] [stdout] test powershell_code ... ok [INFO] [stdout] test gherkin_count ... ok [INFO] [stdout] test terraform_blank ... ok [INFO] [stdout] test terraform_count ... ok [INFO] [stdout] test ruby_lines ... ok [INFO] [stdout] test zig_count ... ok [INFO] [stdout] test zig_lines ... ok [INFO] [stdout] test terraform_code ... ok [INFO] [stdout] test test_fe_lines ... ok [INFO] [stdout] test test_fe_count ... ok [INFO] [stdout] test test_fe_comment ... ok [INFO] [stdout] test test_fe_code ... ok [INFO] [stdout] test terraform_comment ... ok [INFO] [stdout] test zig_blank ... ok [INFO] [stdout] test zig_code ... ok [INFO] [stdout] test test_fe_blank ... ok [INFO] [stdout] test ocaml_code ... ok [INFO] [stdout] test ruby_count ... ok [INFO] [stdout] test zig_comment ... ok [INFO] [stdout] test t_plasma_comment ... ok [INFO] [stdout] test t_plasma_blank ... ok [INFO] [stdout] test t_plasma_lines ... ok [INFO] [stdout] test t_plasma_code ... ok [INFO] [stdout] test t_plasma_count ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 85 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stderr] Doc-tests loc [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" "26f655af1d34b20ea41537865574d82447ef88d950eb8ff843d89c457b9ebd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f655af1d34b20ea41537865574d82447ef88d950eb8ff843d89c457b9ebd8d", kill_on_drop: false }` [INFO] [stdout] 26f655af1d34b20ea41537865574d82447ef88d950eb8ff843d89c457b9ebd8d