[INFO] fetching crate git-ref 0.24.1... [INFO] checking git-ref-0.24.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate git-ref 0.24.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate git-ref 0.24.1 [INFO] finished tweaking crates.io crate git-ref 0.24.1 [INFO] tweaked toml for crates.io crate git-ref 0.24.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-ref 0.24.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git-path v0.7.2 [INFO] [stderr] Downloaded git-hash v0.10.3 [INFO] [stderr] Downloaded git-object v0.26.2 [INFO] [stderr] Downloaded git-actor v0.17.2 [INFO] [stderr] Downloaded git-date v0.4.3 [INFO] [stderr] Downloaded git-validate v0.7.3 [INFO] [stderr] Downloaded git-tempfile v3.0.3 [INFO] [stderr] Downloaded git-features v0.26.5 [INFO] [stderr] Downloaded git-lock v3.0.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d648c6dcebd8abc8f8f63d169d98c25e5e597c1fca8161e0f19f376f5610d076 [INFO] running `Command { std: "docker" "start" "-a" "d648c6dcebd8abc8f8f63d169d98c25e5e597c1fca8161e0f19f376f5610d076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d648c6dcebd8abc8f8f63d169d98c25e5e597c1fca8161e0f19f376f5610d076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d648c6dcebd8abc8f8f63d169d98c25e5e597c1fca8161e0f19f376f5610d076", kill_on_drop: false }` [INFO] [stdout] d648c6dcebd8abc8f8f63d169d98c25e5e597c1fca8161e0f19f376f5610d076 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f4c21d1b5bcf8855ada7baa736b96c3de4e4962b70529dba9bfaea9810f5af [INFO] running `Command { std: "docker" "start" "-a" "e1f4c21d1b5bcf8855ada7baa736b96c3de4e4962b70529dba9bfaea9810f5af", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking git-tempfile v3.0.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking git-lock v3.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking git-hash v0.10.3 [INFO] [stderr] Checking git-validate v0.7.3 [INFO] [stderr] Checking git-path v0.7.2 [INFO] [stderr] Checking git-features v0.26.5 [INFO] [stderr] Checking git-date v0.4.3 [INFO] [stderr] Checking git-actor v0.17.2 [INFO] [stderr] Checking git-object v0.26.2 [INFO] [stderr] Checking git-ref v0.24.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `git_testtools` [INFO] [stdout] --> src/store/file/log/line.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use git_testtools::to_bstr_err; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `git_testtools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `git_testtools`, use `cargo add git_testtools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git_testtools` [INFO] [stdout] --> src/store/packed/decode/tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use git_testtools::to_bstr_err; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `git_testtools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `git_testtools`, use `cargo add git_testtools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied [INFO] [stdout] --> src/store/packed/find.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | .map(|(_rest, r)| r.name.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `BStr` implements `AsRef` [INFO] [stdout] `BStr` implements `AsRef<[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied [INFO] [stdout] --> src/store/packed/find.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | a.binary_search_by_key(&full_name.as_ref(), |b: &u8| { [INFO] [stdout] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `BStr` implements `AsRef` [INFO] [stdout] `BStr` implements `AsRef<[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: SlicePattern` [INFO] [stdout] = help: the following types implement trait `SlicePattern`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] note: required by a bound in `core::slice::::strip_prefix` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:2715:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix::

(category.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix::

(category.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 132 | } else if let Some(shortened) = name.strip_prefix::

(Category::MainPseudoRef.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 139 | name.strip_prefix::

(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/raw.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: SlicePattern` [INFO] [stdout] = help: the following types implement trait `SlicePattern`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] note: required by a bound in `core::slice::::strip_prefix` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:2715:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix::

(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/raw.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix::

(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-ref` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied [INFO] [stdout] --> src/store/packed/find.rs:95:52 [INFO] [stdout] | [INFO] [stdout] 95 | .map(|(_rest, r)| r.name.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `BStr` implements `AsRef` [INFO] [stdout] `BStr` implements `AsRef<[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied [INFO] [stdout] --> src/store/packed/find.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | a.binary_search_by_key(&full_name.as_ref(), |b: &u8| { [INFO] [stdout] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `BStr` implements `AsRef` [INFO] [stdout] `BStr` implements `AsRef<[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: SlicePattern` [INFO] [stdout] = help: the following types implement trait `SlicePattern`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] note: required by a bound in `core::slice::::strip_prefix` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:2715:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix::

(category.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(shortened) = name.strip_prefix::

(category.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 132 | } else if let Some(shortened) = name.strip_prefix::

(Category::MainPseudoRef.prefix().as_ref()) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fullname.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 139 | name.strip_prefix::

(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/raw.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: SlicePattern` [INFO] [stdout] = help: the following types implement trait `SlicePattern`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] note: required by a bound in `core::slice::::strip_prefix` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/slice/mod.rs:2715:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix::

(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/raw.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `P` declared on the method `strip_prefix` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate: [INFO] [stdout] - impl AsRef for BStr; [INFO] [stdout] - impl AsRef<[u8]> for BStr; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 76 | .strip_prefix::

(namespace.0.as_bstr().as_ref()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-ref` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "e1f4c21d1b5bcf8855ada7baa736b96c3de4e4962b70529dba9bfaea9810f5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f4c21d1b5bcf8855ada7baa736b96c3de4e4962b70529dba9bfaea9810f5af", kill_on_drop: false }` [INFO] [stdout] e1f4c21d1b5bcf8855ada7baa736b96c3de4e4962b70529dba9bfaea9810f5af