[INFO] cloning repository https://github.com/adeschene/rust_text-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adeschene/rust_text-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadeschene%2Frust_text-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadeschene%2Frust_text-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adfa8ac214f4fd6dea42616ea00a66724f8647c6 [INFO] checking adeschene/rust_text-game/adfa8ac214f4fd6dea42616ea00a66724f8647c6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadeschene%2Frust_text-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adeschene/rust_text-game on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adeschene/rust_text-game [INFO] finished tweaking git repo https://github.com/adeschene/rust_text-game [INFO] tweaked toml for git repo https://github.com/adeschene/rust_text-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adeschene/rust_text-game 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57f0226c9c6852b444c09d8e83b6118d2c34a9557ce19915cafc40ccd641c99c [INFO] running `Command { std: "docker" "start" "-a" "57f0226c9c6852b444c09d8e83b6118d2c34a9557ce19915cafc40ccd641c99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57f0226c9c6852b444c09d8e83b6118d2c34a9557ce19915cafc40ccd641c99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f0226c9c6852b444c09d8e83b6118d2c34a9557ce19915cafc40ccd641c99c", kill_on_drop: false }` [INFO] [stdout] 57f0226c9c6852b444c09d8e83b6118d2c34a9557ce19915cafc40ccd641c99c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c43fbbf5968081851baa1369b9b297e0326715c59c3343d8ec870ff092cf79 [INFO] running `Command { std: "docker" "start" "-a" "40c43fbbf5968081851baa1369b9b297e0326715c59c3343d8ec870ff092cf79", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking rust_text-game v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry(input.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `S` declared on the method `add_history_entry` [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: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry::<&T>(input.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry(input.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `S` declared on the method `add_history_entry` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `alloc`, `core`, `nix`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for nix::sys::signal::Signal; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Editor::::add_history_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustyline-4.1.0/src/lib.rs:765:33 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn add_history_entry + Into>(&mut self, line: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Editor::::add_history_entry` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry::<&T>(input.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry(input.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `S` declared on the method `add_history_entry` [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: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry::<&T>(input.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry(input.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `S` declared on the method `add_history_entry` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `alloc`, `core`, `nix`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for nix::sys::signal::Signal; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Editor::::add_history_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustyline-4.1.0/src/lib.rs:765:33 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn add_history_entry + Into>(&mut self, line: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Editor::::add_history_entry` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 75 | rl.add_history_entry::<&T>(input.as_ref()); [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] [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_text-game` (bin "rust_text-game") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_text-game` (bin "rust_text-game" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "40c43fbbf5968081851baa1369b9b297e0326715c59c3343d8ec870ff092cf79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c43fbbf5968081851baa1369b9b297e0326715c59c3343d8ec870ff092cf79", kill_on_drop: false }` [INFO] [stdout] 40c43fbbf5968081851baa1369b9b297e0326715c59c3343d8ec870ff092cf79