[INFO] updating cached repository https://github.com/mdibaiee/rust-shell [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f539e4c8f1cfccf840c145d856bee997d3f26ac7 [INFO] checking mdibaiee/rust-shell against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Frust-shell" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdibaiee/rust-shell on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mdibaiee/rust-shell [INFO] finished tweaking git repo https://github.com/mdibaiee/rust-shell [INFO] tweaked toml for git repo https://github.com/mdibaiee/rust-shell written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mdibaiee/rust-shell already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "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] e37252a3665aae10da48f57ff286db28e8d00cf3f277ee16a1602e25d1ddd043 [INFO] running `"docker" "start" "-a" "e37252a3665aae10da48f57ff286db28e8d00cf3f277ee16a1602e25d1ddd043"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0283]: type annotations needed for `&std::string::String` [INFO] [stderr] --> src/commands/echo.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | let break_option = options_iter.position(|x| *x == "break".to_string()); [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&std::string::String`, where the type parameter `std::string::String` is specified [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `rust-shell`. [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[E0283]: type annotations needed for `&std::string::String` [INFO] [stderr] --> src/commands/echo.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | let break_option = options_iter.position(|x| *x == "break".to_string()); [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&std::string::String`, where the type parameter `std::string::String` is specified [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `rust-shell`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e37252a3665aae10da48f57ff286db28e8d00cf3f277ee16a1602e25d1ddd043"` [INFO] running `"docker" "rm" "-f" "e37252a3665aae10da48f57ff286db28e8d00cf3f277ee16a1602e25d1ddd043"` [INFO] [stdout] e37252a3665aae10da48f57ff286db28e8d00cf3f277ee16a1602e25d1ddd043