[INFO] fetching crate red-editor 0.2.1... [INFO] testing red-editor-0.2.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate red-editor 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate red-editor 0.2.1 [INFO] finished tweaking crates.io crate red-editor 0.2.1 [INFO] tweaked toml for crates.io crate red-editor 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate red-editor 0.2.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.10) [INFO] [stderr] Adding rustyline v2.1.0 (available: v18.0.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded rustyline v2.1.0 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4e208c01901dd3ff9440d5a1761757881be0fee43b9999d13098ae7b946743 [INFO] running `Command { std: "docker" "start" "-a" "7d4e208c01901dd3ff9440d5a1761757881be0fee43b9999d13098ae7b946743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4e208c01901dd3ff9440d5a1761757881be0fee43b9999d13098ae7b946743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4e208c01901dd3ff9440d5a1761757881be0fee43b9999d13098ae7b946743", kill_on_drop: false }` [INFO] [stdout] 7d4e208c01901dd3ff9440d5a1761757881be0fee43b9999d13098ae7b946743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8df8b6ed864fb4daf59f701ed182fad9cb6c6f2bc3d25de007b9c6f92e493a9 [INFO] running `Command { std: "docker" "start" "-a" "f8df8b6ed864fb4daf59f701ed182fad9cb6c6f2bc3d25de007b9c6f92e493a9", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rustyline v2.1.0 [INFO] [stderr] Compiling structopt v0.2.18 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f8df8b6ed864fb4daf59f701ed182fad9cb6c6f2bc3d25de007b9c6f92e493a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8df8b6ed864fb4daf59f701ed182fad9cb6c6f2bc3d25de007b9c6f92e493a9", kill_on_drop: false }` [INFO] [stdout] f8df8b6ed864fb4daf59f701ed182fad9cb6c6f2bc3d25de007b9c6f92e493a9