[INFO] cloning repository https://github.com/mthadley/rclac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mthadley/rclac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthadley%2Frclac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthadley%2Frclac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55cb23dabd6261c2d0751b7921e496d1472a0117 [INFO] checking mthadley/rclac/55cb23dabd6261c2d0751b7921e496d1472a0117 against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthadley%2Frclac" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mthadley/rclac [INFO] finished tweaking git repo https://github.com/mthadley/rclac [INFO] tweaked toml for git repo https://github.com/mthadley/rclac written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mthadley/rclac on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mthadley/rclac 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" "+42f4793e5a514858221b07ac379029d90353913e" "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 git repository `https://github.com/mthadley/rustyline` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30ae18c07560eab9304fc5fe327891e4e8e57cda32d83de038274c2fae039034 [INFO] running `Command { std: "docker" "start" "-a" "30ae18c07560eab9304fc5fe327891e4e8e57cda32d83de038274c2fae039034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30ae18c07560eab9304fc5fe327891e4e8e57cda32d83de038274c2fae039034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ae18c07560eab9304fc5fe327891e4e8e57cda32d83de038274c2fae039034", kill_on_drop: false }` [INFO] [stdout] 30ae18c07560eab9304fc5fe327891e4e8e57cda32d83de038274c2fae039034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019624f8fc154441c840023dfa7d2abb0be570917cc4579935dc1cfaf6fcbeb2 [INFO] running `Command { std: "docker" "start" "-a" "019624f8fc154441c840023dfa7d2abb0be570917cc4579935dc1cfaf6fcbeb2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking rustyline v1.0.0 (https://github.com/mthadley/rustyline?branch=hints#3030e33e) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/history.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | 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] 132 | 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/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/history.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | 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`, `encode_unicode`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for Utf8Char; [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/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/history.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 132 | 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/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/lib.rs:1185:29 [INFO] [stdout] | [INFO] [stdout] 1185 | self.editor.add_history_entry(l.as_ref()); // TODO Validate [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] 1185 | self.editor.add_history_entry::<&T>(l.as_ref()); // TODO Validate [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/lib.rs:1185:29 [INFO] [stdout] | [INFO] [stdout] 1185 | self.editor.add_history_entry(l.as_ref()); // TODO Validate [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`, `encode_unicode`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for Utf8Char; [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/git/checkouts/rustyline-5cee908a2d985fd9/3030e33/src/lib.rs:1123:33 [INFO] [stdout] | [INFO] [stdout] 1123 | 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] 1185 | self.editor.add_history_entry::<&T>(l.as_ref()); // TODO Validate [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" "019624f8fc154441c840023dfa7d2abb0be570917cc4579935dc1cfaf6fcbeb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019624f8fc154441c840023dfa7d2abb0be570917cc4579935dc1cfaf6fcbeb2", kill_on_drop: false }` [INFO] [stdout] 019624f8fc154441c840023dfa7d2abb0be570917cc4579935dc1cfaf6fcbeb2