crates.io / arrayvec / 0.7.9

arrayvec 0.7.9

Source
https://github.com/bluss/arrayvec
Tag scanned
0.7.9
Compared with
0.7.8 (0 signals introduced since)
Files
17 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 14 info
Scan time
0.1 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.3.0
Scanned (UTC)
2026-12-01 02:27

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info unicode-homoglyph benches/arraystring.rs:24:27

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            v.clear();
            while v.try_push('α').is_ok() {
            }
            v.len()
  2. info unicode-homoglyph benches/arraystring.rs:34:18

    identifier `abcαβγ` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        let mut v = ArrayString::<512>::new();
        let input = "abcαβγ“”";
        b.iter(|| {
            v.clear();
  3. info unicode-mixed-script benches/arraystring.rs:34:18

    identifier `abcαβγ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        let mut v = ArrayString::<512>::new();
        let input = "abcαβγ“”";
        b.iter(|| {
            v.clear();
  4. info unicode-homoglyph benches/arraystring.rs:64:21

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            while !v.is_full() {
                v.push('α');
            }
            v.len()
  5. info unicode-homoglyph benches/arraystring.rs:73:18

    identifier `abcαβγ` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        let mut v = ArrayString::<512>::new();
        let input = "abcαβγ“”";
        b.iter(|| {
            v.clear();
  6. info unicode-mixed-script benches/arraystring.rs:73:18

    identifier `abcαβγ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        let mut v = ArrayString::<512>::new();
        let input = "abcαβγ“”";
        b.iter(|| {
            v.clear();
  7. info unicode-homoglyph src/char.rs:82:24

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        let mut data = [0u8; 16];
        let chars = ['a', 'α', '�', '𐍈'];
        for (len, &ch) in (1..=4).zip(&chars) {
            assert_eq!(len, ch.len_utf8(), "Len of ch={}", ch);
  8. info whitespace-anomaly tests/tests.rs:14:1

    file mixes tab and space indentation (1 tab-indented and 535 space-indented lines) (raw pass, confidence 0.40)

    fn test_simple() {
        use std::ops::Add;
    
        let mut vec: ArrayVec<Vec<i32>,  3> = ArrayVec::new();
  9. info unicode-homoglyph tests/tests.rs:653:17

    identifier `abcαβγ` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

    fn test_string_push() {
        let text = "abcαβγ";
        let mut s = ArrayString::<8>::new();
        for c in text.chars() {
  10. info unicode-mixed-script tests/tests.rs:653:17

    identifier `abcαβγ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

    fn test_string_push() {
        let text = "abcαβγ";
        let mut s = ArrayString::<8>::new();
        for c in text.chars() {
  11. info unicode-homoglyph tests/tests.rs:660:17

    identifier `abcαβ` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        }
        assert_eq!("abcαβ", &s[..]);
        s.push('x');
        assert_eq!("abcαβx", &s[..]);
  12. info unicode-mixed-script tests/tests.rs:660:17

    identifier `abcαβ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        }
        assert_eq!("abcαβ", &s[..]);
        s.push('x');
        assert_eq!("abcαβx", &s[..]);
  13. info unicode-homoglyph tests/tests.rs:662:17

    identifier `abcαβx` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        s.push('x');
        assert_eq!("abcαβx", &s[..]);
        assert!(s.try_push('x').is_err());
    }
  14. info unicode-mixed-script tests/tests.rs:662:17

    identifier `abcαβx` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        s.push('x');
        assert_eq!("abcαβx", &s[..]);
        assert!(s.try_push('x').is_err());
    }

Reproduce This Scan

Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
git clone https://github.com/bluss/arrayvec arrayvec && cd arrayvec
git checkout 0.7.9
disclude scan --untrusted --severity info --diff 0.7.8 .