[INFO] fetching crate rlocc 0.2.1... [INFO] building rlocc-0.2.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rlocc 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rlocc 0.2.1 [INFO] finished tweaking crates.io crate rlocc 0.2.1 [INFO] tweaked toml for crates.io crate rlocc 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rlocc 0.2.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rlocc 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 589cc64b53b90018f8a4e2041a015744d8739c7761d999eb703d07af42f68dff [INFO] running `Command { std: "docker" "start" "-a" "589cc64b53b90018f8a4e2041a015744d8739c7761d999eb703d07af42f68dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "589cc64b53b90018f8a4e2041a015744d8739c7761d999eb703d07af42f68dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589cc64b53b90018f8a4e2041a015744d8739c7761d999eb703d07af42f68dff", kill_on_drop: false }` [INFO] [stdout] 589cc64b53b90018f8a4e2041a015744d8739c7761d999eb703d07af42f68dff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01392cc00971981971e2aa3845d69a9d2e5ef31646eab80f2e20ecbe8abb6631 [INFO] running `Command { std: "docker" "start" "-a" "01392cc00971981971e2aa3845d69a9d2e5ef31646eab80f2e20ecbe8abb6631", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rlocc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/locc/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locc/count.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "01392cc00971981971e2aa3845d69a9d2e5ef31646eab80f2e20ecbe8abb6631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01392cc00971981971e2aa3845d69a9d2e5ef31646eab80f2e20ecbe8abb6631", kill_on_drop: false }` [INFO] [stdout] 01392cc00971981971e2aa3845d69a9d2e5ef31646eab80f2e20ecbe8abb6631 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0c126882a9a1f19a769b0a5e834e16f5bf30ffdcacb4127e557ad8d62e642ed [INFO] running `Command { std: "docker" "start" "-a" "a0c126882a9a1f19a769b0a5e834e16f5bf30ffdcacb4127e557ad8d62e642ed", kill_on_drop: false }` [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/locc/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locc/count.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rlocc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/locc/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `A` is never constructed [INFO] [stdout] --> src/locc/states.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | struct A<'a> { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/locc/states.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 466 | impl A<'_> { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 467 | #[inline] [INFO] [stdout] 468 | fn new(lang: &'static Language) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_initial_empty_line` is never used [INFO] [stdout] --> src/locc/states.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | fn state_initial_empty_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locc/count.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn count_all(config: &Config) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "a0c126882a9a1f19a769b0a5e834e16f5bf30ffdcacb4127e557ad8d62e642ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c126882a9a1f19a769b0a5e834e16f5bf30ffdcacb4127e557ad8d62e642ed", kill_on_drop: false }` [INFO] [stdout] a0c126882a9a1f19a769b0a5e834e16f5bf30ffdcacb4127e557ad8d62e642ed