[INFO] cloning repository https://github.com/werdl/zstr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/werdl/zstr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerdl%2Fzstr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerdl%2Fzstr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fe4a5ea49aa86924ef0406235b42fefa8f9e3c6d
[INFO] checking werdl/zstr against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerdl%2Fzstr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/werdl/zstr
[INFO] finished tweaking git repo https://github.com/werdl/zstr
[INFO] tweaked toml for git repo https://github.com/werdl/zstr written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/werdl/zstr on toolchain 4e55a504843955c97eb06907c71f6f3e99208021
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/werdl/zstr 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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-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" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5051af421d5a2ecb4d7995fa31c5f0b39dd4b43b20ad803289f12345efd8f3b0
[INFO] running `Command { std: "docker" "start" "-a" "5051af421d5a2ecb4d7995fa31c5f0b39dd4b43b20ad803289f12345efd8f3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5051af421d5a2ecb4d7995fa31c5f0b39dd4b43b20ad803289f12345efd8f3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5051af421d5a2ecb4d7995fa31c5f0b39dd4b43b20ad803289f12345efd8f3b0", kill_on_drop: false }`
[INFO] [stdout] 5051af421d5a2ecb4d7995fa31c5f0b39dd4b43b20ad803289f12345efd8f3b0
[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" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db54f89621172af98bf276d778fbd85b4a0635c74de390180ae5a6e251a9aa00
[INFO] running `Command { std: "docker" "start" "-a" "db54f89621172af98bf276d778fbd85b4a0635c74de390180ae5a6e251a9aa00", kill_on_drop: false }`
[INFO] [stderr]     Checking nstr v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DEFAULT_BUFFER_SIZE`
[INFO] [stdout]  --> src/tostring.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{String, DEFAULT_BUFFER_SIZE};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `methods::*`
[INFO] [stdout]   --> src/lib.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub use methods::*;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `vec`
[INFO] [stdout]   --> src/lib.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 | macro_rules! vec {
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `string`
[INFO] [stdout]   --> src/lib.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | macro_rules! string {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DEFAULT_BUFFER_SIZE`
[INFO] [stdout]  --> src/tostring.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{String, DEFAULT_BUFFER_SIZE};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `methods::*`
[INFO] [stdout]   --> src/lib.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub use methods::*;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/methods.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn chars(&self) -> core::str::Chars {
[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] 41 |     pub fn chars(&self) -> core::str::Chars<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/methods.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn lines(&self) -> core::str::Lines {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn lines(&self) -> core::str::Lines<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/methods.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn chars(&self) -> core::str::Chars {
[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] 41 |     pub fn chars(&self) -> core::str::Chars<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/vec.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         write!(f, "]");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = write!(f, "]");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/methods.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn lines(&self) -> core::str::Lines {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn lines(&self) -> core::str::Lines<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/vec.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         write!(f, "]");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = write!(f, "]");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "db54f89621172af98bf276d778fbd85b4a0635c74de390180ae5a6e251a9aa00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db54f89621172af98bf276d778fbd85b4a0635c74de390180ae5a6e251a9aa00", kill_on_drop: false }`
[INFO] [stdout] db54f89621172af98bf276d778fbd85b4a0635c74de390180ae5a6e251a9aa00
