[INFO] cloning repository https://github.com/mdibaiee/rust-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdibaiee/rust-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Frust-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Frust-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f539e4c8f1cfccf840c145d856bee997d3f26ac7 [INFO] testing mdibaiee/rust-shell against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Frust-shell" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdibaiee/rust-shell on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/mdibaiee/rust-shell already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 430e247302a2fa578d485228a6c645ae8cd4126aafcc7c62376fea583f2dfbb2 [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" "430e247302a2fa578d485228a6c645ae8cd4126aafcc7c62376fea583f2dfbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430e247302a2fa578d485228a6c645ae8cd4126aafcc7c62376fea583f2dfbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430e247302a2fa578d485228a6c645ae8cd4126aafcc7c62376fea583f2dfbb2", kill_on_drop: false }` [INFO] [stdout] 430e247302a2fa578d485228a6c645ae8cd4126aafcc7c62376fea583f2dfbb2 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1270a3ac21e53b74c8db2a4321c6a05b5e12d050667debc9d317a3facf4542b [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" "b1270a3ac21e53b74c8db2a4321c6a05b5e12d050667debc9d317a3facf4542b", kill_on_drop: false }` [INFO] [stderr] Compiling rust-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/commands/echo.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | let message: String = params.iter().map(|x| x.as_ref()).collect(); [INFO] [stdout] | --^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 23 | let message: String = params.iter().map(|x| >::as_ref(x)).collect(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 23 | let message: String = params.iter().map(|x| >::as_ref(x)).collect(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 23 | let message: String = params.iter().map(|x| >::as_ref(x)).collect(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 23 | let message: String = params.iter().map(|x| >::as_ref(x)).collect(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/commands/echo.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | let message: String = params.iter().map(|x| x.as_ref()).collect(); [INFO] [stdout] | ^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: FromIterator<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<'a> FromIterator<&'a char> for String; [INFO] [stdout] - impl<'a> FromIterator<&'a str> for String; [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 23 | let message: String = params.iter().map::(|x| x.as_ref()).collect(); [INFO] [stdout] | ++++++++ [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 23 | let message: String = params.iter().map(|x| x.as_ref()).collect::(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-shell` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b1270a3ac21e53b74c8db2a4321c6a05b5e12d050667debc9d317a3facf4542b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1270a3ac21e53b74c8db2a4321c6a05b5e12d050667debc9d317a3facf4542b", kill_on_drop: false }` [INFO] [stdout] b1270a3ac21e53b74c8db2a4321c6a05b5e12d050667debc9d317a3facf4542b