[INFO] cloning repository https://github.com/parth-shel/pshell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parth-shel/pshell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparth-shel%2Fpshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparth-shel%2Fpshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5faed515e703066f8865f0287fdca770bc4f0aa7 [INFO] testing parth-shel/pshell against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparth-shel%2Fpshell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/parth-shel/pshell [INFO] finished tweaking git repo https://github.com/parth-shel/pshell [INFO] tweaked toml for git repo https://github.com/parth-shel/pshell written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/parth-shel/pshell on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/parth-shel/pshell 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v2.1.0 [INFO] [stderr] Downloaded utf8parse v0.1.0 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded cc v1.0.23 [INFO] [stderr] Downloaded commands v0.0.5 [INFO] [stderr] Downloaded dirs v1.0.3 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded log v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d3375eb7edaf9676b330abb5b6e03007f44358f8478ee20fb5719616ffe494e [INFO] running `Command { std: "docker" "start" "-a" "7d3375eb7edaf9676b330abb5b6e03007f44358f8478ee20fb5719616ffe494e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d3375eb7edaf9676b330abb5b6e03007f44358f8478ee20fb5719616ffe494e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3375eb7edaf9676b330abb5b6e03007f44358f8478ee20fb5719616ffe494e", kill_on_drop: false }` [INFO] [stdout] 7d3375eb7edaf9676b330abb5b6e03007f44358f8478ee20fb5719616ffe494e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9430d99f4852f14c553ea6af0a8322d1a48e69dea099cb60a41fb1e2caf1a58c [INFO] running `Command { std: "docker" "start" "-a" "9430d99f4852f14c553ea6af0a8322d1a48e69dea099cb60a41fb1e2caf1a58c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling utf8parse v0.1.0 [INFO] [stderr] Compiling commands v0.0.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling dirs v1.0.3 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling rustyline v2.1.0 [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustyline-2.1.0/src/history.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | self.add(try!(line).as_ref()); // TODO truncate to MAX_LINE [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` [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] 150 | self.add::<&T>(try!(line).as_ref()); // TODO truncate to MAX_LINE [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustyline-2.1.0/src/history.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | self.add(try!(line).as_ref()); // TODO truncate to MAX_LINE [INFO] [stdout] | ^^^ cannot infer type of the type parameter `S` declared on the method `add` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `alloc`, `core`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&P` to implement `AsRef` [INFO] [stdout] note: required by a bound in `History::add` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustyline-2.1.0/src/history.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add + Into>(&mut self, line: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `History::add` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 150 | self.add::<&T>(try!(line).as_ref()); // TODO truncate to MAX_LINE [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustyline-2.1.0/src/lib.rs:639:20 [INFO] [stdout] | [INFO] [stdout] 639 | editor.add_history_entry(line.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] 639 | editor.add_history_entry::<&T>(line.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustyline-2.1.0/src/lib.rs:639:20 [INFO] [stdout] | [INFO] [stdout] 639 | editor.add_history_entry(line.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`: [INFO] [stdout] - impl AsRef for String; [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-1949cf8c6b5b557f/rustyline-2.1.0/src/lib.rs:750:33 [INFO] [stdout] | [INFO] [stdout] 750 | 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] 639 | editor.add_history_entry::<&T>(line.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyline` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9430d99f4852f14c553ea6af0a8322d1a48e69dea099cb60a41fb1e2caf1a58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9430d99f4852f14c553ea6af0a8322d1a48e69dea099cb60a41fb1e2caf1a58c", kill_on_drop: false }` [INFO] [stdout] 9430d99f4852f14c553ea6af0a8322d1a48e69dea099cb60a41fb1e2caf1a58c