[INFO] cloning repository https://github.com/zsiegel/rustgrep [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zsiegel/rustgrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsiegel%2Frustgrep"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsiegel%2Frustgrep'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fbcc0642347c1d92a3d2b449e59ebc7d358721c4 [INFO] checking zsiegel/rustgrep against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsiegel%2Frustgrep" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zsiegel/rustgrep on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zsiegel/rustgrep [INFO] finished tweaking git repo https://github.com/zsiegel/rustgrep [INFO] tweaked toml for git repo https://github.com/zsiegel/rustgrep written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zsiegel/rustgrep already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 893910b5891d92afcc2f30d6395fc9331607415d3991878d20ac7f479233dab1 [INFO] running `"docker" "start" "-a" "893910b5891d92afcc2f30d6395fc9331607415d3991878d20ac7f479233dab1"` [INFO] [stderr] Checking rustgrep v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:36:46 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn run(config: Config) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:36:46 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn run(config: Config) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stderr] --> src/lib.rs:63:47 [INFO] [stderr] | [INFO] [stderr] 63 | ... contents: content.trim_left().to_string(), [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stderr] --> src/lib.rs:63:47 [INFO] [stderr] | [INFO] [stderr] 63 | ... contents: content.trim_left().to_string(), [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | search(query, contents) [INFO] [stderr] | ^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected mutable reference `&mut std::io::BufReader` [INFO] [stderr] found reference `&str` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rustgrep`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "893910b5891d92afcc2f30d6395fc9331607415d3991878d20ac7f479233dab1"` [INFO] running `"docker" "rm" "-f" "893910b5891d92afcc2f30d6395fc9331607415d3991878d20ac7f479233dab1"` [INFO] [stdout] 893910b5891d92afcc2f30d6395fc9331607415d3991878d20ac7f479233dab1